lineage_kernel_xcoverpro/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc

6 lines
199 B
Bash
Executable File

#!/bin/sh
# description: Basic event tracing check
test -f available_events -a -f set_event -a -d events
# check scheduler events are available
grep -q sched available_events && exit 0 || exit $FAIL