aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.l
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/parse-events.l')
-rw-r--r--tools/perf/util/parse-events.l5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/util/parse-events.l b/tools/perf/util/parse-events.l
index 09e738fe9ea2..13cef3c65565 100644
--- a/tools/perf/util/parse-events.l
+++ b/tools/perf/util/parse-events.l
@@ -119,8 +119,8 @@ event [^,{}/]+
119num_dec [0-9]+ 119num_dec [0-9]+
120num_hex 0x[a-fA-F0-9]+ 120num_hex 0x[a-fA-F0-9]+
121num_raw_hex [a-fA-F0-9]+ 121num_raw_hex [a-fA-F0-9]+
122name [a-zA-Z_*?][a-zA-Z0-9_*?]* 122name [a-zA-Z_*?][a-zA-Z0-9_*?.]*
123name_minus [a-zA-Z_*?][a-zA-Z0-9\-_*?]* 123name_minus [a-zA-Z_*?][a-zA-Z0-9\-_*?.]*
124/* If you add a modifier you need to update check_modifier() */ 124/* If you add a modifier you need to update check_modifier() */
125modifier_event [ukhpGHSDI]+ 125modifier_event [ukhpGHSDI]+
126modifier_bp [rwx]{1,3} 126modifier_bp [rwx]{1,3}
@@ -165,7 +165,6 @@ modifier_bp [rwx]{1,3}
165 return PE_EVENT_NAME; 165 return PE_EVENT_NAME;
166 } 166 }
167 167
168. |
169<<EOF>> { 168<<EOF>> {
170 BEGIN(INITIAL); 169 BEGIN(INITIAL);
171 REWIND(0); 170 REWIND(0);