WIP FPC-III support
[linux/fpc-iii.git] / tools / testing / selftests / ftrace / test.d / trigger / inter-event / trigger-action-hist-xfail.tc
blob1590d6bfb857ba68c10bd5306e0431e73ee761d2
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
6 fail() { #msg
7 echo $1
8 exit_fail
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
19 exit_xfail