Home
last modified time | relevance | path

Searched refs:grep (Results 1 - 25 of 520) sorted by relevance

12345678910>>...21

/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/
H A Dmem_debug05.sh27 zcat /proc/config.gz | grep CONFIG_RECLAIM_ACCT=y || tst_res TCONF "CONFIG_RECLAIM_ACCT=y not satisfied!"
32 local buffer_size=$(cat $zswapd_s | grep 'buffer_size' | awk -F ':' '{print$2}')
65 local total_process_time=$(cat log.txt | grep -A5 $mem_type | grep total_process | awk '{print $2}')
66 local drain_pages_time=$(cat log.txt | grep -A5 $mem_type | grep drain_pages | awk '{print $2}')
67 local shrink_file_time=$(cat log.txt | grep -A5 $mem_type | grep shrink_file | awk '{print $2}')
68 local shrink_anon_time=$(cat log.txt | grep -A5 $mem_type | grep shrink_ano
[all...]
H A Dmem_debug07.sh27 zcat /proc/config.gz | grep CONFIG_LOWMEM=y || tst_res TCONF "CONFIG_LOWMEM=y not satisfied!"
28 zcat /proc/config.gz | grep CONFIG_LMKD_DBG=y || tst_res TCONF "CONFIG_LMKD_DBG=y not satisfied!"
45 local dmesg_lowmem_info=$(dmesg | grep "lowmem" | grep pid | grep uid | grep tgid | grep total_vm \
46 | grep rss | grep nptes | grep swa
[all...]
H A Dmem_debug03.sh27 zcat /proc/config.gz | grep CONFIG_DMABUF_PROCESS_INFO=y || \
33 local result=$(cat /proc/process_dmabuf_info | grep Process | grep pid \
34 | grep fd | grep size_bytes | grep ino | grep exp_pid | grep exp_task_comm \
35 | grep buf_name | grep exp_nam
[all...]
/kernel/linux/linux-6.6/tools/memory-model/scripts/
H A Dcmplitmushist.sh23 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
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/
H A Dkselftest_deps.sh93 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
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/
H A 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)
148 l3_tests=$(grep -r --include=Makefile "^VAR_LDLIBS" | \
149 grep -v "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq)
158 l4_tests=$(grep -r --include=Makefile "^LDLIBS" | \
159 grep "pkg-config\|PKG_CONFIG" | awk -F: '{print $1}' | uniq)
167 l5_tests=$(grep -r --include=Makefile "LDLIBS +=.*\$(IOURING_EXTRA_LIBS)" | \
209 test_libs=$(grep
[all...]
/kernel/linux/build/test/moduletest/runtest/bin/sched_rtg_t/testcases/bin/
H A Dsched_rtg06.sh29 PPID=$(ps -ef | grep "/sched_rtg06.sh" | grep -v grep | awk '{print $3}')
60 ps -ef | grep "sched_rtg06.sh" | grep -v "grep" | grep -v ${PPID} | cut -c 9-18 | xargs kill -9
62 ps -ef | grep "create_process" | grep -v "grep" | gre
[all...]
H A Dsched_rtg03.sh30 PID=$(ps -ef | grep "create_process" | grep -v grep | awk '{print $2}')
70 local _rtg_id=$(cat /proc/sched_rtg_debug | grep RTG_ID | grep -v grep | awk '{print $3}' | head -n 1)
71 local _rtg_pid=$(cat /proc/sched_rtg_debug | grep $PID | grep -v grep | awk '{print $3}')
84 cat $_sched_rtg_debug | grep
[all...]
/kernel/linux/build/test/moduletest/runtest/bin/purgeable_t/testcases/bin/
H A Dpurgeable_mem03.sh30 zcat /proc/config.gz | grep CONFIG_MEM_PURGEABLE=y || tst_res TCONF "CONFIG_MEM_PURGEABLE=y not satisfied!"
35 local testpath=$(find / -name purgeable_cpp_test | grep -v find)
47 cat /proc/${pid}/status | grep -i purg | grep -v grep | grep -v Name >>mem.log
50 cat mem.log | grep -v '0 kB' >mem1.log
57 local lastxml=$(tac log2.log | grep purgeable_cpp_test | grep xml| head -n 1)
H A Dpurgeable_mem02.sh30 zcat /proc/config.gz | grep CONFIG_MEM_PURGEABLE=y || tst_res TCONF "CONFIG_MEM_PURGEABLE=y not satisfied!"
35 local testpath=$(find / -name purgeable_cpp_test | grep -v find)
47 cat /proc/meminfo | grep -i purg | grep -v grep | grep -v Name >>mem.log
50 cat mem.log | grep -v '0 kB' >mem1.log
57 local lastxml=$(tac log2.log | grep purgeable_cpp_test | grep xml| head -n 1)
/kernel/linux/linux-6.6/tools/bootconfig/scripts/
H A 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
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A 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
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Ddo_hbm_test.sh96 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
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A 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-6.6/tools/testing/selftests/bpf/
H A Dtest_bpftool_metadata.sh64 echo "$METADATA_PLAIN" | grep 'a = "foo"' > /dev/null
65 echo "$METADATA_PLAIN" | grep 'b = 1' > /dev/null
67 bpftool prog --json | grep '"metadata":{"a":"foo","b":1}' > /dev/null
69 bpftool map | grep 'metadata.rodata' > /dev/null
76 echo "$METADATA_PLAIN" | grep 'a = "bar"' > /dev/null
77 echo "$METADATA_PLAIN" | grep 'b = 2' > /dev/null
79 bpftool prog --json | grep '"metadata":{"a":"bar","b":2}' > /dev/null
81 bpftool map | grep 'metadata.rodata' > /dev/null
/kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/
H A Dcpuisolation04.sh28 PPID=$(ps -ef | grep "/cpuisolation04.sh" | grep -v grep | awk '{print $3}')
53 ps -ef | grep "create_process" | grep -v "grep" \
54 | grep -v ${PPID} | cut -c 9-18 | xargs kill -9
72 cpu_isolated_state=$(cat $global_state | grep 'Isolated:' \
106 | awk -F " " '{print $3}' | grep -w "$pid") ];then
109 | awk -F " " '{print $3}' | grep
[all...]
H A Dcpuisolation02.sh37 cpu_total=$(cat /proc/cpuinfo | grep "processor"| wc -l)
59 | awk '!arr[$0]++' | grep -w "$pid") ]; then
63 | awk '!arr[$0]++' | grep -w "$pid") ]; then
67 | awk '!arr[$0]++' | grep -w "$pid") ]; then
71 | awk '!arr[$0]++' | grep -w "$pid") ]; then
81 cpu_total=$(cat /proc/cpuinfo | grep "processor"| wc -l)
85 cpu_isolated=$(cat $global_state | grep 'Isolated:' \
87 nr_isolated=$(cat $global_state | grep 'Nr isolated CPUs:' \
124 | awk -F " " '{print $3}' | grep -w "$pid1"
140 | awk -F " " '{print $3}' | grep
[all...]
H A Dcpuisolation03.sh62 cpu_total=$(cat /proc/cpuinfo | grep "processor" | wc -l)
68 cpu_isolated_state=$(cat $global_state | grep 'Isolated:' \
90 cpu_online_state=$(cat $global_state | grep 'Online:' \
99 cpu_num_isolated_state=$(cat $global_state | grep 'Isolated:' \
114 | awk -F " " '{print $3}' | grep -w "$pid") ];then
130 cpu_online_state1=$(cat $global_state | grep 'Online:' \
139 cpu_num_isolated_state1=$(cat $global_state | grep 'Isolated:' \
150 cpu_isolated_state1=$(cat $global_state | grep 'Isolated:' \
171 cpu_isolated_state2=$(cat $global_state | grep 'Isolated:' \
197 cpu_online_state2=$(cat $global_state | grep 'Onlin
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
H A 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
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dtest_brstack.sh33 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/IND_CALL/.*$" $TMPDIR/perf.script
34 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
35 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_foo\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
36 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bar\+[^ ]*/CALL/.*$" $TMPDIR/perf.script
37 grep -E -m1 "^brstack_bar\+[^ ]*/brstack_foo\+[^ ]*/RET/.*$" $TMPDIR/perf.script
38 grep -E -m1 "^brstack_foo\+[^ ]*/brstack_bench\+[^ ]*/RET/.*$" $TMPDIR/perf.script
39 grep -E -m1 "^brstack_bench\+[^ ]*/brstack_bench\+[^ ]*/COND/.*$" $TMPDIR/perf.script
40 grep -E -m1 "^brstack\+[^ ]*/brstack\+[^ ]*/UNCOND/.*$" $TMPDIR/perf.script
60 if grep -E -vm1 "^[^ ]*/($test_filter_expect|-|( *))/.*$" $TMPDIR/perf.script; then
H A Dstat.sh10 if ! perf stat true 2>&1 | grep -E -q "Performance counter stats for 'true':"
22 grep -E -q "Performance counter stats for 'pipe':"
34 grep -E -q "CPU[[:space:]]+THREAD[[:space:]]+VAL[[:space:]]+ENA[[:space:]]+RUN[[:space:]]+TIME[[:space:]]+EVENT"
46 true 2>&1 | grep -q 'seconds time elapsed'
70 if perf stat -e '{slots,topdown-retiring}' true 2>&1 | grep -E -q "<not supported>"
76 if perf stat -e '{topdown-retiring,slots}' true 2>&1 | grep -E -q "<not supported>"
97 if perf stat --no-merge -e "$group_needs_break" true 2>&1 | grep -E -q "<not supported>"
140 if ! perf stat --cputype="$pmu" -e instructions true 2>&1 | grep -E -q "instructions"
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
H A 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
[all...]
/kernel/linux/linux-5.10/tools/bootconfig/
H A Dtest-bootconfig.sh85 xfail grep -i "failed" $OUTFILE
86 xfail grep -i "error" $OUTFILE
124 xpass grep -q "bar" $OUTFILE
125 xpass grep -q "baz" $OUTFILE
126 xpass grep -q "qux" $OUTFILE
137 xfail grep -q "bar" $OUTFILE
138 xfail grep -q "baz" $OUTFILE
139 xpass grep -q "qux" $OUTFILE
146 xpass grep \'\"string\"\' $TEMPCONF
158 xpass grep
[all...]
/kernel/linux/linux-6.6/tools/bootconfig/
H A Dtest-bootconfig.sh85 xfail grep -i "failed" $OUTFILE
86 xfail grep -i "error" $OUTFILE
124 xpass grep -q "bar" $OUTFILE
125 xpass grep -q "baz" $OUTFILE
126 xpass grep -q "qux" $OUTFILE
137 xfail grep -q "bar" $OUTFILE
138 xfail grep -q "baz" $OUTFILE
139 xpass grep -q "qux" $OUTFILE
146 xpass grep \'\"string\"\' $TEMPCONF
158 xpass grep
[all...]
/kernel/linux/linux-5.10/tools/memory-model/scripts/
H A 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

Completed in 8 milliseconds

12345678910>>...21