git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf: Fix parsing of __print_flags() in TP_printk()
[pandora-kernel.git]
/
tools
/
perf
/
util
/
trace-event-parse.c
diff --git
a/tools/perf/util/trace-event-parse.c
b/tools/perf/util/trace-event-parse.c
index
1e88485
..
6c164dc
100644
(file)
--- 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);
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;
if (test_type_token(type, token, EVENT_DELIM, ","))
goto out_free;
@@
-2187,6
+2189,7
@@
static const struct flag flags[] = {
{ "TASKLET_SOFTIRQ", 6 },
{ "SCHED_SOFTIRQ", 7 },
{ "HRTIMER_SOFTIRQ", 8 },
{ "TASKLET_SOFTIRQ", 6 },
{ "SCHED_SOFTIRQ", 7 },
{ "HRTIMER_SOFTIRQ", 8 },
+ { "RCU_SOFTIRQ", 9 },
{ "HRTIMER_NORESTART", 0 },
{ "HRTIMER_RESTART", 1 },
{ "HRTIMER_NORESTART", 0 },
{ "HRTIMER_RESTART", 1 },