Messages in this thread | | | Subject | Re: [RFC PATCH 0/2] libtraceevent/perf: Add support for trace-cmd plugins | From | Steven Rostedt <> | Date | Tue, 19 Jun 2012 10:44:12 -0400 |
| |
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
| |