This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH 2/3] Modify %M directive to support variable width.
- From: Masami Hiramatsu <mhiramat at redhat dot com>
- To: Wenji Huang <wenji dot huang at oracle dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 24 Apr 2009 11:28:08 -0400
- Subject: Re: [PATCH 2/3] Modify %M directive to support variable width.
- References: <1240593816-31164-1-git-send-email-wenji.huang@oracle.com>
Wenji Huang wrote:
> diff --git a/testsuite/systemtap.printf/memory1.stp b/testsuite/systemtap.printf/memory1.stp
> index f9cbf60..93a4edf 100644
> --- a/testsuite/systemtap.printf/memory1.stp
> +++ b/testsuite/systemtap.printf/memory1.stp
> @@ -113,6 +113,20 @@ probe syscall.open {
> success = 0;
> }
>
> + expected_16_actual = sprintf (" %x%x%x%x%x%x",
> + chrofstr(filename, 0),
> + chrofstr(filename, 1),
> + chrofstr(filename, 2),
> + chrofstr(filename, 3),
> + chrofstr(filename, 4),
> + chrofstr(filename, 5));
Hmm, these should be %02x?
Thanks,
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com