summaryrefslogtreecommitdiff
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-07 03:43:12 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-07 03:55:51 +0400
commit0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2 (patch)
tree0069dd9dba6554f74436ea1d836ecc054a6b95d7 /lib/genalloc.c
parent4d8a743cdd2690c0bc8d1b8cbd02cffb1ead849f (diff)
downloadlinux-0fe1ef24f7bd0020f29ffe287dfdb9ead33ca0b2.tar.xz
vsprintf: add support for '%pS' and '%pF' pointer formats
They print out a pointer in symbolic format, if possible (ie using symbolic KALLSYMS information). The '%pS' format is for regular direct pointers (which can point to data or code and that you find on the stack during backtraces etc), while '%pF' is for C function pointer types. On most architectures, the two mean exactly the same thing, but some architectures use an indirect pointer for C function pointers, where the function pointer points to a function descriptor (which in turn contains the actual pointer to the code). The '%pF' code automatically does the appropriate function descriptor dereference on such architectures. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions