Skip to content

Commit 8772598

Browse files
captain5050acmel
authored andcommitted
perf check: Add libbabeltrace to the listed features
This enables scripts to more easily determine if `perf data --to-ctf` is supported. Committer testing: $ perf check feature libbabeltrace libbabeltrace: [ on ] # HAVE_LIBBABELTRACE_SUPPORT $ perf check feature -q libbabeltrace && echo have libbabeltrace support have libbabeltrace support $ Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Derek Foreman <derek.foreman@collabora.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: James Clark <james.clark@linaro.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 9eb1760 commit 8772598

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/perf/builtin-check.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ struct feature_status supported_features[] = {
4343
FEATURE_STATUS("dwarf_getlocations", HAVE_LIBDW_SUPPORT),
4444
FEATURE_STATUS("dwarf-unwind", HAVE_DWARF_UNWIND_SUPPORT),
4545
FEATURE_STATUS_TIP("libbfd", HAVE_LIBBFD_SUPPORT, "Deprecated, license incompatibility, use BUILD_NONDISTRO=1 and install binutils-dev[el]"),
46+
FEATURE_STATUS("libbabeltrace", HAVE_LIBBABELTRACE_SUPPORT),
4647
FEATURE_STATUS("libbpf-strings", HAVE_LIBBPF_STRINGS_SUPPORT),
4748
FEATURE_STATUS("libcapstone", HAVE_LIBCAPSTONE_SUPPORT),
4849
FEATURE_STATUS("libdw-dwarf-unwind", HAVE_LIBDW_SUPPORT),

0 commit comments

Comments
 (0)