Skip to content

stackcollapse-perf.pl: Add an option to aggregate comm across cpus.#334

Open
cosminratiu wants to merge 2 commits intobrendangregg:masterfrom
cosminratiu:master
Open

stackcollapse-perf.pl: Add an option to aggregate comm across cpus.#334
cosminratiu wants to merge 2 commits intobrendangregg:masterfrom
cosminratiu:master

Conversation

@cosminratiu
Copy link
Copy Markdown

Samples produced by perf record can include process names that contain the cpu number in them. For example 'ksoftirqd/32', 'migration/16', etc.

Introduce an option called 'aggregate-comm' for replacing the numerical part with '/all' such that the stacks could be combined. This makes flamegraphs for perf records captured on many cpus more legible.

Cosmin Ratiu added 2 commits April 16, 2024 12:29
Samples produced by perf record can include process names that contain
the cpu number in them. For example 'ksoftirqd/32', 'migration/16', etc.

Introduce an option called 'aggregate-comm' for replacing the numerical
part with '/all' such that the stacks could be combined. This makes
flamegraphs for perf records captured on many cpus more legible.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Samples produced by perf record can include process names that contain
cpu-related suffixes in them. For example 'ksoftirqd/32', 'migration/16',
'kworker/u1025:1', etc.

Introduce an option called 'aggregate-comm' for replacing the suffix
with '/all' such that related stacks could be combined. This makes
flamegraphs for perf records captured on many cpus more legible.

Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant