Home
last modified time | relevance | path

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

12345678910>>...20

/kernel/linux/linux-5.10/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 …]
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/
Dmem_debug05.sh30 …zcat /proc/config.gz | grep CONFIG_RECLAIM_ACCT=y || tst_res TCONF "CONFIG_RECLAIM_ACCT=y not sati…
35 local buffer_size=$(cat $zswapd_s | grep 'buffer_size' | awk -F ':' '{print$2}')
68 …local total_process_time=$(cat log.txt | grep -A5 $mem_type | grep total_process | awk '{print $2}…
69 local drain_pages_time=$(cat log.txt | grep -A5 $mem_type | grep drain_pages | awk '{print $2}')
70 local shrink_file_time=$(cat log.txt | grep -A5 $mem_type | grep shrink_file | awk '{print $2}')
71 local shrink_anon_time=$(cat log.txt | grep -A5 $mem_type | grep shrink_anon | awk '{print $2}')
72 local shrink_slab_time=$(cat log.txt | grep -A5 $mem_type | grep shrink_slab | awk '{print $2}')
83 …local total_process_freed=$(cat log.txt | grep -A5 $mem_type | grep total_process | awk '{print $3…
84 … local shrink_file_freed=$(cat log.txt | grep -A5 $mem_type | grep shrink_file | awk '{print $3}')
85 … local shrink_anon_freed=$(cat log.txt | grep -A5 $mem_type | grep shrink_anon | awk '{print $3}')
[all …]
Dmem_debug07.sh30 zcat /proc/config.gz | grep CONFIG_LOWMEM=y || tst_res TCONF "CONFIG_LOWMEM=y not satisfied!"
31 … zcat /proc/config.gz | grep CONFIG_LMKD_DBG=y || tst_res TCONF "CONFIG_LMKD_DBG=y not satisfied!"
48 …local dmesg_lowmem_info=$(dmesg | grep "lowmem" | grep pid | grep uid | grep tgid | grep total_vm …
49 | grep rss | grep nptes | grep swap | grep adj | grep s | grep name)
Dmem_debug03.sh30 zcat /proc/config.gz | grep CONFIG_DMABUF_PROCESS_INFO=y || \
36 local result=$(cat /proc/process_dmabuf_info | grep Process | grep pid \
37 | grep fd | grep size_bytes | grep ino | grep exp_pid | grep exp_task_comm \
38 | grep buf_name | grep exp_name)
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/
Dsched_rtg06.sh32 PPID=$(ps -ef | grep "/sched_rtg06.sh" | grep -v grep | awk '{print $3}')
63 ps -ef | grep "sched_rtg06.sh" | grep -v "grep" | grep -v ${PPID} | cut -c 9-18 | xargs kill -9
65 ps -ef | grep "create_process" | grep -v "grep" | grep -v ${PPID} | cut -c 9-18 | xargs kill -9
70 PID=$(ps -ef | grep ohos.samples.ecg | grep -v grep | awk '{print $2}')
72 dmesg | grep "BUG" ||
73 dmesg | grep "panic" ||
74 dmesg | grep "Unable to handle kernel" ||
75 dmesg | grep "WARNING:"
Dsched_rtg03.sh33 PID=$(ps -ef | grep "create_process" | grep -v grep | awk '{print $2}')
73 …local _rtg_id=$(cat /proc/sched_rtg_debug | grep RTG_ID | grep -v grep | awk '{print $3}' | head -…
74 local _rtg_pid=$(cat /proc/sched_rtg_debug | grep $PID | grep -v grep | awk '{print $3}')
87 cat $_sched_rtg_debug | grep $PID
98 ps -ef | grep "create_process" | grep -v "grep" | cut -c 9-18 \
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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
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
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=".*"'
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/
Dkselftest_deps.sh115 l1_tests=$(grep -r --include=Makefile "^LDLIBS" | \
116 grep -v "VAR_LDLIBS" | awk -F: '{print $1}')
128 l2_tests=$(grep -r --include=Makefile ": LDLIBS" | \
129 grep -v "VAR_LDLIBS" | awk -F: '{print $1}')
142 l3_tests=$(grep -r --include=Makefile "^VAR_LDLIBS" | \
143 grep -v "pkg-config" | awk -F: '{print $1}')
174 test_libs=$(grep --include=Makefile "^LDLIBS" $test | \
175 grep -v "VAR_LDLIBS" | \
185 test_libs=$(grep --include=Makefile ": LDLIBS" $test | \
186 grep -v "VAR_LDLIBS" | \
[all …]
/kernel/linux/linux-5.10/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 | egrep -c 'WARNING:|Warn'`
141 n_calltrace=`grep -c 'Call Trace:' $file`
[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
/kernel/linux/linux-5.10/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]*'
100 if grep -q "^hist:" $evdir/trigger; then
104 if echo $DEFINED_VARS $__vars | grep -vqw ${v#$}; then
112 grep -v "^#" $evdir/trigger | while read action active; do
/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/
Dcpuisolation04.sh31 PPID=$(ps -ef | grep "/cpuisolation04.sh" | grep -v grep | awk '{print $3}')
56 ps -ef | grep "create_process" | grep -v "grep" \
57 | grep -v ${PPID} | cut -c 9-18 | xargs kill -9
75 cpu_isolated_state=$(cat $global_state | grep 'Isolated:' \
109 | awk -F " " '{print $3}' | grep -w "$pid") ];then
112 | awk -F " " '{print $3}' | grep -w "$pid") ];then
115 | awk -F " " '{print $3}' | grep -w "$pid") ];then
118 | awk -F " " '{print $3}' | grep -w "$pid") ];then
Dcpuisolation02.sh40 cpu_total=$(cat /proc/cpuinfo | grep "processor"| wc -l)
62 | awk '!arr[$0]++' | grep -w "$pid") ]; then
66 | awk '!arr[$0]++' | grep -w "$pid") ]; then
70 | awk '!arr[$0]++' | grep -w "$pid") ]; then
74 | awk '!arr[$0]++' | grep -w "$pid") ]; then
84 cpu_total=$(cat /proc/cpuinfo | grep "processor"| wc -l)
88 cpu_isolated=$(cat $global_state | grep 'Isolated:' \
90 nr_isolated=$(cat $global_state | grep 'Nr isolated CPUs:' \
127 | awk -F " " '{print $3}' | grep -w "$pid1"
143 | awk -F " " '{print $3}' | grep -w "$pid2"
[all …]
Dcpuisolation03.sh65 cpu_total=$(cat /proc/cpuinfo | grep "processor" | wc -l)
71 cpu_isolated_state=$(cat $global_state | grep 'Isolated:' \
93 cpu_online_state=$(cat $global_state | grep 'Online:' \
102 cpu_num_isolated_state=$(cat $global_state | grep 'Isolated:' \
117 | awk -F " " '{print $3}' | grep -w "$pid") ];then
133 cpu_online_state1=$(cat $global_state | grep 'Online:' \
142 cpu_num_isolated_state1=$(cat $global_state | grep 'Isolated:' \
153 cpu_isolated_state1=$(cat $global_state | grep 'Isolated:' \
174 cpu_isolated_state2=$(cat $global_state | grep 'Isolated:' \
200 cpu_online_state2=$(cat $global_state | grep 'Online:' \
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-synthetic-event-syntax.tc30 grep "myevent[[:space:]]u64 var1" synthetic_events
40 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
42 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
44 grep "myevent[[:space:]]u64 var1; u64 var2" synthetic_events
63 grep "myevent[[:space:]]unsigned long var" synthetic_events
67 grep "myevent[[:space:]]char\[10\] var" synthetic_events
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_set_ftrace_file.tc27 if ! echo "$1" | grep -q "^$2\$"; then
30 echo "$1" | grep -v "^$2\$"
36 dd1=`dd if=$FILTER bs=1 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
37 dd100=`dd if=$FILTER bs=100 | grep -v -e 'records in' -e 'records out' -e 'bytes copied'`
118 cat set_ftrace_filter | grep -v '#' | cut -d' ' -f1 | cut -d':' -f1 | sort -u > $TMPDIR/actual
124 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected
129 grep -v 'try.*lock$' $TMPDIR/expected > $TMPDIR/expected2
135 grep -v '^m.*lock$' $TMPDIR/expected > $TMPDIR/expected2
141 grep -v '^c.*unlock' $TMPDIR/expected > $TMPDIR/expected2

12345678910>>...20