Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cosminratiu
Copy link

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 <[email protected]>
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 <[email protected]>
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