tegrakernel/kernel/kernel-4.9/tools/testing/selftests/ftrace/test.d/00basic/basic4.tc

6 lines
199 B
Bash

#!/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