diff options
| author | Ian Rogers <irogers@google.com> | 2025-11-07 09:07:12 -0800 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-11-07 13:25:05 -0800 |
| commit | 6331b266935916bf050149a55bfafb45aa3d9d9e (patch) | |
| tree | f241a1c95c649620f79da831823d5fe739b41016 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 71062e282d6a662b75df9aff65702455563ff7c9 (diff) | |
| download | linux-6331b266935916bf050149a55bfafb45aa3d9d9e.tar.gz linux-6331b266935916bf050149a55bfafb45aa3d9d9e.zip | |
perf tool: Add a delegate_tool that just delegates actions to another tool
Add an ability to be able to compose perf_tools, by having one perform
an action and then calling a delegate. Currently the perf_tools have
if-then-elses setting the callback and then if-then-elses within the
callback. Understanding the behavior is complex as it is in two places
and logic for numerous operations, within things like perf inject, is
interwoven. By chaining perf_tools together based on command line
options this kind of code can be avoided.
Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
