diff options
| author | Namhyung Kim <[email protected]> | 2023-11-03 19:19:03 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-11-09 16:49:33 +0000 |
| commit | de2c7eb59c342d1a61124caaf2993e325a9becb7 (patch) | |
| tree | ae3b1874763837b79acd40a8fccf1ae03c3474dc /tools/perf/builtin-annotate.c | |
| parent | perf test: Simplify "object code reading" test (diff) | |
| download | kernel-de2c7eb59c342d1a61124caaf2993e325a9becb7.tar.gz kernel-de2c7eb59c342d1a61124caaf2993e325a9becb7.zip | |
perf annotate: Split branch stack cycles information out of 'struct annotation_line'
The cycles info is used only when branch stack is provided. Separate
them from 'struct annotation_line' into a separate struct and lazy
allocate them to save some memory.
Committer notes:
Make annotation__compute_ipc() check if the lazy allocation works,
bailing out if so, its callers already do error checking and
propagation.
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/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
