We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46e3464 commit 6612d4dCopy full SHA for 6612d4d
tools/perf/tests/shell/trace_btf_enum.sh
@@ -17,7 +17,7 @@ skip_if_no_perf_trace || exit 2
17
18
check_vmlinux() {
19
echo "Checking if vmlinux exists"
20
- if ! ls /sys/kernel/btf/vmlinux 1>/dev/null 2>&1
+ if [ ! -f /sys/kernel/btf/vmlinux ]
21
then
22
echo "trace+enum test [Skipped missing vmlinux BTF support]"
23
err=2
0 commit comments