diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-12-12 16:13:16 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-12-23 22:39:42 -0300 |
commit | 4a111cadac85362ed9476737d7a36e8dd3a8e476 (patch) | |
tree | 0871d9a4cd21bd249b811fc3e41d638611a3af58 /tools/perf/util/annotate.c | |
parent | 81e57deec32594b124d777b1d3ca8a1415410230 (diff) | |
download | linux-4a111cadac85362ed9476737d7a36e8dd3a8e476.tar.gz linux-4a111cadac85362ed9476737d7a36e8dd3a8e476.tar.bz2 linux-4a111cadac85362ed9476737d7a36e8dd3a8e476.zip |
perf annotate-data: Add member field in the data type
Add child member field if the current type is a composite type like a
struct or union. The member fields are linked in the children list and
do the same recursively if the child itself is a composite type.
Add 'self' member to the annotated_data_type to handle the members in
the same way.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
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: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: linux-toolchains@vger.kernel.org
Cc: linux-trace-devel@vger.kernel.org
Link: https://lore.kernel.org/r/20231213001323.718046-11-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions