diff options
author | Namhyung Kim <[email protected]> | 2024-05-01 23:00:07 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-05-02 10:47:52 -0300 |
commit | c1da8411e4be2a96a448979baede9a0e86c5baf8 (patch) | |
tree | 70a5168c82ef66d17d2208d9ce0c8e89d898f768 /tools/perf/scripts/python/gecko.py | |
parent | d7b60803a790b716dc930bde2155c6ecb7537d51 (diff) |
perf annotate-data: Collect global variables in advance
Currently it looks up global variables from the current CU using address
and name. But it sometimes fails to find a variable as the variable can
come from a different CU - but it's still strange it failed to find a
declaration for some reason.
Anyway, it can collect all global variables from all CU once and then
lookup them later on. This slightly improves the success rate of my
test data set.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[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/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions