diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-08-20 23:54:07 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-08-21 11:29:56 -0300 |
commit | 4a32a97268d304d5708f1212c4a4d0e1dd3246dd (patch) | |
tree | 602bc0c2b036b0a43df35d0e08f8a9c8186c7b54 /tools/perf/ui/browsers/annotate-data.c | |
parent | 922ec313f061cf75157d8e93fe16bc6397f6ea25 (diff) |
perf annotate-data: Prefer struct/union over base type
Sometimes a compound type can have a single field and the size is the
same as the base type. But it's still preferred as struct or union
could carry more information than the base type.
Also put a slight priority on the typedef for the same reason.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.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/20240821065408.285548-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/ui/browsers/annotate-data.c')
0 files changed, 0 insertions, 0 deletions