]> Git Repo - linux.git/commit
perf tools: Introduce opt_event_config nonterminal
authorArnaldo Carvalho de Melo <[email protected]>
Fri, 19 Feb 2016 21:45:12 +0000 (18:45 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 19 Feb 2016 22:12:50 +0000 (19:12 -0300)
commit1d55e8ef340dad1ccd5aaf53071de41fc3d8dba4
tree6c7e4c8bd38dafb6648f30fcbeae8ed70a07dd60
parente814fddde18fec43fa41a27ae94c09b54772697e
perf tools: Introduce opt_event_config nonterminal

To remove duplicated code that differs only in using the matching
'/a,b,c/' part or NULL if no event configuration is done ('//' or no
pair of slashes at all).

Will be used by some new targets allowing the configuration of hardware
events, etc.

Lifted part of the 'opt_event_config' nonterminal from a patch by Wang
Nan.

Cc: Adrian Hunter <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Brendan Gregg <[email protected]>
Cc: Cody P Schafer <[email protected]>
Cc: He Kuang <[email protected]>
Cc: Jeremie Galarneau <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kirill Smelkov <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Zefan Li <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/parse-events.y
This page took 0.048983 seconds and 4 git commands to generate.