summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-version.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@huawei.com>2024-02-17 15:40:42 +0800
committerNamhyung Kim <namhyung@kernel.org>2024-02-20 18:06:25 -0800
commit8b767db3309595a23eff1c3f2498f17b1f3a9bbc (patch)
tree43260abd7b02c6f8170af12caaa6ca95897f1250 /tools/perf/builtin-version.c
parent81377de00f117706211ced7f6adcb9a5a94ba326 (diff)
perf: build: introduce the libcapstone
Later we will use libcapstone to disassemble instructions of samples. Signed-off-by: Changbin Du <changbin.du@huawei.com> Reviewed-by: Adrian Hunter <adrian.hunter@intel.com> Cc: changbin.du@gmail.com Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Andi Kleen <ak@linux.intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Link: https://lore.kernel.org/r/20240217074046.4100789-2-changbin.du@huawei.com
Diffstat (limited to 'tools/perf/builtin-version.c')
-rw-r--r--tools/perf/builtin-version.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-version.c b/tools/perf/builtin-version.c
index 529e9ce8c46c..1bafe5855ae7 100644
--- a/tools/perf/builtin-version.c
+++ b/tools/perf/builtin-version.c
@@ -73,6 +73,7 @@ static void library_status(void)
STATUS(HAVE_LIBCRYPTO_SUPPORT, libcrypto);
STATUS(HAVE_LIBUNWIND_SUPPORT, libunwind);
STATUS(HAVE_DWARF_SUPPORT, libdw-dwarf-unwind);
+ STATUS(HAVE_LIBCAPSTONE_SUPPORT, libcapstone);
STATUS(HAVE_ZLIB_SUPPORT, zlib);
STATUS(HAVE_LZMA_SUPPORT, lzma);
STATUS(HAVE_AUXTRACE_SUPPORT, get_cpuid);