[ovs-dev] [PATCH] ofproto-dpif: Print register values in trace.
Ben Pfaff
blp at nicira.com
Fri Aug 12 22:26:24 UTC 2011
On Fri, Aug 12, 2011 at 03:22:52PM -0700, Ethan Jackson wrote:
> I found this patch useful in tracking down a bug recently.
Good idea.
Regs have type uint32_t so the right format specifier is "%"PRIx32 (not
%x).
I think you probably don't want to make it print trailing white space in
case we ever want to put the full output into a test case.
Otherwise looks good, thank you.
More information about the dev
mailing list