diff options
author | Namhyung Kim <namhyung@kernel.org> | 2024-08-16 16:58:33 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-08-19 11:36:41 -0300 |
commit | 976862f8abefafc42a27fff4c0e5d56cfc8d8ef4 (patch) | |
tree | 6503a9588bf69701372ae01a28483d54d5b09aa9 /tools/perf/util/tsc.h | |
parent | 3ab0b8b238b5130ae3fa37ddaa329fc0e93b6b9a (diff) |
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>
Diffstat (limited to 'tools/perf/util/tsc.h')
0 files changed, 0 insertions, 0 deletions