aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2018-04-03 18:19:47 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-04-03 18:22:55 +0000
commitb213eac245aa2d29a3b9dd90f3b96ab182337ee8 (patch)
treeb448fa46d69a64d6ff809a58eb95fdf000f3f48e /tools/perf/ui/browsers/annotate.c
parentperf ui browser: Move the extra title lines from the hists browser (diff)
downloadkernel-b213eac245aa2d29a3b9dd90f3b96ab182337ee8.tar.gz
kernel-b213eac245aa2d29a3b9dd90f3b96ab182337ee8.zip
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/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions