diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2020-04-27 13:58:11 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-05-05 16:35:29 -0300 |
commit | d0abbc3ce695437fe83446aef44b2f5ef65a80b9 (patch) | |
tree | e3611ddcfc0a99a2ef105ab0292887b090c622f2 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | b38d85ef49cf6af9d1deaaf01daf0986d47e6c7a (diff) |
perf parse-events: Add parse_events_option() variant that creates evlist
For the upcoming --switch-output-event option we want to create the side
band event, populate it with the specified events and then, if it is
present multiple times, go on adding to it, then, if the BPF tracking is
required, use the first event to set its attr.bpf_event to get those
PERF_RECORD_BPF_EVENT metadata events too.
Acked-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Song Liu <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions