Home
last modified time | relevance | path

Searched refs:grep (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/Linux-v5.4/tools/testing/selftests/ftrace/test.d/dynevent/
Dgeneric_clear_event.tc7 grep -q "place: \[<module>:\]<symbol>" README || exit_unsupported
8 grep -q "place (kretprobe): \[<module>:\]<symbol>" README || exit_unsupported
10 grep -q "s:\[synthetic/\]" README || exit_unsupported
23 grep -q myevent1 dynamic_events
24 grep -q myevent2 dynamic_events
25 grep -q latency1 dynamic_events
26 grep -q latency2 dynamic_events
32 ! grep -q myevent1 dynamic_events
33 grep -q myevent2 dynamic_events
34 grep -q latency1 dynamic_events
[all …]
Dclear_select_events.tc7 grep -q "place: \[<module>:\]<symbol>" README || exit_unsupported
8 grep -q "place (kretprobe): \[<module>:\]<symbol>" README || exit_unsupported
10 grep -q "s:\[synthetic/\]" README || exit_unsupported
26 grep -q myevent1 dynamic_events
27 grep -q myevent2 dynamic_events
28 grep -q latency1 dynamic_events
29 grep -q latency2 dynamic_events
35 grep -q myevent1 dynamic_events
36 grep -q myevent2 dynamic_events
37 ! grep -q latency1 dynamic_events
[all …]
Dadd_remove_kprobe.tc7 grep -q "place: \[<module>:\]<symbol>" README || exit_unsupported
8 grep -q "place (kretprobe): \[<module>:\]<symbol>" README || exit_unsupported
18 grep -q myevent1 dynamic_events
19 grep -q myevent2 dynamic_events
25 grep -q myevent1 dynamic_events
26 ! grep -q myevent2 dynamic_events
Dadd_remove_synth.tc7 grep -q "s:\[synthetic/\]" README || exit_unsupported
15 grep -q latency1 dynamic_events
16 grep -q latency2 dynamic_events
22 grep -q latency1 dynamic_events
23 ! grep -q latency2 dynamic_events
/Linux-v5.4/tools/testing/selftests/drivers/net/mlxsw/
Dvxlan.sh473 bridge fdb show brport vxlan0 | grep 00:00:00:00:00:00 \
474 | grep -q offload
489 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
490 | grep -q offload
492 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep -v self \
493 | grep -q offload
503 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
504 | grep -q offload
514 bridge fdb show brport vxlan0 | grep de:ad:be:ef:13:37 | grep self \
515 | grep -q offload
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_user.tc7 grep -q '\$arg<N>' README || exit_unresolved # depends on arch
8 grep -A10 "fetcharg:" README | grep -q 'ustring' || exit_unsupported
9 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'
21 grep myevent trace | grep -q 'path="/dev/null" path2="/dev/null"'
30 grep myevent trace | grep -q 'path=(fault) path2=(fault)'
Dkprobe_ftrace.tc6 grep "function" available_tracers || exit_unsupported # this is configurable
17 grep testprobe trace
18 ! grep '_do_fork <-' trace
24 grep testprobe trace
25 grep '_do_fork <-' trace
31 ! grep testprobe trace
32 grep '_do_fork <-' trace
39 grep testprobe trace
40 grep '_do_fork <-' trace
46 grep testprobe trace
[all …]
Dkprobe_syntax_errors.tc13 if grep -q 'r\[maxactive\]' README; then
34 if grep -q '$arg<N>' README; then
44 grep -q "imm-value" README && \
46 grep -q "imm-string" README && \
53 if grep -A1 "fetcharg:" README | grep -q '\$comm' ; then
61 if grep -q ' <type>\\\[<array-size>\\\]' README; then
84 if grep -q FTRACE ../kprobes/list ; then
91 if grep -q "Create/append/" README && grep -q "imm-value" README; then
Dkprobe_args_comm.tc7 grep -A1 "fetcharg:" README | grep -q "\$comm" || exit_unsupported # this is too old
10 grep testprobe kprobe_events | grep -q 'comm=$comm'
15 grep testprobe trace | grep -q 'comm=".*"'
Dkprobe_args.tc8 grep testprobe kprobe_events | grep -q 'arg1=\$stack arg2=\$stack0 arg3=+0(\$stack)'
13 grep testprobe trace | grep '_do_fork' | \
14 grep -q 'arg1=0x[[:xdigit:]]* arg2=0x[[:xdigit:]]* arg3=0x[[:xdigit:]]*$'
Dkretprobe_maxactive.tc6 grep -q 'r\[maxactive\]' README || exit_unsupported # this is older version
19 grep myprobeaccept kprobe_events
25 grep myprobeaccept kprobe_events
31 grep inet_csk_accept kprobe_events
36 grep inet_csk_accept kprobe_events
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/event/
Dtrace_printk.tc14 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
Devent-pid.tc35 count=`cat trace | grep sched_switch | wc -l`
45 grep -q $mypid set_event_pid
50 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
63 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
/Linux-v5.4/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh30 if grep -Pq '\x00' < $file
41 if grep -q FAILURE $file || grep -q -e '-torture.*!!!' $file
43 nerrs=`grep --binary-files=text '!!!' $file |
55 grep --binary-files=text 'torture:.*ver:' $file |
83 if grep -q SUCCESS $file
92 if grep -q "_HOTPLUG:" $file
98 …echo $title no success message, `grep --binary-files=text 'ver:' $file | wc -l` successful version…
108 grep -v 'ODEBUG: ' |
109 grep -v 'This means that this is a DEBUG kernel and it is' |
110 grep -v 'Warning: unable to open an initial console' > $T.diags
[all …]
Dparse-build.sh24 if grep -q CC < $F || test -n "$TORTURE_TRUST_MAKE"
32 if grep -q "error:" < $F
35 grep "error:" < $F
39 grep warning: < $F > $T/warnings
40 grep "include/linux/*rcu*\.h:" $T/warnings > $T/hwarnings
41 grep "kernel/rcu/[^/]*:" $T/warnings > $T/cwarnings
/Linux-v5.4/tools/testing/selftests/livepatch/
Dtest-livepatch.sh62 grep 'live patched' /proc/cmdline > /dev/kmsg
63 grep 'live patched' /proc/meminfo > /dev/kmsg
67 grep 'live patched' /proc/cmdline > /dev/kmsg
68 grep 'live patched' /proc/meminfo > /dev/kmsg
73 grep 'live patched' /proc/cmdline > /dev/kmsg
74 grep 'live patched' /proc/meminfo > /dev/kmsg
79 grep 'live patched' /proc/cmdline > /dev/kmsg
80 grep 'live patched' /proc/meminfo > /dev/kmsg
125 grep 'live patched' /proc/cmdline > /dev/kmsg
126 grep 'live patched' /proc/meminfo > /dev/kmsg
[all …]
/Linux-v5.4/samples/bpf/
Ddo_hbm_test.sh247 begNetserverPid=`ps ax | grep netserver | grep --invert-match "grep" | \
311 r=`cat netperf.$id.$flow_cnt | grep -o "REMOTE_SEND_THROUGHPUT=[0-9]*" | grep -o "[0-9]*"`
313 r=`cat netperf.$id.$flow_cnt | grep -o "LOCAL_SEND_THROUGHPUT=[0-9]*" | grep -o "[0-9]*"`
326 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"`
336 rates=`grep receiver iperf.$id | grep -o "[0-9.]* Mbits" | grep -o "^[0-9]*"`
337 rate=`echo $rates | grep -o "[0-9]*$"`
347 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"`
357 …-c $host -p $port -i 0 -P 1 -f m -t $dur | grep receiver | grep -o "[0-9.]* Mbits" | grep -o "^[0-…
385 delay=`grep "avg" ping.out | grep -o "= [0-9.]*/[0-9.]*" | grep -o "[0-9.]*$"`
407 hbmPid=`ps ax | grep "hbm " | grep --invert-match "grep" | awk '{ print $1 }'`
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-filter-stack.tc8 if ! grep -q function_graph available_tracers; then
58 count=`cat trace | grep '()' | grep -v schedule | wc -l`
65 count=`cat trace | grep 'schedule()' | wc -l`
75 count=`cat trace | grep '()' | grep -v schedule | wc -l`
81 count=`cat trace | grep 'schedule()' | wc -l`
Dfunc_set_ftrace_file.tc30 if ! echo "$1" | grep -q "^$2\$"; then
33 echo "$1" | grep -v "^$2\$"
39 dd1=`dd if=$FILTER bs=1 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
40 dd100=`dd if=$FILTER bs=100 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
121 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual
127 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
132 grep -v 'try.*lock$' $TMPDIR/expected > $TMPDIR/expected2
138 grep -v '^m.*lock$' $TMPDIR/expected > $TMPDIR/expected2
144 grep -v '^c.*unlock' $TMPDIR/expected > $TMPDIR/expected2
Dfunc-filter-pid.tc8 if ! grep -q function available_tracers; then
34 orig_value=`grep function-fork trace_options`
68 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
69 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
89 count_pid=`cat trace | grep -v ^# | grep $PID | wc -l`
90 count_other=`cat trace | grep -v ^# | grep -v $PID | wc -l`
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_nat.sh79 cnt=$(ip netns exec $ns nft list counter inet filter ns0in | grep -q "packets 1 bytes 84")
84 cnt=$(ip netns exec $ns nft list counter inet filter ns0out | grep -q "packets 1 bytes 84")
91 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect")
96 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect")
110 cnt=$(ip netns exec ns0 nft list counter inet filter ns0in | grep -q "packets 0 bytes 0")
116 cnt=$(ip netns exec ns0 nft list counter inet filter ns0in6 | grep -q "packets 0 bytes 0")
122 cnt=$(ip netns exec ns0 nft list counter inet filter ns0out | grep -q "packets 0 bytes 0")
127 cnt=$(ip netns exec ns0 nft list counter inet filter ns0out6 | grep -q "packets 0 bytes 0")
135 cnt=$(ip netns exec ns0 nft list counter inet filter ${ns}${dir} | grep -q "$expect")
142 cnt=$(ip netns exec ns0 nft list counter inet filter ${ns}${dir}6 | grep -q "$expect")
[all …]
/Linux-v5.4/tools/memory-model/scripts/
Dcmplitmushist.sh21 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $1 > $T/oldout
22 grep -v 'maxresident)k\|minor)pagefaults\|^Time' $2 > $T/newout
23 if cmp -s $T/oldout $T/newout && grep -q '^Observation' $1
30 grep '^Observation' $1 > $T/oldout
31 grep '^Observation' $2 > $T/newout
46 grep '^Observation' $1 | awk '{ print $3 }' > $T/oldout
47 grep '^Observation' $2 | awk '{ print $3 }' > $T/newout
64 grep '!!!' $T/cmpscript.out 1>&2
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-synthetic-event-syntax.tc39 grep "myevent[[:space:]]u64 var1" synthetic_events
49 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
51 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
53 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
72 grep "myevent[[:space:]]unsigned long var" synthetic_events
76 grep "myevent[[:space:]]char\[10\] var" synthetic_events
/Linux-v5.4/arch/powerpc/tools/
Drelocs_check.sh25 grep -E '\<R_' |
35 grep -F -w -v 'R_PPC64_RELATIVE
42 grep -E -v '\<R_PPC64_ADDR64[[:space:]]+mach_' |
43 grep -E -v '\<R_PPC64_ADDR64[[:space:]]+__crc_'
56 if echo "$bad_relocs" | grep -q -F -w R_PPC64_UADDR64; then
/Linux-v5.4/Documentation/features/scripts/
Dfeatures-refresh.sh6 F=$(grep "^# Kconfig:" "$F_FILE" | cut -c26-)
47 K_GREP=$(grep "$K" $K_FILES)
58 grep "^#" $F_FILE > $T_FILE
65 K_GREP=$(grep "$K" $K_FILES)
87 S=$(grep -v "^#" "$F_FILE" | grep " $ARCH:")

12345678910>>...16