Re: [RFC PATCH 0/2] libtraceevent/perf: Add support for trace-cmdplugins

From: Steven Rostedt
Date: Tue Jun 19 2012 - 10:44:09 EST


On Tue, 2012-06-19 at 23:39 +0900, Namhyung Kim wrote:
> On Tue, 19 Jun 2012 07:54:42 -0400, Steven Rostedt wrote:
> > We could simply check if all the characters in the array passes
> > 'isprint()' and if it does then print the string, otherwise print the
> > hex. Do this for all events, and if it one fails, then mark it always to
> > print hex.
> >
>
> Ok, checking it at parse time is not possible because we cannot access
> to its data. You meant something like this?
>

Exactly!

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/