/openbmc/linux/tools/memory-model/scripts/ |
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/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 | 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 …]
|
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 | fprobe_syntax_errors.tc | 37 if !grep -q 'kernel return probes support:' README; then 46 grep -q "imm-value" README && \ 48 grep -q "imm-string" README && \ 55 if grep -A1 "fetcharg:" README | grep -q '\$comm' ; then 63 if grep -q ' <type>\\\[<array-size>\\\]' README; then 84 if grep -q "Create/append/" README && grep -q "imm-value" README; then 100 if grep -q "<argname>" README; then 104 if !grep -q 'kernel return probes support:' README; then 111 if grep -qF "<argname>[->field[->field|.field...]]" README ; then
|
/openbmc/linux/tools/testing/selftests/ |
H A D | kselftest_deps.sh | 93 targets=$(grep -E "^TARGETS +|^TARGETS =" Makefile | cut -d "=" -f2) 121 l1_tests=$(grep -r --include=Makefile "^LDLIBS" | \ 122 grep -v "$filter" | awk -F: '{print $1}' | uniq) 134 l2_tests=$(grep -r --include=Makefile ": LDLIBS" | \ 135 grep -v "$filter" | awk -F: '{print $1}' | uniq) 146 l3_tests=$(grep -r --include=Makefile "^VAR_LDLIBS" | \ 147 grep -v "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq) 156 l4_tests=$(grep -r --include=Makefile "^LDLIBS" | \ 157 grep "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq) 165 l5_tests=$(grep -r --include=Makefile "LDLIBS +=.*\$(IOURING_EXTRA_LIBS)" | \ [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/kprobe/ |
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 …]
|
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_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
|
/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/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/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/qemu/tests/qemu-iotests/ |
H A D | 142 | 96 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.direct=on | grep -e "Cache" -e "[Cc]annot… 98 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.direct=on | grep -e "Cache" -e "[Cc]… 100 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.direct=on | grep -e "Cache" -e "[… 102 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.direct=on | grep -e "Cache" … 108 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.writeback=off | grep -e "Cache" -e "[Cc]a… 110 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.writeback=off | grep -e "doesn't" -e… 112 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.writeback=off | grep -e "doesn't"… 114 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.writeback=off | grep -e "doe… 119 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",cache.no-flush=on | grep -e "Cache" -e "[Cc]ann… 121 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",file.cache.no-flush=on | grep -e "Cache" -e "[C… [all …]
|
H A D | 039 | 62 _qcow2_dump_header | grep incompatible_features 76 _qcow2_dump_header | grep incompatible_features 85 _qcow2_dump_header | grep incompatible_features 93 _qcow2_dump_header | grep incompatible_features 111 _qcow2_dump_header | grep incompatible_features 116 _qcow2_dump_header | grep incompatible_features 129 _qcow2_dump_header | grep incompatible_features 144 _qcow2_dump_header | grep incompatible_features 145 _qcow2_dump_header "$TEST_IMG".base | grep incompatible_features 162 _qcow2_dump_header | grep incompatible_features [all …]
|
/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/u-boot/test/fs/ |
H A D | fs-test.sh | 90 NUM_CPUS=$(cat /proc/cpuinfo |grep -c processor) 436 md5_src=`grep -A2 "$1" "$2" | grep "md5 for" | tr -d '\r'` 465 grep -A7 "Test Case 1 " "$1" | egrep -iq "2621440000 *$4" 469 grep -A7 "Test Case 1 " "$1" | egrep -iq "1048576 *$3" 473 egrep -A3 "Test Case 2a " "$1" | grep -q "filesize=100000" 476 egrep -A3 "Test Case 2b " "$1" | grep -q "filesize=100000" 480 egrep -A3 "Test Case 3 " "$1" | grep -q "filesize=9c400000" 484 grep -A4 "Test Case 4a " "$1" | grep -q "filesize=100000" 489 grep -A4 "Test Case 5a " "$1" | grep -q "filesize=100000" 494 grep -A4 "Test Case 6a " "$1" | grep -q "filesize=100000" [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
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | mmap_flags.sh | 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}) && 40 (grep -E $regex ${header_dir}/mman.h | \
|
/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
|
H A D | trigger-synthetic-event-syntax.tc | 30 grep "myevent[[:space:]]u64 var1" synthetic_events 44 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events 46 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events 48 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events 67 grep "myevent[[:space:]]unsigned long var" synthetic_events 71 grep "myevent[[:space:]]char\[10\] var" synthetic_events 73 if grep -q 'long\[\]' README; then 76 grep "myevent[[:space:]]unsigned long\[\] var" synthetic_events
|
/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 …ut files for lines containing a match to a specified pattern. By default, grep prints the matching… 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/openbmc/meta-security/recipes-security/redhat-security/files/ |
H A D | rpm-chksec.sh | 71 if [ `echo "$f" | grep '\/etc\/rc.d\/init.d'` ] ; then 83 t=`cat "$f" 2>/dev/null | grep 'bin' | grep 'exit 5' | grep -v '\$'` 91 elif [ `echo "$f" | grep '\/lib\/systemd\/'` ] ; then 92 t=`cat "$f" | grep -i '^ExecStart=' | tr '=' ' ' | awk '{ print $2 }'` 109 if ! echo "$f" | grep '^/' >/dev/null ; then 122 if ! file "$f" | grep -qw 'ELF'; then 126 if readelf -l "$f" 2>/dev/null | grep -q 'GNU_RELRO'; then 129 if readelf -d "$f" 2>/dev/null | grep -q 'BIND_NOW'; then 133 if readelf -h "$f" 2>/dev/null | grep -q 'Type:[[:space:]]*DYN'; then 135 if readelf -d "$f" 2>/dev/null | grep -q '(DEBUG)'; then [all …]
|