Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 91) sorted by relevance

1234

/tools/testing/selftests/bpf/
Dtest_verifier_log.c48 static int load(char *log, size_t log_len, int log_level) in load() argument
57 attr.log_buf = ptr_to_u64(log); in load()
88 static void test_log_good(char *log, size_t buf_len, size_t log_len, in test_log_good() argument
94 memset(log, 1, buf_len); in test_log_good()
96 ret = load(log, log_len, 1); in test_log_good()
99 len = strnlen(log, buf_len); in test_log_good()
110 if (strchr(log, 1)) { in test_log_good()
115 check_ones(log + len + 1, buf_len - len - 1, in test_log_good()
118 if (memcmp(full_log, log, LOG_SIZE)) { in test_log_good()
124 static void test_log_bad(char *log, size_t log_len, int log_level) in test_log_bad() argument
[all …]
Dtest_xdp_redirect_multi.sh109 ip netns exec ${NS[2]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-2_${mode}.log &
110 ip netns exec ${NS[3]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-3_${mode}.log &
117 grep -q "${veth_mac[2]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-2_${mode}.log && \
119 grep -q "${veth_mac[3]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-3_${mode}.log && \
130 ip netns exec ${NS[1]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-1_${mode}.log &
131 ip netns exec ${NS[2]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-2_${mode}.log &
132 ip netns exec ${NS[3]} tcpdump -i veth0 -nn -l -e &> ${LOG_DIR}/ns1-3_${mode}.log &
144 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-1_${mode}.log) -eq 4 ] && \
147 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-2_${mode}.log) -eq 2 ] && \
150 [ $(grep -cF "who-has 192.0.2.254" ${LOG_DIR}/ns1-3_${mode}.log) -eq 2 ] && \
[all …]
/tools/testing/selftests/powerpc/eeh/
Deeh-vf-aware.sh10 log "No usable VFs found. Skipping EEH unaware VF test"
14 log "Enabled VFs: $vf_list"
19 log "Testing $vf"
22 log "Driver for $vf doesn't support error recovery, skipping"
28 log "Breaking $vf..."
30 log "$vf failed to recover"
Deeh-functions.sh6 log() { function
56 log "debugfs EEH testing files are missing. Is debugfs mounted?"
68 log "$dev, Skipped: bridge"
77 log "$dev, Skipped: ahci doesn't support recovery"
87 log "$dev, Skipped: Bad initial PE state"
101 log "Error: '$dev' must be a sysfs device name (DDDD:BB:DD.F)"
125 log "$dev, waited $i/${max_wait}"
130 log "$dev, Failed to recover!"
134 log "$dev, Recovered after $i seconds"
208 log "Unable to enable VFs on $pf, skipping"
[all …]
Deeh-vf-unaware.sh10 log "No usable VFs found. Skipping EEH unaware VF test"
14 log "Enabled VFs: $vf_list"
18 log "Testing $vf"
21 log "Driver for $vf supports error recovery. Unbinding..."
25 log "Breaking $vf..."
27 log "$vf failed to recover"
/tools/perf/tests/
Dattr.py95 log.debug(" %s = %s" % (key, val))
99 log.debug(" Event %s" % name);
107 log.debug(" [%s] %s %s" % (t, self[t], other[t]));
124 log.warning("expected %s=%s, got %s" % (t, self[t], other[t]))
145 log.warning("running '%s'" % path)
160 log.warning("test limitation '%s'" % self.arch)
166 log.debug(" loading expected events");
187 log.warning("excluded architecture list %s" % arch_list)
232 log.info(" '%s' ret '%s', expected '%s'" % (cmd, str(ret), str(self.ret)))
240 log.debug(" compare");
[all …]
/tools/testing/selftests/livepatch/
Dfunctions.sh15 function log() { function
22 log "SKIP: $1"
39 log "ERROR: $1"
133 log "${msg%% }"
200 log "${msg%% }"
205 log "$ret"
217 log "% rmmod $mod"
239 log "% echo 0 > /sys/kernel/livepatch/$mod/enabled"
255 log "% echo $ret > /sys/module/$mod/parameters/pre_patch_ret"
268 log "===== TEST: $test ====="
/tools/testing/selftests/rcutorture/bin/
Dtorture.sh206 echo " --- " $scriptname $args | tee -a $T/log
207 echo " --- Results directory: " $ds | tee -a $T/log
217 echo " --- Zero time for rcutorture, disabling" | tee -a $T/log
229 echo " --- Zero time for locktorture, disabling" | tee -a $T/log
241 echo " --- Zero time for scftorture, disabling" | tee -a $T/log
261 echo " --- $curflavor:" Start `date` | tee -a $T/log
272 cat $T/$curflavor.out | tee -a $T/log
273 echo retcode=$retcode | tee -a $T/log
319 echo " --- allmodconfig:" Start `date` | tee -a $T/log
404 echo " --- " Done `date` | tee -a $T/log
[all …]
Dkvm-recheck-rcu.sh23 ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
44 nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | \
75 …echo $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i > $i/console.log.rcu.d…
Dkvm-find-errors.sh46 if grep -q -e "--build-\?only" < ${rundir}/log && ! test -f "${rundir}/remote-log"
54 for i in ${rundir}/*/console.log
Dkvm-recheck.sh31 head -1 $resdir/log
35 rm -f $i/console.log.*.diags
54 parse-console.sh $i/console.log $configfile
Dkvm-again.sh145 …/{console.log,console.log.diags,qemu_pid,qemu-pid,qemu-retval,Warnings,kvm-test-1-run.sh.out,kvm-t…
Dkvm-recheck-rcuscale-ftrace.sh23 sed -e 's/^\[[^]]*]//' < $i/console.log |
/tools/testing/selftests/lkdtm/
Dstack-entropy.sh23 log=$(mktemp -t stack-entropy-XXXXXX)
24 dmesg --follow >"$log" & pid=$!
39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \
43 rm -f "$log"
/tools/testing/selftests/tpm2/
Dtpm2_tests.py230 log = logging.getLogger(__name__)
231 log.debug("test_make_two_spaces")
239 log.debug("%08x" % (root1))
240 log.debug("%08x" % (root2))
241 log.debug("%08x" % (root3))
244 log = logging.getLogger(__name__)
245 log.debug("test_flush_context")
249 log.debug("%08x" % (root1))
254 log = logging.getLogger(__name__)
255 log.debug("test_get_handles")
[all …]
/tools/testing/selftests/zram/
Dzram_lib.sh205 mkswap /dev/zram$i > err.log 2>&1
207 cat err.log
211 swapon /dev/zram$i > err.log 2>&1
213 cat err.log
228 swapoff /dev/zram$i > err.log 2>&1
230 cat err.log
247 mkfs.$fs /dev/zram$i > err.log 2>&1
249 cat err.log
/tools/testing/selftests/arm64/fp/
Dsve-stress43 log=`mktemp`
44 logs=$logs\ $log
45 ./sve-test >$log &
Dfpsimd-stress44 log=`mktemp`
45 logs=$logs\ $log
46 ./fpsimd-test >$log &
/tools/perf/tests/shell/
Dbuildid.sh120 log=$(mktemp /tmp/perf.log.XXX)
124 ${perf} record --buildid-all -o ${data} $@ &> ${log}
127 echo "see log: ${log}"
133 rm -f ${log}
/tools/kvm/kvm_stat/
Dkvm_stat.txt69 log in csv format. Requires option -l/--log or -L/--log-to-file.
70 When used with option -L/--log-to-file, the header is only ever
94 --log::
99 --log-to-file=<file>::
100 like -l/--log, but logging to a file. Appends to existing files.
/tools/testing/selftests/
Drun_kselftest.sh23 -s | --summary Print summary with detailed log in output.log
/tools/testing/selftests/net/
Dgro.sh27 1>>log.txt &
31 1>>log.txt
/tools/testing/selftests/gpio/
Dgpio-mockup.sh82 log() function
206 log "test_line $chip $offset"
270 log test_no_line "$*"
295 log "GPIO $module test with ranges: <$ranges>:"
/tools/testing/kunit/
Dkunit_parser.py35 self.log = [] # type: List[str]
38 return 'TestCase(' + str(self.status) + ',' + self.name + ',' + str(self.log) + ')'
132 def print_log(log) -> None: argument
133 for m in log:
144 test_case.log.append(lines.peek())
166 test_case.log.append(lines.pop())
192 test_case.log.append(lines.pop())
399 print_log(map(yellow, test_case.log))
404 print_log(map(yellow, test_case.log))
/tools/thermal/tmon/
DREADME43 -l, --log log data to /var/tmp/tmon.log

1234