Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.10 19 lines 556 B view raw
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 6fail() { #msg 7 echo $1 8 exit_fail 9} 10 11echo "Test expected snapshot action failure" 12 13echo 'hist:keys=comm:onmatch(sched.sched_wakeup).snapshot()' >> events/sched/sched_waking/trigger && exit_fail 14 15echo "Test expected save action failure" 16 17echo 'hist:keys=comm:onmatch(sched.sched_wakeup).save(comm,prio)' >> events/sched/sched_waking/trigger && exit_fail 18 19exit_xfail