diff options
author | James Clark | 2024-03-01 13:38:29 +0000 |
---|---|---|
committer | Namhyung Kim | 2024-03-03 22:48:40 -0800 |
commit | 507ad2bde3573980f09cf78780169b4d4c772758 (patch) | |
tree | b68c8d6a6a6d49c89cc010baddcf0de7f5deb280 /tools/perf | |
parent | dd267d056fed323f1684fa52d2a864fc93ca3be0 (diff) |
perf version: Display availability of OpenCSD support
This is useful for scripts that work with Perf and ETM trace. Rather
than them trying to parse Perf's error output at runtime to see if it
was linked or not.
Signed-off-by: James Clark <james.clark@arm.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Cc: al.grant@arm.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240301133829.346286-1-james.clark@arm.com
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-version.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c index 1bafe5855ae7..398aa53e9e2e 100644 --- a/tools/perf/builtin-version.c +++ b/tools/perf/builtin-version.c @@ -84,6 +84,7 @@ static void library_status(void) STATUS(HAVE_LIBTRACEEVENT, libtraceevent); STATUS(HAVE_BPF_SKEL, bpf_skeletons); STATUS(HAVE_DWARF_UNWIND_SUPPORT, dwarf-unwind-support); + STATUS(HAVE_CSTRACE_SUPPORT, libopencsd); } int cmd_version(int argc, const char **argv) |