Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 245495
b: refs/heads/master
c: 9469234
h: refs/heads/master
i:
  245493: 10c4e77
  245491: 64317ad
  245487: 525d8c8
v: v3
  • Loading branch information
Stephane Eranian authored and Ingo Molnar committed May 17, 2011
1 parent b15d683 commit 294ca2e
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: 449a66fd1fa75d36dca917704827c40c8f416bca
refs/heads/master: 94692349c4fc1bc74c19a28f9379509361a06a3b
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 294ca2e

Please sign in to comment.