perf version: Add a feature for libpfm4
authorIan Rogers <irogers@google.com>
Mon, 19 Oct 2020 23:25:45 +0000 (16:25 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 4 Nov 2020 12:42:40 +0000 (09:42 -0300)
commita7c77c4f52c80fffc53b4c616a95f96d57170933
tree0708f6d4ca00fc149ea860fcc0dd2bd8916c5351
parenta701d28e2d997705ae4376753af6e35b20029cef
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>
tools/perf/builtin-version.c