summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2024-08-16 16:58:36 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-08-19 11:40:57 -0300
commit98d1f1dc72fd6e0e85db4acc0b2dd591f4488216 (patch)
treeb76705a9fe412227d17c28ba72676f8d86e42bd3 /tools/perf/scripts/python/stat-cpi.py
parent69e2c78425c92361f0ab01cbbb8f3a44fc94341f (diff)
perf annotate-data: Add is_pointer_type() helper
It treats pointers and arrays in the same way. Let's add the helper and use it when it checks if it needs a pointer. 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/20240816235840.2754937-7-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions