[PATCH v1 1/5] perf check: Add libbabeltrace to the listed features

Ian Rogers posted 5 patches 1 month, 2 weeks ago
[PATCH v1 1/5] perf check: Add libbabeltrace to the listed features
Posted by Ian Rogers 1 month, 2 weeks ago
This enables scripts to more easily determine if `perf data --to-ctf`
is supported.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 tools/perf/builtin-check.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/builtin-check.c b/tools/perf/builtin-check.c
index 27a41beeaddf..3641d263b345 100644
--- a/tools/perf/builtin-check.c
+++ b/tools/perf/builtin-check.c
@@ -43,6 +43,7 @@ struct feature_status supported_features[] = {
 	FEATURE_STATUS("dwarf_getlocations", HAVE_LIBDW_SUPPORT),
 	FEATURE_STATUS("dwarf-unwind", HAVE_DWARF_UNWIND_SUPPORT),
 	FEATURE_STATUS_TIP("libbfd", HAVE_LIBBFD_SUPPORT, "Deprecated, license incompatibility, use BUILD_NONDISTRO=1 and install binutils-dev[el]"),
+	FEATURE_STATUS("libbabeltrace", HAVE_LIBBABELTRACE_SUPPORT),
 	FEATURE_STATUS("libbpf-strings", HAVE_LIBBPF_STRINGS_SUPPORT),
 	FEATURE_STATUS("libcapstone", HAVE_LIBCAPSTONE_SUPPORT),
 	FEATURE_STATUS("libdw-dwarf-unwind", HAVE_LIBDW_SUPPORT),
-- 
2.53.0.239.g8d8fc8a987-goog