Skip to contentSkip to conversation

doc?

DISCUSSION wangyanqing 4 participants 4 messages Jun 8, 2011 – Jun 9, 2011

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 9 lines · 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 ***

#2 lore raw
Quoted 6 lines · Randy Dunlap
Quoted 2 lines · 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

#3 lore raw

Hi Joe,

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

Thanks,

Andrew Murray

Quoted 5 lines · Joe Perches
Quoted 3 lines · Randy Dunlap
Quoted 2 lines · On Wed, 8 Jun 2011 10:40:58 +0000 wangyanqing wrote:

I can't find the information
from Documentation/printk-formats.txt.

Quoted 10 lines
Quoted 3 lines

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: 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.