/linux-master/samples/bpf/ |
H A D | cpustat_user.c | 46 printf("\033[2J"); 49 printf("\nCPU states statistics:\n"); 50 printf("%-10s ", "state(ms)"); 54 printf("%-11s ", state_str); 59 printf("%-11s ", state_str); 62 printf("\n"); 67 printf("CPU-%-6d ", j); 69 printf("%-11lu ", data->cstate[i] / 1000000); 72 printf("%-11lu ", data->pstate[i] / 1000000); 74 printf("\ [all...] |
H A D | test_cgrp2_array_pin.c | 18 printf("Usage: test_cgrp2_array_pin [...]\n"); 19 printf(" -F <file> File to pin an BPF cgroup array\n"); 20 printf(" -U <file> Update an already pinned BPF cgroup array\n"); 21 printf(" -v <value> Full path of the cgroup2\n"); 22 printf(" -h Display this help\n");
|
H A D | spintest_user.c | 21 printf("failed to process /proc/kallsyms\n"); 57 printf("kprobing funcs:"); 64 printf("ksym not found. Is kallsyms loaded?\n"); 68 printf(" %s", sym->name); 71 printf("\n");
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrl_tests.c | 67 printf("usage: resctrl_tests [-h] [-t test list] [-n no_of_bits] [-b benchmark_cmd [option]...]\n"); 68 printf("\t-b benchmark_cmd [option]...: run specified benchmark for MBM, MBA and CMT\n"); 69 printf("\t default benchmark is builtin fill_buf\n"); 70 printf("\t-t test list: run tests/groups specified by the list, "); 71 printf("e.g. -t mbm,mba,cmt,cat\n"); 72 printf("\t\tSupported tests (group):\n"); 75 printf("\t\t\t%s (%s)\n", resctrl_tests[i]->name, resctrl_tests[i]->group); 77 printf("\t\t\t%s\n", resctrl_tests[i]->name); 79 printf("\t-n no_of_bits: run cache tests using specified no of bits in cache bit mask\n"); 80 printf("\ [all...] |
/linux-master/scripts/kconfig/ |
H A D | conf.c | 56 printf("\n%s\n", str_get(&help)); 84 printf("%s", str); 113 printf("KCONFIG_SEED=0x%X\n", seed); 320 printf("(NEW) "); 326 printf("%s\n", def); 336 printf("%s\n", def); 355 printf("%*s%s ", indent - 1, "", menu->prompt->text); 356 printf("(%s) ", sym->name); 359 printf("[%s] ", def); 388 printf(" [all...] |
/linux-master/arch/powerpc/boot/ |
H A D | ps3.c | 41 printf("cmdline: '%s'\n", cmdline); 50 printf("ps3_exit\n"); 86 printf("%s:%d: ppe_id %lu \n", __func__, __LINE__, 88 printf("%s:%d: lpar_id %lu \n", __func__, __LINE__, 90 printf("%s:%d: rm_size %llxh \n", __func__, __LINE__, *rm_size); 113 printf("\n-- PS3 bootwrapper --\n"); 134 printf(" flat tree at 0x%lx\n\r", ft_addr);
|
H A D | main.c | 39 printf("No valid compressed data found, assume uncompressed data\n\r"); 53 printf("Allocating 0x%lx bytes for kernel...\n\r", ei.memsize); 75 printf("0x%lx bytes of uncompressed data copied\n\r", 81 printf("Decompressing (0x%p <- 0x%p:0x%p)...\n\r", addr, 94 printf("Done! Decompressed 0x%lx bytes\n\r", len); 108 printf("Attached initrd image at 0x%p-0x%p\n\r", 113 printf("Using loader supplied ramdisk at 0x%lx-0x%lx\n\r", 129 printf("Allocating 0x%lx bytes for initrd ...\n\r", 135 printf("Relocating initrd 0x%lx <- 0x%p (0x%lx bytes)\n\r", 140 printf("initr [all...] |
H A D | epapr.c | 36 printf("WARNING: Image loaded outside IMA!" 39 printf("WARNING: Device tree address is outside IMA!" 43 printf("WARNING: Device tree extends outside IMA!"
|
/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | fpu_signal.c | 89 printf("\tWaiting for all workers to start..."); 92 printf("done\n"); 94 printf("\tSending signals to all threads %d times...", ITERATIONS); 101 printf("done\n"); 103 printf("\tStopping workers..."); 113 printf("oops\n"); 118 printf("done\n");
|
/linux-master/tools/testing/selftests/memfd/ |
H A D | fuse_test.c | 50 printf("memfd_create(\"%s\", %u) failed: %m\n", 57 printf("ftruncate(%llu) failed: %m\n", (unsigned long long)sz); 70 printf("GET_SEALS(%d) failed: %m\n", fd); 83 printf("%llu != %llu = GET_SEALS(%d)\n", 97 printf("ADD_SEALS(%d, %llu -> %llu) failed: %m\n", 116 printf("ADD_SEALS(%d, %llu -> %llu) didn't fail as expected with EBUSY: %m\n", 135 printf("mmap() failed: %m\n"); 153 printf("mmap() failed: %m\n"); 188 printf("HURRAY! This kernel fixed GUP races!\n"); 207 printf("mallo [all...] |
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-syscall.c | 59 printf("[RUN]\tptrace-induced syscall restart\n"); 79 printf("\tChild will make one syscall\n"); 91 printf("[RUN]\tSYSEMU\n"); 107 printf("[FAIL]\tInitial args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", 117 printf("[OK]\tInitial nr and args are correct\n"); } 119 printf("[RUN]\tRestart the syscall (ip = 0x%lx)\n", 141 printf("[FAIL]\tRestart nr or args are wrong (nr=%lu, args=%lu %lu %lu %lu %lu %lu)\n", 151 printf("[OK]\tRestarted nr and args are correct\n"); 154 printf("[RUN]\tChange nr and args and restart the syscall (ip = 0x%lx)\n", 190 printf("[FAI [all...] |
H A D | ptrace-vsx.h | 19 printf("vsx[%d]: %lx load[%d] %lx\n", 39 printf("vmx[%d][0]: %lx load[%d] %lx\n", 42 printf("vmx[%d][1]: %lx load[%d] %lx\n", 53 printf("vmx[%d][0]: %lx load[%d] %lx\n", 56 printf("vmx[%d][1]: %lx load[%d] %lx\n", 76 printf("store[%d]: %lx load[%d] %lx\n", 86 printf("store[%d]: %lx load[%d] %lx\n", 94 printf("store[%d]: %lx load[%d] %lx\n", 99 printf("here store[%d]: %lx load[%d] %lx\n",
|
H A D | ptrace-gpr.h | 27 printf("GPR[%d]: %lx Expected: %lx\n", 45 printf("FPR[%d]: %llx Expected: %llx\n", i, fpr[i], val); 62 printf("FPR[%d]: %f Expected: %f\n", i, fpr[i], val);
|
/linux-master/tools/testing/selftests/powerpc/copyloops/ |
H A D | validate.c | 34 printf("(%p,%p,%ld) returned %ld\n", dstp, srcp, len, ret); 39 printf("(%p,%p,%ld) miscompare\n", dstp, srcp, len); 40 printf("src: "); 42 printf("%02x ", srcp[i]); 43 printf("\ndst: "); 45 printf("%02x ", dstp[i]); 46 printf("\n"); 51 printf("(%p,%p,%ld) redzone before corrupted\n", 57 printf("(%p,%p,%ld) redzone after corrupted\n",
|
/linux-master/tools/testing/selftests/amd-pstate/ |
H A D | gitsource.sh | 72 printf "Download gitsource, please wait a moment ...\n\n" 75 printf "Tar gitsource ...\n\n" 87 printf "Make and test gitsource for $1 #$2 make_cpus: $MAKE_CPUS\n" 106 printf "Gitsource-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_GIT.result 110 printf "Gitsource-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_GIT.result 114 printf "Gitsource-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_GIT.result 118 printf "Gitsource-$1-#$2 user time(s): $time_sum\n" | tee -a $OUTFILE_GIT.result 122 printf "Gitsource-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_GIT.result 131 ppw=`echo "scale=9;1/$en_sum" | bc | awk '{printf "%.9f", $0}'` 132 printf "Gitsourc [all...] |
H A D | tbench.sh | 69 printf "Test tbench for $1 #$2 time_limit: $TIME_LIMIT procs_num: $PROCESS_NUM\n" 88 printf "Tbench-$1-#$2 avg des perf: $avg_des_perf\n" | tee -a $OUTFILE_TBENCH.result 92 printf "Tbench-$1-#$2 avg freq: $avg_freq\n" | tee -a $OUTFILE_TBENCH.result 96 printf "Tbench-$1-#$2 avg load: $avg_load\n" | tee -a $OUTFILE_TBENCH.result 100 printf "Tbench-$1-#$2 throughput(MB/s): $tp_sum\n" | tee -a $OUTFILE_TBENCH.result 104 printf "Tbench-$1-#$2 power consumption(J): $en_sum\n" | tee -a $OUTFILE_TBENCH.result 113 ppw=`echo "scale=4;($TIME_LIMIT-1)*$tp_sum/$en_sum" | bc | awk '{printf "%.4f", $0}'` 114 printf "Tbench-$1-#$2 performance per watt(MB/J): $ppw\n" | tee -a $OUTFILE_TBENCH.result 115 printf "\n" | tee -a $OUTFILE_TBENCH.result 124 printf "\nTbenc [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_dev_cgroup.c | 35 printf("Failed to load DEV_CGROUP program\n"); 41 printf("Failed to create test cgroup\n"); 47 printf("Failed to attach DEV_CGROUP program"); 53 printf("Failed to query attached programs"); 78 printf("test_dev_cgroup:PASS\n");
|
/linux-master/scripts/dtc/ |
H A D | of_unittest_expect | 290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 307 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 337 printf "** %s%s$script_name WARNING - not found ---> %s\n", 364 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 381 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 410 printf "** %s%s$script_name WARNING - next line matches EXPECT_NOT\n", 412 printf "** %s%s%s\n", $line_num, $timestamp, $line; 501 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line; 508 printf "** non-zero values expected:\n"; 510 printf "** EXPEC [all...] |
/linux-master/tools/net/ynl/samples/ |
H A D | devlink.c | 26 printf("%s/%s:\n", d->bus_name, d->dev_name); 38 printf(" driver: %s\n", info_rsp->info_driver_name); 40 printf(" running fw:\n"); 42 printf(" %s: %s\n", 45 printf(" ...\n");
|
/linux-master/tools/testing/selftests/powerpc/tm/ |
H A D | tm-unavailable.c | 111 printf("If MSR.FP=%d MSR.VEC=%d: ", flags.touch_fp, flags.touch_vec); 116 printf("No valid exception specified to test.\n"); 233 printf("\n\tExpecting the transaction to fail, %s", 241 printf("\n\tUnexpected transaction failure 0x%02lx\n\t", 253 printf("\n\tUnexpected failure cause 0x%02lx\n\t", 260 printf("CR0: 0x%1lx ", cr_ >> 28); 264 printf("FP corrupted!"); 265 printf(" high = %#16" PRIx64 " low = %#16" PRIx64 " ", 269 printf("FP ok "); 273 printf("VE [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | sysret_ss_attrs.c | 59 printf("[WARN]\tsched_setaffinity failed\n"); 73 printf("[RUN]\tSyscalls followed by SS validation\n"); 97 printf("[OK]\tWe survived\n");
|
/linux-master/arch/m68k/tools/amiga/ |
H A D | dmesg.c | 49 printf("Searching for SAVEKMSG magic...\n"); 59 printf("Not found\n"); 61 printf("Found %ld bytes at 0x%08lx\n", m->size, (u_long)&m->data);
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-line-name.c | 18 printf("usage:\n"); 19 printf(" gpio-line-name <chip path> <line offset>\n"); 52 printf("%s\n", info.name);
|
/linux-master/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 302 printf("\n\tQueue %s created:\n", queue_path); 303 printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? 305 printf("\t\tmq_maxmsg:\t\t\t%lu\n", result.mq_maxmsg); 306 printf("\t\tmq_msgsize:\t\t\t%lu\n", result.mq_msgsize); 307 printf("\t\tmq_curmsgs:\t\t\t%lu\n", result.mq_curmsgs); 317 printf("\tStarted fake continuous mode thread %d on CPU %d\n", i, 331 printf("\tStarted continuous mode thread %d on CPU %d\n", i, 437 printf("\n\tStarted mqueue performance test thread on CPU %d\n", 448 printf("\t\tMax priorities:\t\t\t%d\n", mq_prio_max); 449 printf("\ [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | skew_consistency.c | 48 printf("Running Asynchronous Frequency Changing Tests...\n"); 72 printf("[FAILED]\n"); 75 printf("[OK]\n");
|