common/vsprintf: Add %ps and %pS format specifier support
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Nov 2013 10:09:12 +0000 (11:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 12 Nov 2013 10:09:12 +0000 (11:09 +0100)
commit9f6c545af9d2f031b6a29905a2508fff9dce6c71
tree9436c68eef97ba489a69cd2f1ab2b63d48b04e26
parentd41b853cc7e86fe6007b337d0b26accce0dcbefc
common/vsprintf: Add %ps and %pS format specifier support

Introduce the %ps and %pS format options for printing a symbol.

  %ps will print the symbol name and optional offset and size
  %pS will print the symbol name and unconditional offset and size

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
docs/misc/printk-formats.txt [new file with mode: 0644]
xen/common/vsprintf.c