summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-07-22 21:59:46 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-07-27 17:13:08 -0700
commitae89153d5e50d22e04a084829f74dc5a9ae6eb6d (patch)
tree4009d68e04bf0c9bf2259e98b051420685064be1 /tools/perf/scripts/python/parallel-perf.py
parent08b0cd02e91d4602e8224c301b47c9d670a04c0d (diff)
perf ui hists: In report UI ensure thread is set with reference counting
Populates the map_symbol thread in the UI code to fix the e_machine lookup for cross-platform disassembly when using the annotate action. At the same time, refactor the UI options and actions generation to comply with the perf subsystem's strict reference counting abstraction requirements for 'struct map_symbol' and 'struct thread'. Introduce explicit reference acquiring via map_symbol__copy() and thread__get() for menu items, safely clean them up between menu iterations using a new free_popup_actions() helper, and utilize insulated temporary action variables for direct hotkey handler execution. Fixes: 0e26ba5a8774 ("perf disasm: Refactor arch__find and initialization of arch structs") Reported-by: Josh Stone <jistone@redhat.com> Assisted-by: Antigravity:gemini-3.5-flash Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions