aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-04-03 15:19:47 -0300
committerArnaldo Carvalho de Melo <[email protected]>2018-04-03 15:22:55 -0300
commitb213eac245aa2d29a3b9dd90f3b96ab182337ee8 (patch)
treeb448fa46d69a64d6ff809a58eb95fdf000f3f48e /tools/perf/scripts/python
parentef9ff6017e3c4593f3efa5776784cb417c58ad6c (diff)
perf annotate: Introduce annotation__scnprintf_samples_period() method
To print a string using the total period (nr_events) and the number of samples for a given annotation, i.e. for a given symbol, the counterpart to hists__scnprintf_samples_period(), that is for all the samples in a session (be it a live session, think 'perf top' or a perf.data file, think 'perf report'). Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Martin Liška <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196935 Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions