Re: [PATCH v2 07/15] tools lib traceevent: Optimize pretty_print() function

From: Steven Rostedt
Date: Tue Jul 07 2020 - 11:31:47 EST


On Wed, 8 Jul 2020 00:11:10 +0900
Namhyung Kim <namhyung@xxxxxxxxxx> wrote:

> > --- a/tools/lib/traceevent/event-parse-local.h
> > +++ b/tools/lib/traceevent/event-parse-local.h
> > @@ -85,6 +85,23 @@ struct tep_handle {
> > struct tep_plugins_dir *plugins_dir;
> > };
> >
> > +enum tep_print_parse_type {
> > + PRINT_FMT_STING,
>
> STRING ?

Nice catch! ;-)

-- Steve

>
> > + PRINT_FMT_ARG_DIGIT,
> > + PRINT_FMT_ARG_POINTER,
> > + PRINT_FMT_ARG_STRING,