diff options
Diffstat (limited to 'tools/perf/util/parse-events.y')
-rw-r--r-- | tools/perf/util/parse-events.y | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/perf/util/parse-events.y b/tools/perf/util/parse-events.y index 126fad0a993..362cc59332a 100644 --- a/tools/perf/util/parse-events.y +++ b/tools/perf/util/parse-events.y | |||
@@ -237,6 +237,14 @@ PE_NAME | |||
237 | $$ = term; | 237 | $$ = term; |
238 | } | 238 | } |
239 | | | 239 | | |
240 | PE_TERM '=' PE_NAME | ||
241 | { | ||
242 | struct parse_events__term *term; | ||
243 | |||
244 | ABORT_ON(parse_events__term_str(&term, $1, NULL, $3)); | ||
245 | $$ = term; | ||
246 | } | ||
247 | | | ||
240 | PE_TERM '=' PE_VALUE | 248 | PE_TERM '=' PE_VALUE |
241 | { | 249 | { |
242 | struct parse_events__term *term; | 250 | struct parse_events__term *term; |