mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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
This commit is contained in:
parent
dd267d056f
commit
507ad2bde3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user