perf tool jit profiling broken 20.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The following kernel commit:
[babd04386b1df8
introduced a bug in perf that causes samples to be attributed to the wrong instructions in
the annotated assembly output of `perf report` and `perf annotate`.
The following commit:
[89b15d00527b78
fixes the bug. Can it be backported to 20.04 and wherever else it's needed? The output looks very
confusing when parts of the code one expects to accumulate ticks don't and other parts
that shouldn't be executed at all accumulate ticks.
The above patch depends on parts of d6e6a27d960f9f0
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 2020197
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.