diff --git a/[refs] b/[refs] index 23b2501bebd5..81254d281d7a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 449a66fd1fa75d36dca917704827c40c8f416bca +refs/heads/master: 94692349c4fc1bc74c19a28f9379509361a06a3b 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;