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
11 echo "Test expected snapshot action failure"
13 echo 'hist:keys=comm:onmatch(sched.sched_wakeup).snapshot()' >> events
/sched
/sched_waking
/trigger
&& exit_fail
15 echo "Test expected save action failure"
17 echo 'hist:keys=comm:onmatch(sched.sched_wakeup).save(comm,prio)' >> events
/sched
/sched_waking
/trigger
&& exit_fail