diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-02-13 10:08:14 +0100 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2025-02-17 22:00:50 -0800 |
| commit | f13bc61b2e37957bf6e693ab5650d93fd21523f4 (patch) | |
| tree | 4a38f76d74609dc76aa45e4c33bff6421cf04198 /tools/perf/builtin-report.c | |
| parent | perf tools: Fix compile error on sample->user_regs (diff) | |
| download | linux-f13bc61b2e37957bf6e693ab5650d93fd21523f4.tar.gz linux-f13bc61b2e37957bf6e693ab5650d93fd21523f4.zip | |
perf report: Add machine parallelism
Add calculation of the current parallelism level (number of threads actively
running on CPUs). The parallelism level can be shown in reports on its own,
and to calculate latency overheads.
Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Link: https://lore.kernel.org/r/0f8c1b8eb12619029e31b3d5c0346f4616a5aeda.1739437531.git.dvyukov@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/builtin-report.c')
| -rw-r--r-- | tools/perf/builtin-report.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index f5fbd670d619..0d9bd090eda7 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c @@ -1568,6 +1568,7 @@ repeat: report.tool.cgroup = perf_event__process_cgroup; report.tool.exit = perf_event__process_exit; report.tool.fork = perf_event__process_fork; + report.tool.context_switch = perf_event__process_switch; report.tool.lost = perf_event__process_lost; report.tool.read = process_read_event; report.tool.attr = process_attr; |
