Home
last modified time | relevance | path

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

12345678910>>...36

/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...]
/third_party/ltp/testcases/kernel/syscalls/syslog/
H A Dsyslog0776 emerg_old=`grep -c "syslogtst: emergency log" /var/log/messages`
77 alert_old=`grep -c "syslogtst: alert log" /var/log/messages`
78 crit_old=`grep -c "syslogtst: critical log" /var/log/messages`
79 err_old=`grep -c "syslogtst: error log" /var/log/messages`
80 warning_old=`grep -c "syslogtst: warning log" /var/log/messages`
81 notice_old=`grep -c "syslogtst: notice log" /var/log/messages`
82 info_old=`grep -c "syslogtst: info log" /var/log/messages`
83 debug_old=`grep -c "syslogtst: debug log" /var/log/messages`
102 emerg_new=`grep -c "syslogtst: emergency log" /var/log/messages`
103 alert_new=`grep
[all...]
/third_party/mbedtls/tests/
H A Dcontext-info.sh140 if ! ( grep -F 'All heap blocks were freed -- no leaks are possible' "$OUT_FILE" &&
141 grep -F 'ERROR SUMMARY: 0 errors from 0 contexts' "$OUT_FILE" ) > /dev/null
156 if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | grep "$2" >/dev/null; then :; else
163 if grep -v '^==' "$OUT_FILE" | grep -v 'Serious error when reading debug info' | grep -v "^*" | 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)
/third_party/ltp/testcases/network/rpc/basic_tests/rpcinfo/
H A Drpcinfo01.sh16 rpcinfo -p $(tst_ipaddr) | grep tcp | sed -n 2p > rpc_out
17 rpcinfo -p $(tst_ipaddr) | grep udp | sed -n 2p >> rpc_out
19 wc -l rpc_out | grep -q "2" || \
23 TPNUM=$(grep tcp rpc_out | awk '{print $1}')
24 TVNUM=$(grep tcp rpc_out | awk '{print $2}')
25 TCPNAME=$(grep tcp rpc_out | awk '{print $5}')
26 UPNUM=$(grep udp rpc_out | awk '{print $1}')
27 UVNUM=$(grep udp rpc_out | awk '{print $2}')
28 UDPNAME=$(grep udp rpc_out | awk '{print $5}')
35 EXPECT_RHOST_PASS rpcinfo -p $thost | grep
[all...]
/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/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...]
/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-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/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/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
/third_party/elfutils/tests/
H A Drun-debuginfod-find.sh25 bsdtar --version | grep -q zstd && zstd=true || zstd=false
105 | grep "$what" | awk '{print $NF}')"
138 ps -q $PID1 -e -L -o '%p %c %a' | grep groom
139 ps -q $PID1 -e -L -o '%p %c %a' | grep scan
140 ps -q $PID1 -e -L -o '%p %c %a' | grep traverse
157 -a prog | grep 'Build ID' | cut -d ' ' -f 7`
191 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
193 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
202 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count{code="404"}'`
204 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun
[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...]

Completed in 9 milliseconds

12345678910>>...36