-
Notifications
You must be signed in to change notification settings - Fork 126
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
flamegraph does not contain sys_enter_* calls with params #308
Comments
Example
|
Oh interesting! This suggests we have a corner-case to handle in Lines 377 to 421 in 86131d4
I suspect it's actually not the arguments that are tripping us up here, but rather the Lines 377 to 380 in 86131d4
and then the remainder ( Lines 396 to 408 in 86131d4
I'm somewhat short on time these days, so waiting for me to take a look at fixing this would probably take some time, but if you want to take a stab at adding a test case, tracing through the code here to figure out where it gets confused, and then submit a PR with a fix, I'd be happy to try and help guide you through! |
I will give it a go, but I write Java most of the time. I have already been looking into the code base, but reading Rust is quite hard to me. Anyhow, I think it should be easy to fix it after one is familiar with the code base. |
Version
Inferno 0.11.18
Issue
When using Inferno to process sampled
perf script
output, some stacktraces a missing in a generated flamegraph.svgThe generated flamegraph only contains sys calls without any parameters. For example:
File: out
This calls are visible in the flamegraph. On the contrary following entries are missing in the flamegraph.
Output: inferno-collapse-perf
perf script
inferno-collapse-perf
Perf
FlameGraph
Seems like FlameGraph by Brendan Gregg is able to pars
perf script
properly./stackcollapse-perf.pl
./flamegraph.pl
.The text was updated successfully, but these errors were encountered: