aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2020-09-24 21:44:51 +0900
committerArnaldo Carvalho de Melo <[email protected]>2020-09-28 08:55:48 -0300
commit7fedd9b84bf8288ccb7a88aadedffdc9221f31e6 (patch)
tree4f1ddd38c4b2aa528d49e5545be6d056fdb08428 /tools/perf/scripts/python/bin
parentb5ff7f2799a4191eb9d91479db59c855ddeaf81e (diff)
perf evsel: Add evsel__clone() function
The evsel__clone() is to create an exactly same evsel from same attributes. The function assumes the given evsel is not configured yet so it cares fields set during event parsing. Those fields are now moved together as Jiri suggested. Note that metric events will be handled by later patch. It will be used by perf stat to generate separate events for each cgroup. Signed-off-by: Namhyung Kim <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[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/bin')
0 files changed, 0 insertions, 0 deletions