diff options
| author | Namhyung Kim <[email protected]> | 2023-11-03 19:19:04 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-09 16:49:33 +0000 |
| commit | b7f87e32590bf48eca84f729d3422be7b8dc22d3 (patch) | |
| tree | d7d794499a6f7e81d35775313102381ef2a480f9 /tools/perf/ui/browsers/annotate.c | |
| parent | perf annotate: Split branch stack cycles information out of 'struct annotatio... (diff) | |
| download | kernel-b7f87e32590bf48eca84f729d3422be7b8dc22d3.tar.gz kernel-b7f87e32590bf48eca84f729d3422be7b8dc22d3.zip | |
perf annotate: Split branch stack cycles info from 'struct annotation'
The cycles info is only meaningful when sample has branch stacks. To
save the memory for normal cases, move those fields to a new 'struct
annotated_branch' and dynamically allocate it when needed. Also move
cycles_hist from annotated_source as it's related here.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Christophe JAILLET <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[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/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions
