Home
last modified time | relevance | path

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

123

/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 …]
/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.sh12 function log() { function
19 log "SKIP: $1"
27 log "ERROR: $1"
88 log "${msg%% }"
155 log "${msg%% }"
160 log "$ret"
172 log "% rmmod $mod"
194 log "% echo 0 > /sys/kernel/livepatch/$mod/enabled"
210 log "% echo $ret > /sys/module/$mod/parameters/pre_patch_ret"
/tools/testing/selftests/tpm2/
Dtpm2_tests.py229 log = logging.getLogger(__name__)
230 log.debug("test_make_two_spaces")
238 log.debug("%08x" % (root1))
239 log.debug("%08x" % (root2))
240 log.debug("%08x" % (root3))
243 log = logging.getLogger(__name__)
244 log.debug("test_flush_context")
248 log.debug("%08x" % (root1))
253 log = logging.getLogger(__name__)
254 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
DMakefile6 EXTRA_CLEAN := err.log
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcu.sh23 ngps=`grep ver: $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* ver: //' -e 's/ .*$//'`
43 …nclosecalls=`grep --binary-files=text 'torture: Reader Batch' $i/console.log | tail -1 | awk '{for…
60 …echo $nclosecalls "Reader Batch close calls in" $(($dur/60)) minute run: $i > $i/console.log.rcu.d…
Dkvm-recheck.sh28 head -1 $resdir/log
31 rm -f $i/console.log.*.diags
49 parse-console.sh $i/console.log $configfile
Dkvm-find-errors.sh43 if grep -q -e "--buildonly" < ${rundir}/log
50 for i in ${rundir}/*/console.log
Dkvm-test-1-run.sh46 echo ' ---' Kconfig fragment at: $config_template >> $resdir/log
145 qemu_args="$qemu_args `identify_qemu_args "$QEMU" "$resdir/console.log"`"
161 echo "NOTE: $QEMU either did not run or was interactive" > $resdir/console.log
213 oldline="`tail $resdir/console.log`"
224 newline="`tail $resdir/console.log`"
229 …last_ts="`tail $resdir/console.log | grep '^\[ *[0-9]\+\.[0-9]\+]' | tail -1 | sed -e 's/^\[ *//' …
Dkvm-recheck-rcuperf-ftrace.sh23 sed -e 's/^\[[^]]*]//' < $i/console.log |
Dkvm-recheck-rcuperf.sh31 sed -e 's/^\[[^]]*]//' < $i/console.log |
Dkvm-recheck-lock.sh22 ncs=`grep "Writes: Total:" $i/console.log 2> /dev/null | tail -1 | sed -e 's/^.* Total: //' -e 's/…
/tools/testing/selftests/
D.gitignore5 tpm2/SpaceTest.log
/tools/thermal/tmon/
DREADME43 -l, --log log data to /var/tmp/tmon.log
/tools/testing/selftests/tc-testing/plugin-lib/
DREADME-PLUGINS22 This plugin will write files to the cwd, called vgnd-xxx.log. These will contain
23 the valgrind output for test xxx. Any file matching the glob 'vgnd-*.log' will be
/tools/power/cpupower/bench/
Dexample.cfg5 output = /var/log/cpufreq-bench
/tools/perf/Documentation/
DBuild.txt62 $ ASAN_OPTIONS=log_path=asan.log ./perf record -a
64 ASan outputs all detected issues into a log file named 'asan.log.<pid>'.
/tools/virtio/ringtest/
DREADME6 # sh run-on-all.sh perf stat -r 10 --log-fd 1 -- ./ring
/tools/testing/selftests/net/
Dxfrm_policy.sh269 local log=$1
281 echo "FAIL: $log" 1>&2
286 echo "PASS: $log"
295 local log=$2
304 echo "FAIL: $log" 1>&2
319 echo "FAIL: $log" 1>&2
327 echo "PASS: $log"
/tools/perf/util/
DPERF-VERSION-GEN22 CID=$(git log -1 --abbrev=12 --pretty=format:"%h" 2>/dev/null) && CID="-g$CID"
/tools/usb/usbip/
D.gitignore9 config.log
/tools/testing/selftests/pstore/
Dcommon_tests64 LOG_FILE=$LOG_DIR/`basename $0`.log
/tools/power/acpi/tools/acpidbg/
Dacpidbg.c322 ACPI_AML_BATCH_DO(fd, read, log, ret); in acpi_aml_loop()
324 ACPI_AML_DO(fd, read, log, ret); in acpi_aml_loop()
328 ACPI_AML_BATCH_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop()
330 ACPI_AML_DO(STDOUT_FILENO, write, log, ret); in acpi_aml_loop()
/tools/power/pm-graph/config/
Dexample.cfg33 # add the dmesg and ftrace log to the html output (default: false)
60 # Gzip the log files to save space
61 # Gzip the generated log files, and read gzipped log files (default: false)

123