Skip to content
Snippets Groups Projects
  1. Jul 10, 2008
  2. Jul 09, 2008
  3. Jul 08, 2008
  4. Jul 07, 2008
  5. Jul 06, 2008
    • Linus Torvalds's avatar
      vsprintf: add support for '%pS' and '%pF' pointer formats · 0fe1ef24
      Linus Torvalds authored
      
      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: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      0fe1ef24
Loading