diff options
author | Jiri Olsa <[email protected]> | 2019-10-07 14:53:33 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-10-10 12:57:22 -0300 |
commit | 696f27c994ed056fd176ce9dc51c7988e148e4b0 (patch) | |
tree | e00d4c27a00f056942dd47433705b7959ad35803 /tools/perf/scripts/python/stackcollapse.py | |
parent | 93dd6e2831ff399f7685aa2157b997b6392efac8 (diff) |
libperf: Introduce perf_evlist__purge()
Add a static perf_evlist__purge() function to purge evsels from a evlist.
Add also perf_evlist__for_each_entry_safe() which is used by
perf_evlist__purge().
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions