[PATCH 0/4 perf-tools-next] perf ftrace latency linear buckets
From: Arnaldo Carvalho de Melo
Date: Tue Nov 12 2024 - 17:23:06 EST
From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Hi,
Gabriele has been using 'perf ftrace latency' in some
investigations at work and wanted to have an alternative way of
populating the buckets, so we came up with this series, please take a
look at the examples provided in the changesets.
Thanks,
- Arnaldo
Arnaldo Carvalho de Melo (3):
perf ftrace latency: Pass ftrace pointer to histogram routines to pass more args
perf ftrace latency: Introduce --bucket-range to ask for linear bucketing
perf ftrace latency: Introduce --min-latency to narrow down into a latency range
Gabriele Monaco (1):
perf ftrace latency: Add --max-latency option
tools/perf/Documentation/perf-ftrace.txt | 11 ++
tools/perf/builtin-ftrace.c | 131 ++++++++++++++++----
tools/perf/util/bpf_ftrace.c | 3 +
tools/perf/util/bpf_skel/func_latency.bpf.c | 26 +++-
tools/perf/util/ftrace.h | 3 +
5 files changed, 150 insertions(+), 24 deletions(-)
--
2.47.0