diff options
author | Namhyung Kim <[email protected]> | 2011-03-24 11:42:29 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-03-24 08:36:10 +0100 |
commit | 0f77a8d378254f27df4a114a5da67223af1fe93f (patch) | |
tree | edc37c211adce744100d4776e4a28fb868c8b3c0 /drivers/pci/hotplug/ibmphp_pci.c | |
parent | dec2960827c85253d76938dbfa909df3be34958b (diff) |
vsprintf: Introduce %pB format specifier
The %pB format specifier is for stack backtrace. Its handler
sprint_backtrace() does symbol lookup using (address-1) to
ensure the address will not point outside of the function.
If there is a tail-call to the function marked "noreturn",
gcc optimized out the code after the call then causes saved
return address points outside of the function (i.e. the start
of the next function), so pollutes call trace somewhat.
This patch adds the %pB printk mechanism that allows architecture
call-trace printout functions to improve backtrace printouts.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Steven Rostedt <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/pci/hotplug/ibmphp_pci.c')
0 files changed, 0 insertions, 0 deletions