Re: [PATCH v4 01/10] feature: implement libzstd check, LIBZSTD_DIR and NO_LIBZSTD defines

From: Arnaldo Carvalho de Melo
Date: Thu Feb 28 2019 - 13:46:19 EST


Em Thu, Feb 28, 2019 at 11:59:01AM +0300, Alexey Budankov escreveu:
> +++ b/tools/build/Makefile.feature
> @@ -66,7 +66,8 @@ FEATURE_TESTS_BASIC := \
> sched_getcpu \
> sdt \
> setns \
> - libaio
> + libaio \
> + libzstd

Since you added this as a basic feature to test, add this when you
resubmit, so that 'perf -vv' tells us that this basic feature is indeed
present.


diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
index 50df168be326..d41197fc8cef 100644
--- a/tools/perf/builtin-version.c
+++ b/tools/perf/builtin-version.c
@@ -78,6 +78,7 @@ static void library_status(void)
STATUS(HAVE_LZMA_SUPPORT, lzma);
STATUS(HAVE_AUXTRACE_SUPPORT, get_cpuid);
STATUS(HAVE_LIBBPF_SUPPORT, bpf);
+ STATUS(HAVE_ZSTD_SUPPORT, bpf);
}

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