/openbmc/linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
H A D | generic_clear_event.tc | 17 grep -q myevent1 dynamic_events 18 grep -q myevent2 dynamic_events 19 grep -q latency1 dynamic_events 20 grep -q latency2 dynamic_events 26 ! grep -q myevent1 dynamic_events 27 grep -q myevent2 dynamic_events 28 grep -q latency1 dynamic_events 29 grep -q latency2 dynamic_events 32 grep -q myevent2 dynamic_events 33 ! grep -q latency1 dynamic_events [all …]
|
H A D | add_remove_eprobe.tc | 17 grep -q "$EPROBE" dynamic_events 24 content=`grep '^ *ls-' trace | grep 'file='` 25 nocontent=`grep '^ *ls-' trace | grep 'file=' | grep -v -e '"/' -e '"."' -e '(fault)' ` || true 37 ! grep -q "$EPROBE" dynamic_events 44 grep -q "$EPROBE" dynamic_events 47 ! grep -q "$EPROBE" dynamic_events 52 grep -q "$EPROBE" dynamic_events 55 ! grep -q "$EPROBE" dynamic_events 60 grep -q "$EPROBE" dynamic_events 63 ! grep -q "$EPROBE" dynamic_events [all …]
|
H A D | clear_select_events.tc | 17 grep -q myevent1 dynamic_events 18 grep -q myevent2 dynamic_events 19 grep -q latency1 dynamic_events 20 grep -q latency2 dynamic_events 26 grep -q myevent1 dynamic_events 27 grep -q myevent2 dynamic_events 28 ! grep -q latency1 dynamic_events 29 ! grep -q latency2 dynamic_events 36 ! grep -q myevent1 dynamic_events 37 ! grep -q myevent2 dynamic_events [all …]
|
H A D | add_remove_btfarg.tc | 10 if grep -qF "p[:[<group>/][<event>]] <place> [<args>]" README ; then 13 if grep -qF "f[:[<group>/][<event>]] <func-name>[%return] [<args>]" README ; then 16 if grep -qF "<argname>[->field[->field|.field...]]" README ; then 36 grep -q "fpevent.*object=object" dynamic_events 37 grep -q "tpevent.*ptr=ptr" dynamic_events 42 grep -q "fpevent.*object=object" dynamic_events 49 grep -q "fpevent.*object=object" dynamic_events 50 grep -q "tpevent.*ptr=ptr" dynamic_events 51 ! grep -q "tpevent.*_data" dynamic_events 61 grep -q "tpevent .*obj_size=s->object_size" dynamic_events [all …]
|
/openbmc/linux/tools/memory-model/scripts/ |
H A D | judgelitmus.sh | 56 if grep -q '^Flag data-race$' "$LKMM_DESTDIR/$litmusout" 60 if grep -q '^[( ]\* Result: ' $litmus 62 outcome=`grep -m 1 '^[( ]\* Result: ' $litmus | awk '{ print $3 }'` 63 if grep -m1 '^[( ]\* Result: .* DATARACE' $litmus 77 elif test -n "$LKMM_HW_MAP_FILE" && grep -q '^Observation' $LKMM_DESTDIR/$lkmmout > /dev/null 2>&1 79 outcome=`grep -m 1 '^Observation ' $LKMM_DESTDIR/$lkmmout | awk '{ print $3 }'` 84 grep '^Observation' $LKMM_DESTDIR/$litmusout 85 if grep -q '^Observation' $LKMM_DESTDIR/$litmusout 88 elif grep ': Unknown macro ' $LKMM_DESTDIR/$litmusout 90 badname=`grep ': Unknown macro ' $LKMM_DESTDIR/$litmusout | [all …]
|
H A D | cmplitmushist.sh | 23 if grep -q ': Unknown macro ' $1 || grep -q ': Unknown macro ' $2 25 if grep -q ': Unknown macro ' $1 27 badname=`grep ': Unknown macro ' $1 | 32 if grep -q ': Unknown macro ' $2 34 badname=`grep ': Unknown macro ' $2 | 41 elif grep -q '^Command exited with non-zero status 124' $1 || 42 grep -q '^Command exited with non-zero status 124' $2 44 if grep -q '^Command exited with non-zero status 124' $1 && 45 grep -q '^Command exited with non-zero status 124' $2 48 elif grep -q '^Command exited with non-zero status 124' $1 [all …]
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | parse-console.sh | 30 if grep -Pq '\x00' < $file 41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file 43 nerrs=`grep --binary-files=text '!!!' $file | 67 grep --binary-files=text 'torture:.*ver:' $file | 68 grep -E --binary-files=text -v '\(null\)|rtc: 000000000* ' | 96 if grep -q SUCCESS $file 105 if grep -q "_HOTPLUG:" $file 111 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version… 126 n_badness=`grep -c Badness $file` 131 …grep -v 'Warning: unable to open an initial console' $file | grep -v 'Warning: Failed to add ttynu… [all …]
|
H A D | parse-build.sh | 23 if grep -q CC < $F || test -n "$TORTURE_TRUST_MAKE" || grep -qe --trust-make < `dirname $F`/../log 31 if grep -q "error:" < $F 34 grep "error:" < $F 38 grep warning: < $F > $T/warnings 39 grep "include/linux/*rcu*\.h:" $T/warnings > $T/hwarnings 40 grep "kernel/rcu/[^/]*:" $T/warnings > $T/cwarnings 41 grep "^ld: .*undefined reference to" $T/warnings | head -1 > $T/ldwarnings
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/event/ |
H A D | trace_printk.tc | 14 grep -q ": This .* trace_bputs" trace 15 grep -q ": This .* trace_puts" trace 16 grep -q ": This .* trace_bprintk" trace 17 grep -q ": This .* trace_printk" trace 19 grep -q ": (irq) .* trace_bputs" trace 20 grep -q ": (irq) .* trace_puts" trace 21 grep -q ": (irq) .* trace_bprintk" trace 22 grep -q ": (irq) .* trace_printk" trace 24 grep -q "This is a %s that will use trace_bprintk" printk_formats 25 grep -q "(irq) This is a static string that will use trace_bputs" printk_formats
|
/openbmc/openbmc/poky/meta/recipes-extended/grep/ |
H A D | grep_3.11.bb | 1 SUMMARY = "GNU grep utility" 2 HOMEPAGE = "http://savannah.gnu.org/projects/grep/" 3 DESCRIPTION = "Grep searches one or more input files for lines containing a match to a specified pa… 4 BUGTRACKER = "http://savannah.gnu.org/bugs/?group=grep" 9 SRC_URI = "${GNU_MIRROR}/grep/grep-${PV}.tar.xz" 27 mv ${D}${bindir}/grep ${D}${base_bindir}/grep 41 ALTERNATIVE:${PN} = "grep egrep fgrep" 42 ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep"
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/filter/ |
H A D | event-filter-function.tc | 27 target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | so… 38 while [ `grep kmem_cache_free trace| wc -l` -eq 0 ]; do 46 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l` 47 misscnt=`grep kmem_cache_free trace| grep -v $target_func | wc -l` 57 address=`grep " ${target_func}\$" /proc/kallsyms | cut -d' ' -f1` 64 while [ `grep kmem_cache_free trace| wc -l` -eq 0 ]; do 72 hitcnt=`grep kmem_cache_free trace| grep $target_func | wc -l` 73 misscnt=`grep kmem_cache_free trace| grep -v $target_func | wc -l`
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/kprobe/ |
H A D | kprobe_ftrace.tc | 15 grep testprobe trace 16 ! grep "$FUNCTION_FORK <-" trace 22 grep testprobe trace 23 grep "$FUNCTION_FORK <-" trace 29 ! grep testprobe trace 30 grep "$FUNCTION_FORK <-" trace 37 grep testprobe trace 38 grep "$FUNCTION_FORK <-" trace 44 grep testprobe trace 45 ! grep "$FUNCTION_FORK <-" trace
|
H A D | kprobe_args_user.tc | 6 grep -A10 "fetcharg:" README | grep -q 'ustring' || exit_unsupported 7 grep -A10 "fetcharg:" README | grep -q '\[u\]<offset>' || exit_unsupported 15 grep myevent kprobe_events | \ 16 grep -q 'path=+0($arg2):ustring path2=+u0($arg2):string' 23 grep myevent trace | grep -q 'path="/dev/null" path2="/dev/null"' 32 grep myevent trace | grep -q 'path=(fault) path2=(fault)'
|
H A D | kprobe_syntax_errors.tc | 10 if grep -q 'r\[maxactive\]' README; then 31 if grep -q '$arg<N>' README; then 41 grep -q "imm-value" README && \ 43 grep -q "imm-string" README && \ 50 if grep -A1 "fetcharg:" README | grep -q '\$comm' ; then 58 if grep -q ' <type>\\\[<array-size>\\\]' README; then 81 if grep -q FTRACE ../kprobes/list ; then 88 if grep -q "Create/append/" README && grep -q "imm-value" README; then 101 if grep -q "place (kretprobe): .*%return.*" README; then 107 if grep -q "<argname>" README; then [all …]
|
/openbmc/linux/tools/testing/selftests/livepatch/ |
H A D | test-livepatch.sh | 58 grep 'live patched' /proc/cmdline > /dev/kmsg 59 grep 'live patched' /proc/meminfo > /dev/kmsg 63 grep 'live patched' /proc/cmdline > /dev/kmsg 64 grep 'live patched' /proc/meminfo > /dev/kmsg 69 grep 'live patched' /proc/cmdline > /dev/kmsg 70 grep 'live patched' /proc/meminfo > /dev/kmsg 75 grep 'live patched' /proc/cmdline > /dev/kmsg 76 grep 'live patched' /proc/meminfo > /dev/kmsg 119 grep 'live patched' /proc/cmdline > /dev/kmsg 120 grep 'live patched' /proc/meminfo > /dev/kmsg [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | do_hbm_test.sh | 96 if mount | grep $BPFFS > /dev/null; then 258 begNetserverPid=`ps ax | grep netserver | grep --invert-match "grep" | \ 322 r=`cat netperf.$id.$flow_cnt | grep -o "REMOTE_SEND_THROUGHPUT=[0-9]*" | grep -o "[0-9]*"` 324 r=`cat netperf.$id.$flow_cnt | grep -o "LOCAL_SEND_THROUGHPUT=[0-9]*" | grep -o "[0-9]*"` 337 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"` 347 rates=`grep receiver iperf.$id | grep -o "[0-9.]* Mbits" | grep -o "^[0-9]*"` 348 rate=`echo $rates | grep -o "[0-9]*$"` 358 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"` 368 …-c $host -p $port -i 0 -P 1 -f m -t $dur | grep receiver | grep -o "[0-9.]* Mbits" | grep -o "^[0-… 396 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"` [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openl2tp/openl2tp/ |
H A D | run-ptest | 37 ifconfig | grep $ETH_TEST > /dev/null || exit_cus "The network interface you provide is invalid" 1 40 zcat /proc/config.gz | grep CONFIG_L2TP=y > /dev/null || exit_cus "Failed to check CONFIG_L2TP=y, s… 41 zcat /proc/config.gz | grep CONFIG_PPPOL2TP=m > /dev/null || exit_cus "Failed to check CONFIG_PPPOL… 64 test_ip="`ifconfig $ETH_TEST | grep 'inet ' | sed 's/^.*inet addr://g' | \ 70 lsmod | grep l2tp_ppp > /dev/null || exit_cus "FAIL: Load module l2tp_ppp" 2 73 ps aux | grep openl2tpd | grep -v grep > /dev/null && killall openl2tpd > /dev/null 87 PASSNUM=`grep PASS $OPENL2TP_DIR/results/test-l2tpd.result | wc -l` 88 FAILNUM=`grep FAIL $OPENL2TP_DIR/results/test-l2tpd.result | wc -l` 96 ps aux | grep openl2tpd | grep -v grep > /dev/null && killall openl2tpd > /dev/null
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | func-filter-pid.tc | 21 orig_value=`grep function-fork trace_options` 55 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 56 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l` 76 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 77 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
|
H A D | func-filter-notrace-pid.tc | 20 orig_value=`grep function-fork trace_options` 55 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 56 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l` 81 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l` 82 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | mmap_flags.sh | 18 # those in grep -E -vw are flags, we want just the bits 23 grep -E -q $regex ${arch_mman} && \ 24 (grep -E $regex ${arch_mman} | \ 27 grep -E -q $regex ${linux_mman} && \ 28 (grep -E $regex ${linux_mman} | \ 29 grep -E -vw 'MAP_(UNINITIALIZED|TYPE|SHARED_VALIDATE)' | \ 33 grep -E -q '#[[:space:]]*include[[:space:]]+.*uapi/asm-generic/mman.*' ${arch_mman}) && 34 (grep -E $regex ${header_dir}/mman-common.h | \ 35 grep -E -vw 'MAP_(UNINITIALIZED|TYPE|SHARED_VALIDATE)' | \ 39 grep -E -q '#[[:space:]]*include[[:space:]]+.*uapi/asm-generic/mman.h>.*' ${arch_mman}) && [all …]
|
/openbmc/linux/tools/bootconfig/scripts/ |
H A D | ftrace2bconf.sh | 26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "` 28 if ! grep -wq debugfs /proc/mounts; then 32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing 50 if grep -qv "^#" $TRACEFS/set_graph_function $TRACEFS/set_graph_notrace ; then 89 grep "^hist" $1/trigger | grep -o ':[a-zA-Z0-9]*=' 92 grep "^hist" $1/trigger | grep -o '$[a-zA-Z0-9]*' 96 test -f $1 && grep -q "1" $1 104 if grep -q "^hist:" $evdir/trigger; then 108 if echo $DEFINED_VARS $__vars | grep -vqw ${v#$}; then 116 grep -v "^#" $evdir/trigger | while read action active; do [all …]
|
/openbmc/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-synthetic-eprobe.tc | 23 grep -q "$SYNTH" dynamic_events 24 grep -q "$EPROBE" dynamic_events 32 content=`grep '^ *ls-' trace | grep 'file='` 33 nocontent=`grep '^ *ls-' trace | grep 'file=' | grep -v -e '"/' -e '"."'` || true 48 ! grep -q "$SYNTH" dynamic_events 49 ! grep -q "$EPROBE" dynamic_events
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | psample.sh | 74 grep -q -e "group 1234" $CAPTURE_FILE 81 grep -q -e "group 4321" $CAPTURE_FILE 87 grep -q -e "group 4321" $CAPTURE_FILE 105 grep -q -e "in-ifindex 1234" $CAPTURE_FILE 108 grep -q -e "out-ifindex 4321" $CAPTURE_FILE 114 grep -q -e "out-tc 5" $CAPTURE_FILE 120 grep -q -e "out-tc " $CAPTURE_FILE 127 grep -q -e "out-tc-occ " $CAPTURE_FILE 133 grep -q -e "out-tc-occ " $CAPTURE_FILE 139 grep -q -e "latency " $CAPTURE_FILE [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/ |
H A D | ksample.py | 37 cmd = "zcat /proc/config.gz | grep %s" % config_opt 61 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 63 self.cmd_and_check("dmesg | grep \"test passed\" ", "test passed") 80 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 82 self.cmd_and_check("dmesg | grep Planted | head -n10", "Planted") 96 self.cmd_and_check("lsmod | grep %s | cut -d\' \' -f1" % sysmbol_name, sysmbol_name) 135 … self.cmd_and_check("lsmod | grep trace_events_sample | cut -d\' \' -f1", "trace_events_sample") 137 … self.cmd_and_check("ls /sys/kernel/debug/tracing/events/ | grep sample-trace", "sample-trace") 146 …status, output = self.target.run('cat /sys/kernel/debug/tracing/trace | grep hello | head -n1 | cu… 168 self.cmd_and_check("lsmod | grep trace_printk | cut -d\' \' -f1", "trace_printk") [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
H A D | abat.patch | 10 - XPID=$( ps ax | awk '{print $1, $5}' | grep glxgears | awk '{print $1}') 11 + XPID=$( ps | awk '{print $1, $5}' | grep glxgears | awk '{print $1}') 36 -PXID=$(ps ax |awk '{print $1,$5}' |egrep "Xorg$|X$" |grep -v grep | awk '{print $1}') 37 +PXID=$(ps |awk '{print $1,$6}' |egrep "Xorg$|X$" |grep -v grep | awk '{print $1}') 59 - XPID=$( ps ax | awk '{print $1, $5}' | egrep "X$|Xorg$" |grep -v grep| awk '{print $1}') 60 + XPID=$( ps | awk '{print $1, $6}' | egrep "X$|Xorg$" |grep -v grep| awk '{print $1}')
|