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

Make collection of multiple PMU events available in CLI #27

Open
r-belenov opened this issue Feb 6, 2025 · 0 comments
Open

Make collection of multiple PMU events available in CLI #27

r-belenov opened this issue Feb 6, 2025 · 0 comments

Comments

@r-belenov
Copy link

r-belenov commented Feb 6, 2025

While Perforator engine supports collecting multiple events, from what I see command-line parsing code always returns array of one element. Also, the code that processes samples marks all of them as cpu:cycle (so I see only cpu:cycle regardless of the actual event). So it looks like current flow is focused on support of cycles only.

Probably collecting many events is out of scope of primary Perforator usage (continous profiling in production) due to higher overhead and no clear benefits. However, even for tuning the software locally Perforator approach looks promising - while the overhead is not so critical, the intrusiveness is, and collecting stacks with current perf or VTune frequently distorts sample distribution over hotspots; hopefully Perforator may work better.

Also, raw values for specific counters are not very useful, possible postprocessing approach is to save collected data in perf format - it should be possible to import it to VTune and use it as a visualization engine.

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

No branches or pull requests

1 participant