perf version: Add a feature for libpfm4.
Ian Rogers
reviewerPATCH 1/1 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 <[email protected]>
--- tools/perf/builtin-version.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/builtin-version.c +1 -0
@@ -80,6 +80,7 @@ static void library_status(void)STATUS (HAVE_LIBBPF_SUPPORT , bpf);STATUS (HAVE_AIO_SUPPORT , aio);STATUS (HAVE_ZSTD_SUPPORT , zstd); +STATUS (HAVE_LIBPFM , libpfm4); }int cmd_version (int argc,const char **argv)
Signature · 1 line
2.29.0.rc1.297.gfa9743e501-goog
Em Mon, Oct 19, 2020 at 04:25:45PM -0700, Ian Rogers escreveu:
Quoted 1 line
If perf is built with libpfm4 (LIBPFM4=1) then advertise it in perf -vv.
Thanks, applied.
- Arnaldo
Quoted 20 lines
Signed-off-by Ian Rogers <[email protected]>--- tools/perf/builtin-version.c | 1 + 1 file changed, 1 insertion(+)tools/perf/builtin-version.c +1
-0@@ -80,6 +80,7 @@ static void library_status(void)STATUS (HAVE_LIBBPF_SUPPORT , bpf);STATUS (HAVE_AIO_SUPPORT , aio);STATUS (HAVE_ZSTD_SUPPORT , zstd); +STATUS (HAVE_LIBPFM , libpfm4); }int cmd_version (int argc,const char **argv)Signature · 1 line
2.29.0.rc1.297.gfa9743e501-goog
Signature · 1 line
- Arnaldo