Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245510
b: refs/heads/master
c: af2d03d
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed May 18, 2011
1 parent 531bcf5 commit 81f5812
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f29638868280534ed7e2fdd93b31557232597940
refs/heads/master: af2d03d4aaa847ef41a229dfee098a47908437c6
3 changes: 3 additions & 0 deletions trunk/tools/perf/util/parse-events.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 81f5812

Please sign in to comment.