summaryrefslogtreecommitdiff
path: root/tools/perf/python
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2025-08-16 06:16:35 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-09-02 23:14:00 +0300
commit1086237f0a91c7e70eede1bc83ce54f521db64b0 (patch)
tree8333fe95570f9a70424808cb2a8836991034bfb8 /tools/perf/python
parent53a61a6ca279165dd51f4e3bb5f8b11544915138 (diff)
downloadlinux-1086237f0a91c7e70eede1bc83ce54f521db64b0.tar.xz
perf annotate: Use a hashmap to save type data
It can slowdown annotation browser if objdump is processing large DWARF data. Let's add a hashmap to save the data type info for each line. Note that this is needed for TUI only because stdio only processes each line once. TUI will display the same line whenever it refreshes the screen. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250816031635.25318-13-namhyung@kernel.org [ Add lines around an if block and use zfree() in one case, acked by Namhyung ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/python')
0 files changed, 0 insertions, 0 deletions