Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf version: Add a feature for libpfm4

If perf is built with libpfm4 (LIBPFM4=1) then advertise it in perf -vv.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20201019232545.4047264-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Ian Rogers and committed by
Arnaldo Carvalho de Melo
a7c77c4f a701d28e

+1
+1
tools/perf/builtin-version.c
··· 80 80 STATUS(HAVE_LIBBPF_SUPPORT, bpf); 81 81 STATUS(HAVE_AIO_SUPPORT, aio); 82 82 STATUS(HAVE_ZSTD_SUPPORT, zstd); 83 + STATUS(HAVE_LIBPFM, libpfm4); 83 84 } 84 85 85 86 int cmd_version(int argc, const char **argv)