/linux-master/tools/testing/selftests/powerpc/math/ |
H A D | mma.c | 32 printf("MMA[%d] = %d ", i, z[i]); 35 printf(" (Correct)\n"); 37 printf(" (Incorrect)\n");
|
H A D | vmx_signal.c | 54 * Shouldn't printf() in a signal handler, however, this is a 59 printf("VMX mismatch at reg %d!\n", i); 60 printf("Reg | Actual | Expected\n"); 62 printf("%d | 0x%04x%04x%04x%04x | 0x%04x%04x%04x%04x\n", j, mc->v_regs->vrregs[j][0], 114 printf("\tWaiting for %d workers to start... %d", threads, threads_starting); 118 printf(", %d", threads_starting); 120 printf(" ...done\n"); 122 printf("\tSending signals to all threads %d times...", ITERATIONS); 129 printf("done\n"); 131 printf("\tKillin [all...] |
/linux-master/tools/perf/trace/beauty/ |
H A D | mmap_flags.sh | 20 printf "static const char *mmap_flags[] = {\n" 26 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 31 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 37 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 42 xargs printf "\t[ilog2(%s) + 1] = \"%s\",\n#ifndef MAP_%s\n#define MAP_%s %s\n#endif\n") 43 printf "};\n"
|
/linux-master/tools/net/ynl/samples/ |
H A D | netdev.c | 29 printf("%8s", name); 30 printf("[%d]\t", d->ifindex); 35 printf("xdp-features (%llx):", d->xdp_features); 38 printf(" %s", netdev_xdp_act_str(1 << i)); 41 printf(" xdp-rx-metadata-features (%llx):", d->xdp_rx_metadata_features); 44 printf(" %s", netdev_xdp_rx_metadata_str(1 << i)); 47 printf(" xsk-features (%llx):", d->xsk_features); 50 printf(" %s", netdev_xsk_flags_str(1 << i)); 53 printf(" xdp-zc-max-segs=%u", d->xdp_zc_max_segs); 57 printf(" (nt [all...] |
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 49 printf(_("invalid or unknown argument\n")); 70 printf(" "); 103 printf("%s|", buf); 109 printf("||"); 112 printf("%s", buf); 114 printf("\n"); 117 printf(" PKG|"); 119 printf("CORE|"); 121 printf(" CPU|"); 125 printf("||"); [all...] |
/linux-master/tools/leds/ |
H A D | get_led_device_info.sh | 12 printf $i"/"; \ 80 printf "\n#####################################\n" 81 printf "# LED class device hardware details #\n" 82 printf "#####################################\n\n" 84 printf "bus:\t\t\t$bus\n" 87 printf "idVendor:\t\t$idVendor\n" 91 printf "idProduct:\t\t$idProduct\n" 95 printf "manufacturer:\t\t$manufacturer\n" 99 printf "product:\t\t$product\n" 103 printf "drive [all...] |
/linux-master/samples/hidraw/ |
H A D | hid-example.c | 73 printf("Report Descriptor Size: %d\n", desc_size); 81 printf("Report Descriptor:\n"); 83 printf("%hhx ", rpt_desc.value[i]); 92 printf("Raw Name: %s\n", buf); 99 printf("Raw Phys: %s\n", buf); 106 printf("Raw Info:\n"); 107 printf("\tbustype: %d (%s)\n", 109 printf("\tvendor: 0x%04hx\n", info.vendor); 110 printf("\tproduct: 0x%04hx\n", info.product); 122 printf("ioct [all...] |
/linux-master/samples/bpf/ |
H A D | xdp_adjust_tail_user.c | 37 printf("bpf_xdp_query_id failed\n"); 43 printf("couldn't find a prog id on a given iface\n"); 45 printf("program on interface changed, not removing\n"); 64 printf("icmp \"packet too big\" sent: %10llu pkts\n", value); 70 printf("Start a XDP prog which send ICMP \"packet too big\" \n" 72 printf("Usage: %s [...]\n", cmd); 73 printf(" -i <ifname|ifindex> Interface\n"); 74 printf(" -T <stop-after-X-seconds> Default: 0 (forever)\n"); 75 printf(" -P <MAX_PCKT_SIZE> Default: %u\n", MAX_PCKT_SIZE); 76 printf(" [all...] |
H A D | tc_l2_redirect_user.c | 17 printf("Usage: tc_l2_ipip_redirect [...]\n"); 18 printf(" -U <file> Update an already pinned BPF array\n"); 19 printf(" -i <ifindex> Interface index\n"); 20 printf(" -h Display this help\n");
|
H A D | offwaketime_user.c | 28 printf("ksym not found. Is kallsyms loaded?\n"); 33 printf("%s/%llx;", sym->name, addr); 35 printf("%s;", sym->name); 53 printf("%s;", key->target); 55 printf("---;"); 60 printf("-;"); 62 printf("---;"); 67 printf(";%s %lld\n", key->waker, count); 70 printf("stackmap collisions seen. Consider increasing size\n"); 73 printf("er [all...] |
/linux-master/tools/testing/selftests/ipc/ |
H A D | msgque.c | 42 printf("Failed to open /proc/sys/kernel/msg_next_id\n"); 49 printf("Failed to write to /proc/sys/kernel/msg_next_id\n"); 55 printf("Failed to create queue\n"); 60 printf("Restored queue has wrong id (%d instead of %d)\n", 69 printf("msgsnd failed (%m)\n"); 78 printf("Failed to destroy queue: %d\n", -errno); 93 printf("Failed to read IPC message: %m\n"); 98 printf("Wrong message size: %d (expected %d)\n", ret, 104 printf("Wrong message type\n"); 109 printf("Wron [all...] |
/linux-master/arch/powerpc/xmon/ |
H A D | nonstdio.h | 12 #define printf xmon_printf macro
|
/linux-master/tools/testing/selftests/timers/ |
H A D | set-tai.c | 55 printf("tai offset started at %i\n", ret); 57 printf("Checking tai offsets can be properly set: "); 63 printf("[FAILED] expected: %i got %i\n", i, ret); 67 printf("[OK]\n");
|
/linux-master/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 37 printf("Usage:\n"); 38 printf("1) %s -r [-s sleep]\n", basename(progname)); 39 printf("2) %s -b byte_offset\n", basename(progname)); 40 printf("3) %s -w byte_offset -v value\n\n", basename(progname)); 73 printf("Bad sleep time: %s\n", optarg); 139 printf(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F"); 142 printf("\n%.2X: ", byte_off); 143 printf(" %.2x ", (uint8_t)buf[byte_off]); 145 printf("\n"); 150 printf("\ [all...] |
/linux-master/tools/testing/selftests/lib/ |
H A D | Makefile | 7 TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh strscpy.sh
|
/linux-master/tools/testing/selftests/x86/ |
H A D | single_step_syscall.c | 77 printf("[WARN]\tSIGTRAP handler had TF set\n"); 84 printf("[WARN]\tHit %d SIGTRAPs with si_addr 0x%lx, ip 0x%lx\n", 102 printf("\tGot %s with RIP=%lx, TF=%ld\n", signames[sig], 116 printf("[FAIL]\tNo SIGTRAP\n"); 121 printf("[FAIL]\tTF was cleared\n"); 125 printf("[OK]\tSurvived with TF set and %d traps\n", (int)sig_traps); 132 printf("[RUN]\tFast syscall with TF cleared\n"); 135 printf("[FAIL]\tTF is now set\n"); 139 printf("[FAIL]\tGot SIGTRAP\n"); 142 printf("[O [all...] |
H A D | syscall_arg_fault.c | 51 printf("[FAIL]\tAX had the wrong value: 0x%lx\n", 53 printf("\tIP = 0x%lx\n", (unsigned long)ctx->uc_mcontext.gregs[REG_IP]); 56 printf("[OK]\tSeems okay\n"); 79 printf("[WARN]\tGot stuck single-stepping -- you probably have a KVM bug\n"); 94 printf("[OK]\tSYSCALL returned normally\n"); 96 printf("[SKIP]\tIllegal instruction\n"); 139 printf("[RUN]\tSYSENTER with invalid state\n"); 154 printf("[RUN]\tSYSCALL with invalid state\n"); 170 printf("[RUN]\tSYSENTER with TF and invalid state\n"); 190 printf("[RU [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_cgroup_storage.c | 50 printf("Not enough memory for per-cpu area (%d cpus)\n", nproc); 60 printf("Failed to create map: %s\n", strerror(errno)); 67 printf("Failed to create map: %s\n", strerror(errno)); 77 printf("Failed to load bpf program: %s\n", bpf_log_buf); 85 printf("Failed to attach bpf program\n"); 90 printf("Failed to get the first key in cgroup storage\n"); 95 printf("Failed to lookup cgroup storage 0\n"); 103 printf("Failed to update the data in the cgroup storage\n"); 114 printf("Failed to lookup cgroup storage\n"); 119 printf("Unexpecte [all...] |
/linux-master/tools/testing/selftests/vDSO/ |
H A D | vdso_test_gettimeofday.c | 42 printf("AT_SYSINFO_EHDR is not present!\n"); 53 printf("Could not find %s\n", name); 61 printf("The time is %lld.%06lld\n", 64 printf("%s failed\n", name);
|
H A D | vdso_test_getcpu.c | 37 printf("AT_SYSINFO_EHDR is not present!\n"); 45 printf("Could not find %s\n", name); 51 printf("Running on CPU %u node %u\n", cpu, node); 53 printf("%s failed\n", name);
|
/linux-master/arch/x86/boot/ |
H A D | cpu.c | 51 printf("%s ", msg_strs+2); 53 printf("%d:%d ", i, j); 68 printf("This kernel requires an %s CPU, ", 70 printf("but only detected an %s CPU.\n",
|
/linux-master/tools/power/cpupower/utils/ |
H A D | cpuidle-set.c | 53 printf(_("Bad value: %s, Integer expected\n"), optarg); 68 printf(_("Bad latency value: %s\n"), optarg); 88 printf(_("You can't specify more than one " 92 printf(_("invalid or unknown argument\n")); 119 printf(_("Idlestate %u disabled on CPU %u\n"), idlestate, cpu); 121 printf(_("Idlestate %u not available on CPU %u\n"), 124 printf(_("Idlestate disabling not supported by kernel\n")); 126 printf(_("Idlestate %u not disabled on CPU %u\n"), 132 printf(_("Idlestate %u enabled on CPU %u\n"), idlestate, cpu); 134 printf( [all...] |
/linux-master/tools/testing/selftests/riscv/vector/ |
H A D | v_initval_nolibc.c | 13 printf("\n"); 15 printf(" "); 17 printf("%02x ", ptr[i]); 19 printf("\n");
|
/linux-master/lib/ |
H A D | gen_crc32table.c | 98 printf("{"); 101 printf("\n"); 102 printf("%s(0x%8.8xL), ", trans, table[j][i]); 104 printf("%s(0x%8.8xL)},\n", trans, table[j][len - 1]); 110 printf("/* this file is generated - do not edit */\n\n"); 114 printf("static const u32 ____cacheline_aligned " 119 printf("};\n"); 124 printf("static const u32 ____cacheline_aligned " 129 printf("};\n"); 133 printf("stati [all...] |
/linux-master/tools/laptop/dslm/ |
H A D | dslm.c | 44 D(printf(" drive state is: %d\n", state)); 81 printf("Starting measurements\n"); 85 printf(" System is in state %s\n\n", state_name(last_state)); 103 printf("%s: State-change to %s\n", myctime(curr_time), 110 printf("\nTotal running time: %lus\n", curr_time - start_time); 111 printf(" State changed %d times\n", changes); 114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp); 116 printf(" Time in active state: %lus (%.2f%%)\n", active_time, tmp); 118 printf(" Time in unknown state: %lus (%.2f%%)\n", unknown_time, tmp); 148 printf("Ca [all...] |