1 #!/bin/sh 2 # SPDX-License-Identifier: GPL-2.0 3 # description: event trigger - test inter-event histogram trigger expected fail actions 4 # requires: set_event snapshot "snapshot()":README 5 6 fail() { #msg 7 echo $1 8 exit_fail 9 } 10 11 echo "Test expected snapshot action failure" 12 13 echo 'hist:keys=comm:onmatch(sched.sched_wakeup).snapshot()' >> events/sched/sched_waking/trigger && exit_fail 14 15 echo "Test expected save action failure" 16 17 echo 'hist:keys=comm:onmatch(sched.sched_wakeup).save(comm,prio)' >> events/sched/sched_waking/trigger && exit_fail 18 19 exit_xfail
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.