Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338972
b: refs/heads/master
c: eef9ba9
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Arnaldo Carvalho de Melo committed Nov 8, 2012
1 parent db4e4ad commit 62904a9
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 1fa0bc3f8d4f9bbcde5b1f962b006906cc80b2dc
refs/heads/master: eef9ba98b9ee96f52e544b09f581c397d8cc8265
2 changes: 2 additions & 0 deletions trunk/tools/perf/util/parse-events.l
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ num_dec [0-9]+
num_hex 0x[a-fA-F0-9]+
num_raw_hex [a-fA-F0-9]+
name [a-zA-Z_*?][a-zA-Z0-9_*?]*
name_minus [a-zA-Z_*?][a-zA-Z0-9\-_*?]*
modifier_event [ukhpGH]{1,8}
modifier_bp [rwx]{1,3}

Expand Down Expand Up @@ -168,6 +169,7 @@ period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); }
, { return ','; }
"/" { BEGIN(INITIAL); return '/'; }
{name_minus} { return str(yyscanner, PE_NAME); }
}

mem: { BEGIN(mem); return PE_PREFIX_MEM; }
Expand Down

0 comments on commit 62904a9

Please sign in to comment.