diff options
author | 2022-02-20 13:39:52 +0200 | |
---|---|---|
committer | 2022-02-22 21:23:08 -0300 | |
commit | 8c4c7016ddd12d38cb4b88bcec235c2c67a35be0 (patch) | |
tree | 78961a5a20fa4efa1806a0f01264c2aaa46c22c5 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | perf data: Adding error message if perf_data__create_dir() fails (diff) | |
download | linux-dev-8c4c7016ddd12d38cb4b88bcec235c2c67a35be0.tar.xz linux-dev-8c4c7016ddd12d38cb4b88bcec235c2c67a35be0.zip |
perf data: Don't mention --to-ctf if it's not supported
The option `--to-ctf` is only available when perf has libbabeltrace
support. Hence, on error, we shouldn't state that user must include
`--to-ctf` unless it's supported.
The only user-visible change for this commit is that when `perf` is not
configured to support libbabeltrace, the user is only prompted to
provide the `--to-json` option instead of bothe `--to-json` and
`--to-ctf`.
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220220113952.138280-1-ma.mandourr@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions