Home
last modified time | relevance | path

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

12345678910>>...12

/tools/testing/selftests/ftrace/test.d/dynevent/
Dgeneric_clear_event.tc17 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 …]
Dclear_select_events.tc17 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 …]
Dadd_remove_eprobe.tc17 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 …]
/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.tc26 count=`cat trace | grep sched_switch | wc -l`
36 grep -q $mypid set_event_pid
41 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
54 count=`cat trace | grep sched_switch | grep -v "pid=$mypid" | wc -l`
/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_args_user.tc6 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)'
Dkprobe_ftrace.tc15 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
Dkprobe_syntax_errors.tc10 if grep -q 'r\[maxactive\]' README; then
30 if grep -q '$arg<N>' README; then
40 grep -q "imm-value" README && \
42 grep -q "imm-string" README && \
49 if grep -A1 "fetcharg:" README | grep -q '\$comm' ; then
57 if grep -q ' <type>\\\[<array-size>\\\]' README; then
80 if grep -q FTRACE ../kprobes/list ; then
87 if grep -q "Create/append/" README && grep -q "imm-value" README; then
100 if grep -q "place (kretprobe): .*%return.*" README; then
Dkprobe_args_comm.tc6 grep -A1 "fetcharg:" README | grep -q "\$comm" || exit_unsupported # this is too old
9 grep testprobe kprobe_events | grep -q 'comm=$comm'
14 grep testprobe trace | grep -q 'comm=".*"'
Dkprobe_args.tc7 grep testprobe kprobe_events | grep -q 'arg1=\$stack arg2=\$stack0 arg3=+0(\$stack)'
12 grep testprobe trace | grep "$FUNCTION_FORK" | \
13 grep -q 'arg1=0x[[:xdigit:]]* arg2=0x[[:xdigit:]]* arg3=0x[[:xdigit:]]*$'
Dkprobe_args_symbol.tc11 elif ! grep "$SYMBOL\$" /proc/kallsyms; then
19 if grep -q "x8/16/32/64" README; then
26 grep "testprobe_[usx]:.* arg1=.* arg2=.* arg3=.* arg4=.*" trace
27 grep "testprobe_bf:.* arg1=.*" trace
34 RESULT=`grep "testprobe_str" trace | sed -e 's/.* arg1=\(.*\)/\1/'`
/tools/testing/selftests/
Dkselftest_deps.sh121 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)" | \
207 test_libs=$(grep --include=Makefile "^LDLIBS" $test | \
[all …]
/tools/testing/selftests/livepatch/
Dtest-livepatch.sh58 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 …]
/tools/bootconfig/scripts/
Dftrace2bconf.sh26 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
/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-synthetic-eprobe.tc23 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
Dtrigger-synthetic-event-syntax.tc30 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
/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 |
67 grep --binary-files=text 'torture:.*ver:' $file |
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 …n_warn=`grep -v 'Warning: unable to open an initial console' $file | grep -v 'Warning: Failed to a…
141 n_calltrace=`grep -c 'Call Trace:' $file`
[all …]
Dconsole-badness.sh14 grep -v 'ODEBUG: ' |
15 grep -v 'This means that this is a DEBUG kernel and it is' |
16 grep -v 'Warning: unable to open an initial console' |
17 grep -v 'Warning: Failed to add ttynull console. No stdin, stdout, and stderr.*the init process!' |
18 grep -v 'NOHZ tick-stop error: Non-RCU local softirq work is pending, handler'
Dparse-build.sh24 if grep -q CC < $F || test -n "$TORTURE_TRUST_MAKE" || grep -qe --trust-make < `dirname $F`/../log
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
/tools/testing/selftests/bpf/
Dtest_bpftool_metadata.sh61 echo "$METADATA_PLAIN" | grep 'a = "foo"' > /dev/null
62 echo "$METADATA_PLAIN" | grep 'b = 1' > /dev/null
64 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null
66 bpftool map | grep 'metadata.rodata' > /dev/null
73 echo "$METADATA_PLAIN" | grep 'a = "bar"' > /dev/null
74 echo "$METADATA_PLAIN" | grep 'b = 2' > /dev/null
76 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
78 bpftool map | grep 'metadata.rodata' > /dev/null
/tools/testing/selftests/drivers/net/netdevsim/
Dpsample.sh74 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 …]
/tools/testing/selftests/ftrace/test.d/ftrace/
Dfgraph-filter-stack.tc43 count=`cat trace | grep '()' | grep -v schedule | wc -l`
50 count=`cat trace | grep 'schedule()' | wc -l`
60 count=`cat trace | grep '()' | grep -v schedule | wc -l`
66 count=`cat trace | grep 'schedule()' | wc -l`
Dfunc_stack_tracer.tc15 FL=`grep " 0)" stack_trace`
16 echo $FL | grep -q "lock" || break;
22 test `cat stack_trace_filter | wc -l` -eq `grep lock stack_trace_filter | wc -l`
31 FL=`grep " 0)" stack_trace`
32 echo $FL | grep -q "lock"
/tools/testing/selftests/ftrace/test.d/00basic/
Dtrace_pipe.tc10 grep -q "test input 1" trace
11 grep -q "test input 1" trace
14 head -n 1 trace_pipe | grep -q "test input 1"
15 ! grep -q "test input 1" trace
/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

12345678910>>...12