Lines Matching +full:1 +full:d +full:- +full:histogram
2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test histogram trigger
8 echo $1
12 echo "Test histogram basic trigger"
15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
23 echo "Test histogram with compound keys"
26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
32 echo "Test histogram with string key"
35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
42 echo "Test histogram with sym modifier"
45 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu…
51 echo "Test histogram with sym-offset modifier"
53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger
54 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall…
56 fail "sym-offset modifier on kmalloc call_site did not work"
60 echo "Test histogram with sort key"
63 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
66 while [ $# -gt 1 ]; do
67 [ $1 -gt $2 ] && return 1
68 shift 1
72 check_inc `grep -o "child_pid:[[:space:]]*[[:digit:]]*" \
73 events/sched/sched_process_fork/hist | cut -d: -f2 ` ||