2 # SPDX-License-Identifier: GPL-2.0
3 # description: trace_marker trigger - test histogram trigger
4 # requires: set_event events/ftrace/print/trigger events/ftrace/print/hist
12 echo "Test histogram trace_marker trigger"
14 echo 'hist:keys=common_pid' > events
/ftrace
/print
/trigger
15 for i
in `seq 1 10` ; do echo "hello" > trace_marker
; done
16 grep 'hitcount: *10$' events
/ftrace
/print
/hist
> /dev
/null || \
17 fail
"hist trigger did not trigger correct times on trace_marker"