| /tools/testing/selftests/bpf/prog_tests/ |
| A D | bad_struct_ops.c | 10 char *log = NULL; in invalid_prog_reuse() local 21 log = stop_libbpf_log_capture(); in invalid_prog_reuse() 23 ASSERT_HAS_SUBSTR(log, in invalid_prog_reuse() 28 free(log); in invalid_prog_reuse() 35 char *log = NULL; in unused_program() local 52 log = stop_libbpf_log_capture(); in unused_program() 53 ASSERT_HAS_SUBSTR(log, "prog 'foo': failed to load", in unused_program() 57 free(log); in unused_program()
|
| A D | core_reloc_raw.c | 15 static char log[16 * 1024]; variable 48 .log_buf = log, in test_bad_local_id() 49 .log_size = sizeof(log), in test_bad_local_id() 79 printf("%s", log); in test_bad_local_id() 87 log[0] = 0; in test_bad_local_id() 94 attr.log_buf = (__u64)log; in test_bad_local_id() 95 attr.log_size = sizeof(log); in test_bad_local_id() 107 printf("%s", log); in test_bad_local_id() 114 ASSERT_HAS_SUBSTR(log, "relo #0: bad type id 100500", "program load log"); in test_bad_local_id()
|
| A D | summarization.c | 7 static void print_verifier_log(const char *log) in print_verifier_log() argument 10 fprintf(stdout, "VERIFIER LOG:\n=============\n%s=============\n", log); in print_verifier_log() 24 char log[16*1024]; in test_aux() local 27 opts.kernel_log_buf = log; in test_aux() 28 opts.kernel_log_size = sizeof(log); in test_aux() 39 print_verifier_log(log); in test_aux() 54 print_verifier_log(log); in test_aux() 61 ASSERT_HAS_SUBSTR(log, "helper call might sleep in a non-sleepable prog", "error log"); in test_aux() 71 ASSERT_HAS_SUBSTR(log, err_msg, "error log"); in test_aux()
|
| /tools/perf/tests/shell/base_report/ |
| A D | test_basic.sh | 25 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err 53 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio > $LOGS_DIR/basic_basic.log 2> $LOGS_DIR/ba… 77 …on/check_all_patterns_found.pl "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_nrsamples.log 89 $CMD_PERF report -i $CURRENT_TEST_DIR/perf.data --stdio --header-only > $LOGS_DIR/basic_header.log 132 …common/check_all_patterns_found.pl "$REGEX_LINES_HEADER" "$REGEX_LINES" < $LOGS_DIR/basic_cpuut.log 144 $CMD_PERF report --stdio -i $CURRENT_TEST_DIR/perf.data --pid=1 > $LOGS_DIR/basic_pid.log 2> $LOGS_… 162 …common/check_all_lines_matched.pl "$RE_LINE_EMPTY" "$RE_LINE_COMMENT" < $LOGS_DIR/basic_symbols.log 189 …D_PERF report -i $CURRENT_TEST_DIR/perf.data.1 --stdio --header-only > $LOGS_DIR/latency_header.log 192 ../common/check_all_patterns_found.pl ", context_switch = 1, " < $LOGS_DIR/latency_header.log 203 …/common/check_all_patterns_found.pl "# Overhead Latency Command" < $LOGS_DIR/latency_default.log [all …]
|
| A D | setup.sh | 24 …ecord -asdg -e $SW_EVENT -o $CURRENT_TEST_DIR/perf.data -- $CMD_LONGER_SLEEP 2> $LOGS_DIR/setup.log 27 ../common/check_all_patterns_found.pl "$RE_LINE_RECORD1" "$RE_LINE_RECORD2" < $LOGS_DIR/setup.log 34 …r i in {1..100} ; do cat /proc/cpuinfo 1> /dev/null & done; sleep 1" 2> $LOGS_DIR/setup-latency.log 38 cat $LOGS_DIR/setup-latency.log 41 …mon/check_all_patterns_found.pl "$RE_LINE_RECORD1" "$RE_LINE_RECORD2" < $LOGS_DIR/setup-latency.log
|
| /tools/testing/selftests/powerpc/eeh/ |
| A D | eeh-functions.sh | 6 log() { function 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" 214 log "unable to find enabled vf on $pf" [all …]
|
| A D | eeh-vf-aware.sh | 10 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"
|
| A D | eeh-vf-unaware.sh | 10 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/shell/base_probe/ |
| A D | test_basic.sh | 30 $CMD_PERF probe --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err 33 …IPTION" "OPTIONS" "PROBE\s+SYNTAX" "PROBE\s+ARGUMENT" "LINE\s+SYNTAX" < $LOGS_DIR/basic_helpmsg.log 35 …found.pl "LAZY\s+MATCHING" "FILTER\s+PATTERN" "EXAMPLES" "SEE\s+ALSO" < $LOGS_DIR/basic_helpmsg.log 37 …erbose" "quiet" "add=" "del=" "list.*EVENT" "line=" "vars=" "externs" < $LOGS_DIR/basic_helpmsg.log 39 …lter=FILTER" "force" "dry-run" "max-probes" "exec=" "demangle-kernel" < $LOGS_DIR/basic_helpmsg.log 54 $CMD_PERF probe 2> $LOGS_DIR/basic_usage.log > /dev/null 56 …" "verbose" "quiet" "add" "del" "force" "line" "vars" "externs" "range" < $LOGS_DIR/basic_usage.log 66 $CMD_PERF probe --quiet --add vfs_read > $LOGS_DIR/basic_quiet01.log 2> $LOGS_DIR/basic_quiet01.err 68 $CMD_PERF probe --quiet --del vfs_read > $LOGS_DIR/basic_quiet03.log 2> $LOGS_DIR/basic_quiet02.err
|
| A D | test_invalid_options.sh | 62 … $LOGS_DIR/invalid_options_mutually_exclusive.log && rm -f $LOGS_DIR/invalid_options_mutually_excl… 66 ! $CMD_PERF probe $opt > /dev/null 2> $LOGS_DIR/aux.log 69 …on/check_all_patterns_found.pl "Error: switch .+ cannot be used with switch .+" < $LOGS_DIR/aux.log 76 cat $LOGS_DIR/aux.log | grep "Error" >> $LOGS_DIR/invalid_options_mutually_exclusive.log
|
| A D | test_adding_kernel.sh | 58 $CMD_PERF list probe:\* > $LOGS_DIR/adding_kernel_list.log 71 $CMD_PERF probe -l > $LOGS_DIR/adding_kernel_list-l.log 88 $CMD_PERF stat -e probe:$TEST_PROBE\* -o $LOGS_DIR/adding_kernel_using_probe.log -- cat /proc/uptim… 121 $CMD_PERF list probe:\* > $LOGS_DIR/adding_kernel_list_removed.log 124 …INE_EMPTY" "List of pre-defined events" "Metric Groups:" < $LOGS_DIR/adding_kernel_list_removed.log 190 …atched.pl "$REGEX_LINE" "$RE_LINE_EMPTY" "$RE_LINE_COMMENT" < $LOGS_DIR/adding_kernel_using_two.log 193 VALUE_1=`grep "$TEST_PROBE;" $LOGS_DIR/adding_kernel_using_two.log | awk -F';' '{print $1}'` 194 VALUE_2=`grep "${TEST_PROBE}_${NO_OF_PROBES};" $LOGS_DIR/adding_kernel_using_two.log | awk -F';' '{… 284 $CMD_PERF script -i $CURRENT_TEST_DIR/perf.data > $LOGS_DIR/adding_kernel_func_retval_script.log 288 …on/check_all_lines_matched.pl "$REGEX_SCRIPT_LINE" < $LOGS_DIR/adding_kernel_func_retval_script.log [all …]
|
| /tools/testing/selftests/devices/error_logs/ |
| A D | test_device_error_logs.py | 64 for log in logs: 65 if log.get("DEVICE") and log["prefix"] <= PREFIX_ERROR: 66 if not error_log_per_device.get(log["DEVICE"]): 67 error_log_per_device[log["DEVICE"]] = [] 68 error_log_per_device[log["DEVICE"]].append(log) 80 for log in error_log_per_device[device]: 81 ksft.print_msg(log["message"])
|
| /tools/perf/tests/shell/lib/ |
| A D | attr.py | 96 log.debug(" Event %s" % name); 152 log.warning("running '%s'" % path) 178 log.debug(" loading expected events"); 313 log.debug(" compare"); 325 log.debug(" ->OK") 327 log.debug(" ->FAIL"); 360 log.debug(" matched") 409 global log 419 log = logging.getLogger('test') 420 log.setLevel(level) [all …]
|
| /tools/testing/selftests/amd-pstate/ |
| A D | gitsource.sh | 63 rm -rf $OUTFILE_GIT*.log 91 …KUP_DIR/$OUTFILE_GIT.time-gitsource-$1-$2.log make test -j$MAKE_CPUS > $BACKUP_DIR/$OUTFILE_GIT-pe… 109 avg_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-freq-$1-$2.log) 113 avg_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_GIT-load-$1-$2.log) 116 … user $OUTFILE_GIT.time-gitsource-$1-$2.log | awk '{print $1}' | sed -e 's/user//' > $OUTFILE_GIT-… 117 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1-$2.log) 120 grep Joules $OUTFILE_GIT-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_GIT-energy-$1-$2.log 121 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-energy-$1-$2.log) 161 avg_freq=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_GIT-freq-$1.log) 169 time_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_GIT-time-$1.log) [all …]
|
| A D | tbench.sh | 58 rm -rf $OUTFILE_TBENCH*.log 91 …_freq=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-freq-$1-$2.log) 95 …_load=$(awk 'BEGIN {i=0; sum=0};{i++; sum += $1};END {print sum/i}' $OUTFILE_TBENCH-load-$1-$2.log) 98 …grep Throughput $OUTFILE_TBENCH-perf-$1-$2.log | awk '{print $2}' > $OUTFILE_TBENCH-throughput-$1-… 99 tp_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-throughput-$1-$2.log) 102 grep Joules $OUTFILE_TBENCH-perf-$1-$2.log | awk '{print $4}' > $OUTFILE_TBENCH-energy-$1-$2.log 103 en_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-energy-$1-$2.log) 143 …g_freq=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_TBENCH-freq-$1.log) 147 …g_load=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum/'$LOOP_TIMES'}' $OUTFILE_TBENCH-load-$1.log) 151 tp_sum=$(awk 'BEGIN {sum=0};{sum += $1};END {print sum}' $OUTFILE_TBENCH-throughput-$1.log) [all …]
|
| A D | run.sh | 80 echo "$policy $cur_gov" >> $OUTFILE.backup_governor.log 90 policies=$(awk '{print $1}' $OUTFILE.backup_governor.log) 359 rm -rf $OUTFILE.log 360 rm -rf $OUTFILE.backup_governor.log 365 rm -rf $OUTFILE.log 366 rm -rf $OUTFILE.backup_governor.log 371 rm -rf $OUTFILE.log 372 rm -rf $OUTFILE.backup_governor.log 383 rm -rf $OUTFILE.log 384 rm -rf $OUTFILE.backup_governor.log [all …]
|
| /tools/testing/selftests/rcutorture/bin/ |
| A D | torture.sh | 266 echo " --- " $scriptname $args | tee -a $T/log 350 cat $T/$curflavor.out | tee -a $T/log 351 echo retcode=$retcode | tee -a $T/log 450 echo Success >> $amcdir/log 484 echo Success >> $rtfdir/log 561 echo Success >> $rrdir/log 707 echo " --- " Done `date` | tee -a $T/log 710 echo SUCCESSES: | tee -a $T/log 713 cat "$T/successes" | tee -a $T/log 717 echo FAILURES: | tee -a $T/log [all …]
|
| /tools/testing/selftests/livepatch/ |
| A D | functions.sh | 20 function log() { function 27 log "SKIP: $1" 56 log "ERROR: $1" 171 log "${msg%% }" 232 log "${msg%% }" 237 log "$ret" 249 log "% rmmod $mod" 271 log "% echo 0 > $SYSFS_KLP_DIR/$mod/enabled" 287 log "% echo $ret > /sys/module/$mod/parameters/pre_patch_ret" 302 log "$last_dmesg_msg" [all …]
|
| /tools/testing/selftests/tpm2/ |
| A D | tpm2_tests.py | 243 log = logging.getLogger(__name__) 244 log.debug("test_make_two_spaces") 252 log.debug("%08x" % (root1)) 253 log.debug("%08x" % (root2)) 254 log.debug("%08x" % (root3)) 258 log.debug("test_flush_context") 262 log.debug("%08x" % (root1)) 268 log.debug("test_get_handles") 280 log.debug("%08x" % (handles[0])) 281 log.debug("%08x" % (handles[1])) [all …]
|
| /tools/testing/selftests/lkdtm/ |
| A D | stack-entropy.sh | 23 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/kvm/s390/ |
| A D | cmma_test.c | 507 struct kvm_s390_cmma_log log; in test_get_skip_holes() local 542 query_cmma_range(vm, 0, 1, &log); in test_get_skip_holes() 543 assert_cmma_dirty(gfn_offset, 1, &log); in test_get_skip_holes() 555 assert_cmma_dirty(gfn_offset, 0x20, &log); in test_get_skip_holes() 570 assert_cmma_dirty(gfn_offset, 0x20, &log); in test_get_skip_holes() 598 query_cmma_range(vm, gfn_offset, 15, &log); in test_get_skip_holes() 599 assert_cmma_dirty(gfn_offset, 15, &log); in test_get_skip_holes() 611 query_cmma_range(vm, gfn_offset, 17, &log); in test_get_skip_holes() 612 assert_cmma_dirty(gfn_offset, 17, &log); in test_get_skip_holes() 625 query_cmma_range(vm, gfn_offset, 25, &log); in test_get_skip_holes() [all …]
|
| /tools/testing/selftests/ |
| A D | run_kselftest.sh | 30 -s | --summary Print summary with detailed log in output.log (conflict with -p) 31 -p | --per-test-log Print test log in /tmp with each test name (conflict with -s)
|
| /tools/testing/selftests/zram/ |
| A D | zram_lib.sh | 205 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/ |
| A D | sve-stress | 43 log=`mktemp` 44 logs=$logs\ $log 45 ./sve-test >$log &
|
| A D | ssve-stress | 43 log=`mktemp` 44 logs=$logs\ $log 45 ./ssve-test >$log &
|