diff --git a/[refs] b/[refs] index 5b4d30a32fac..e1c58d259919 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f29638868280534ed7e2fdd93b31557232597940 +refs/heads/master: af2d03d4aaa847ef41a229dfee098a47908437c6 diff --git a/trunk/tools/perf/util/parse-events.c b/trunk/tools/perf/util/parse-events.c index ffa493a24333..41982c373faf 100644 --- a/trunk/tools/perf/util/parse-events.c +++ b/trunk/tools/perf/util/parse-events.c @@ -734,6 +734,9 @@ parse_event_modifier(const char **strp, struct perf_event_attr *attr) if (!*str) return 0; + if (*str == ',') + return 0; + if (*str++ != ':') return -1;