Lines Matching +full:1 +full:d +full:- +full:histogram
2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test poll wait on histogram
9 if [ ! -x ${POLL} ]; then
19 # This must wait >1 sec and return 1 (timeout).
21 ${POLL} -I -t 1000 ${EVENT}/hist
23 set -e
24 if [ ${ret} != 1 ]; then
32 echo 1 > ${EVENT}/enable
37 # if timeout happens, poll returns 1.
38 ${POLL} -I -t 4000 ${EVENT}/hist
41 if [ -d /proc/${BGPID} ]; then
43 kill -KILL ${BGPID} ||:
47 if ! grep -qw "sleep" trace; then
54 echo 1 > tracing_on
59 # if timeout happens, poll returns 1.
60 ${POLL} -P -t 4000 ${EVENT}/hist
63 if [ -d /proc/${BGPID} ]; then
65 kill -KILL ${BGPID} ||:
69 if ! grep -qw "sleep" trace; then