]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf annotate-data: Add 'enum type_match_result'
authorNamhyung Kim <namhyung@kernel.org>
Fri, 16 Aug 2024 23:58:33 +0000 (16:58 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Aug 2024 14:36:41 +0000 (11:36 -0300)
commit976862f8abefafc42a27fff4c0e5d56cfc8d8ef4
tree6503a9588bf69701372ae01a28483d54d5b09aa9
parent3ab0b8b238b5130ae3fa37ddaa329fc0e93b6b9a
perf annotate-data: Add 'enum type_match_result'

And let check_variable() return the enum value so that callers can know
what was the problem.  This will be used by the later patch to update
the statistics correctly and print the error message in a right place.

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-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate-data.c