Skip to content

Commit 507ad2b

Browse files
James-A-Clarknamhyung
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Rogers <[email protected]> Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent dd267d0 commit 507ad2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/perf/builtin-version.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ static void library_status(void)
8484
STATUS(HAVE_LIBTRACEEVENT, libtraceevent);
8585
STATUS(HAVE_BPF_SKEL, bpf_skeletons);
8686
STATUS(HAVE_DWARF_UNWIND_SUPPORT, dwarf-unwind-support);
87+
STATUS(HAVE_CSTRACE_SUPPORT, libopencsd);
8788
}
8889

8990
int cmd_version(int argc, const char **argv)

0 commit comments

Comments
 (0)