[Bug tapsets/16616] the 'servername' convenience variable returned by the rpc tapset can be NULL
jistone at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Feb 20 23:22:00 GMT 2014
https://sourceware.org/bugzilla/show_bug.cgi?id=16616
Josh Stone <jistone at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jistone at redhat dot com
--- Comment #1 from Josh Stone <jistone at redhat dot com> ---
(In reply to David Smith from comment #0)
> (And what is up with all the extra space in that '0x (null)' string?)
We use the kernel snprintf with "0x%p", which has this comment:
/*
* Print (null) with the same width as a pointer so it makes
* tabular output look nice.
*/
The default width is 2*sizeof(void*), and since we wrote "0x" ourselves, that
will show up no matter what.
If we want to be cleaner and/or more compact, we could try "%#1p" instead.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list