2011-06-08 02:39:40

by Wang YanQing

[permalink] [raw]
Subject: doc?

Hello, all!
Today when I look into dumpstack of x86,
I get %pB format specifier, and I don't
know what it is. But I can't find the information
from Documentation/printk-formats.txt. Yes, I
get the introduce from "git annotate and git log",
but I thinks It will be better if patches authors will
add some documentation, right?


2011-06-08 15:25:52

by Randy Dunlap

[permalink] [raw]
Subject: Re: doc?

On Wed, 8 Jun 2011 10:40:58 +0000 wangyanqing wrote:

> Hello, all!
> Today when I look into dumpstack of x86,
> I get %pB format specifier, and I don't
> know what it is. But I can't find the information
> from Documentation/printk-formats.txt. Yes, I
> get the introduce from "git annotate and git log",
> but I thinks It will be better if patches authors will
> add some documentation, right?
> --

It wouldn't hurt to add some docs, yes, but for now the %p
extensions are all documented in lib/vsprintf.c, just above
function pointer(), around line 802 in 3.0-rc2.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

2011-06-08 15:50:09

by Joe Perches

[permalink] [raw]
Subject: Re: doc?

On Wed, 2011-06-08 at 08:25 -0700, Randy Dunlap wrote:
> On Wed, 8 Jun 2011 10:40:58 +0000 wangyanqing wrote:
> > I can't find the information
> > from Documentation/printk-formats.txt.
> It wouldn't hurt to add some docs, yes, but for now the %p
> extensions are all documented in lib/vsprintf.c, just above
> function pointer(), around line 802 in 3.0-rc2.

Awhile back Andrew Murray proposed a patch.
Maybe he'll get back to it.

https://lkml.org/lkml/2011/2/5/212

2011-06-09 11:03:59

by Andrew Murray

[permalink] [raw]
Subject: Re: doc?

Hi Joe,

I have this and will post it tonight. Thanks for the prod.

Thanks,

Andrew Murray

On 8 June 2011 16:50, Joe Perches <[email protected]> wrote:
>
> On Wed, 2011-06-08 at 08:25 -0700, Randy Dunlap wrote:
> > On Wed, 8 Jun 2011 10:40:58 +0000 wangyanqing wrote:
> > > I can't find the information
> > > from Documentation/printk-formats.txt.
> > It wouldn't hurt to add some docs, yes, but for now the %p
> > extensions are all documented in lib/vsprintf.c, just above
> > function pointer(), around line 802 in 3.0-rc2.
>
> Awhile back Andrew Murray proposed a patch.
> Maybe he'll get back to it.
>
> https://lkml.org/lkml/2011/2/5/212
>
>



--
Andrew Murray, Embedded Linux Group
MPC Data Limited
e-mail: [email protected]  web: http://www.mpc-data.co.uk
tel: +44 (0) 1225 710600               fax: +44 (0) 1225 710601
ddi: +44 (0) 1225 710665

MPC Data Limited is a company registered in England and Wales with
company number 05507446
Registered Address: County Gate, County Way, Trowbridge, Wiltshire, BA14 7FJ
VAT no: 850625238

The information in this email and in the attached documents is
confidential and may be
legally privileged. Any unauthorized review, copying, disclosure or
distribution is
prohibited and may be unlawful. It is intended solely for the
addressee. Access to this
email by anyone else is unauthorized. If you are not the intended
recipient, please
contact the sender by reply email and destroy all copies of the
original message. When
addressed to our clients any opinions or advice contained in this
email is subject to
the terms and conditions expressed in the governing contract.