This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/16616] the 'servername' convenience variable returned by the rpc tapset can be NULL
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Thu, 20 Feb 2014 23:22:32 +0000
- Subject: [Bug tapsets/16616] the 'servername' convenience variable returned by the rpc tapset can be NULL
- Auto-submitted: auto-generated
- References: <bug-16616-6586 at http dot sourceware dot org/bugzilla/>
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.