aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-12-12 10:18:50 -0800
committerJiri Kosina <jkosina@suse.cz>2013-04-30 22:31:16 +0200
commitb0d33c2bd77bcf2d7c9427d2361ac57fe5b33aa1 (patch)
tree2acb72d0e39aee019cf8aecc917685b120e506a3 /COPYING
parentmm: Convert print_symbol to %pSR (diff)
downloadlinux-dev-b0d33c2bd77bcf2d7c9427d2361ac57fe5b33aa1.tar.xz
linux-dev-b0d33c2bd77bcf2d7c9427d2361ac57fe5b33aa1.zip
vsprintf: Add extension %pSR - print_symbol replacement
print_symbol takes a long and converts it to a function name and offset. %pS does something similar, but doesn't translate the address via __builtin_extract_return_addr. %pSR does the translation. This will enable replacing multiple calls like printk(...); printk_symbol(addr); printk("\n"); with a single non-interleavable in dmesg printk("... %pSR\n", (void *)addr); Update documentation too. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions