lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] event: fix TP_printk() argument in sched_switch
    Hi Steve,

    >
    > Can you try this patch on perf. It's untested (not even compiled tested)
    It looks like it works now. Thanks.
    >
    > -- Steve
    >
    > diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c
    > index 0a7ed5b..6c164dc 100644
    > --- a/tools/perf/util/trace-event-parse.c
    > +++ b/tools/perf/util/trace-event-parse.c
    > @@ -1537,6 +1537,8 @@ process_flags(struct event *event, struct print_arg *arg, char **tok)
    > field = malloc_or_die(sizeof(*field));
    >
    > type = process_arg(event, field,&token);
    > + while (type == EVENT_OP)
    > + type = process_op(event, field,&token);
    > if (test_type_token(type, token, EVENT_DELIM, ","))
    > goto out_free;
    >
    >
    >
    > --
    > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    > the body of a message to majordomo@vger.kernel.org
    > More majordomo info at http://vger.kernel.org/majordomo-info.html
    > Please read the FAQ at http://www.tux.org/lkml/



    \
     
     \ /
      Last update: 2011-11-03 22:39    [W:2.172 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site