diff options
| author | Namhyung Kim <[email protected]> | 2024-08-21 06:54:06 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-21 14:27:18 +0000 |
| commit | 922ec313f061cf75157d8e93fe16bc6397f6ea25 (patch) | |
| tree | c196c1d3f3a1f09a2edf4122435fdf166d83b42b /tools/perf/util/annotate-data.c | |
| parent | perf cap: Tidy up and improve capability testing (diff) | |
| download | kernel-922ec313f061cf75157d8e93fe16bc6397f6ea25.tar.gz kernel-922ec313f061cf75157d8e93fe16bc6397f6ea25.zip | |
perf annotate-data: Fix missing constant copy
I found it missed to copy the immediate constant when it moves the
register value. This could result in a wrong type inference since the
address for the per-cpu variable would be 0 always.
Fixes: eb9190afaed6afd5 ("perf annotate-data: Handle ADD instructions")
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Athira Rajeev <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions
