[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 3/7] common/vsprintf: Add %ps and %pS format specifier support



On Mon, 2013-11-04 at 21:30 +0000, Andrew Cooper wrote:
> +All parameters to a %p option should be enclosed with the _p() macro

For numerical arguments, sure. Why for things that are already pointers?

> +Symbol/Function pointers:
> +
> +       %ps     Symbol name only
> +       %pS     Symbol name + offset / function length

Perhaps give examples?

> +       In the case that an appropriate symbol name can't be found, %p[sS] 
> will
> +       fall back to '%p' and print the address in hex.

In the common case the hex value will already be printed previously, but
I suppose this is harmless.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.