/linux-master/tools/testing/selftests/x86/ |
H A D | test_mremap_vdso.c | 32 printf("[WARN]\tmmap failed (%d): %m\n", errno); 36 printf("[NOTE]\tMoving vDSO: [%p, %#lx] -> [%p, %#lx]\n", 46 printf("[NOTE]\tvDSO partial move failed, will try with bigger size\n"); 49 printf("[FAIL]\tmremap failed (%d): %m\n", errno); 63 printf("[WARN]\tfailed to fork (%d): %m\n", errno); 73 printf("\tAT_SYSINFO_EHDR is %#lx\n", auxval); 75 printf("[WARN]\tgetauxval failed\n"); 96 printf("[FAIL]\tmremap() of the vDSO does not work on this kernel!\n"); 99 printf("[FAIL]\tChild failed with %d\n", 103 printf("[O [all...] |
H A D | test_FISTTP.c | 36 printf("[BAD]\tfisttp 1\n"); 41 printf("[BAD]\tfisttp 1: wrong exception state\n"); 56 printf("[BAD]\tfisttp pi\n"); 61 printf("[BAD]\tfisttp pi: wrong exception state\n"); 79 printf("[BAD]\tfisttp -pi\n"); 84 printf("[BAD]\tfisttp -pi: wrong exception state\n"); 100 printf("[BAD]\tfisttp ln2\n"); 105 printf("[BAD]\tfisttp ln2: wrong exception state\n"); 114 printf("[FAIL]\tGot signal %d, exiting\n", sig); 130 printf("[RU [all...] |
H A D | test_FCOMI.c | 75 printf("[BAD]\tfcomi_1_pi with flags:%lx\n", flags); 79 printf("[BAD]\tfcomi_pi_1 with flags:%lx->%lx\n", flags, res_fcomi_pi_1 & ARITH); 83 printf("[BAD]\tfcomi_1_1 with flags:%lx\n", flags); 87 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); 112 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); 116 printf("[BAD]\tFE_INVALID is not set in %s\n", __func__); 141 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); 145 printf("[BAD]\tFE_INVALID is set in %s\n", __func__); 172 printf("[BAD]\tfcomi_qnan_1 with flags:%lx\n", flags); 175 // printf("sna [all...] |
H A D | fsgsbase_restore.c | 60 printf("\tsegment base address = 0x%lx\n", (unsigned long)target); 74 printf("\tusing LDT slot 0\n"); 100 printf("[NOTE]\tcould not create a segment -- can't test anything\n"); 103 printf("\tusing GDT slot %d\n", desc.entry_number); 118 printf("\tTracee: in tracee_zap_segment()\n"); 133 printf("\tTracee is going back to sleep\n"); 138 printf("[FAIL]\tTracee hit unreachable code\n"); 145 printf("\tSetting up a segment\n"); 150 printf("[FAIL]\tseg[0] == %x; should be %x\n", val, EXPECTED_VALUE); 153 printf("[O [all...] |
/linux-master/tools/power/cpupower/utils/ |
H A D | powercap-info.c | 34 printf("%sZone: %s", pr_prefix, zone->name); 38 printf(" (%s)\n", mode ? "enabled" : "disabled"); 41 printf(_("%sPower can be monitored in micro Jules\n"), 45 printf(_("%sPower can be monitored in micro Watts\n"), 48 printf("\n"); 63 printf(_("No powercapping driver loaded\n")); 67 printf("Driver: %s\n", line); 72 printf(_("Powercapping is disabled\n")); 76 printf(_("Powercap domain hierarchy:\n\n")); 80 printf( [all...] |
/linux-master/scripts/atomic/ |
H A D | gen-atomic-fallback.sh | 78 printf "static __always_inline ${ret}\n" 79 printf "raw_${atomicname}(${params})\n" 80 printf "{\n" 90 printf "\t${retstmt}arch_${atomicname}(${args});\n" 91 printf "}\n\n" 95 printf "#if defined(arch_${atomicname})\n" 96 printf "\t${retstmt}arch_${atomicname}(${args});\n" 100 printf "#elif defined(arch_${basename}_relaxed)\n" 106 printf "#elif defined(arch_${basename})\n" 107 printf "\ [all...] |
/linux-master/tools/power/cpupower/bench/ |
H A D | main.c | 41 printf("usage: ./bench\n"); 42 printf("Options:\n"); 43 printf(" -l, --load=<long int>\t\tinitial load time in us\n"); 44 printf(" -s, --sleep=<long int>\t\tinitial sleep time in us\n"); 45 printf(" -x, --load-step=<long int>\ttime to be added to load time, in us\n"); 46 printf(" -y, --sleep-step=<long int>\ttime to be added to sleep time, in us\n"); 47 printf(" -c, --cpu=<cpu #>\t\t\tCPU Nr. to use, starting at 0\n"); 48 printf(" -p, --prio=<priority>\t\t\tscheduler priority, HIGH, LOW or DEFAULT\n"); 49 printf(" -g, --governor=<governor>\t\tcpufreq governor to test\n"); 50 printf(" [all...] |
H A D | config.h | 19 #define dprintf printf
|
/linux-master/samples/fanotify/ |
H A D | fs-monitor.c | 40 printf("\tfh: "); 42 printf("%hhx", fh->f_handle[i]); 43 printf("\n"); 45 printf("\tdecoded fh: "); 47 printf("inode=%u gen=%u\n", h[0], h[1]); 49 printf("Type %d (Superblock error)\n", fh->handle_type); 51 printf("Type %d (Unknown)\n", fh->handle_type); 67 printf("unexpected FAN MARK: %llx\n", 73 printf("Unexpected fd (!= FAN_NOFD)\n"); 77 printf("FAN_FS_ERRO [all...] |
/linux-master/drivers/staging/greybus/Documentation/firmware/ |
H A D | firmware.c | 37 printf("\nUsage: ./firmware <gb-fw-mgmt-X (default: gb-fw-mgmt-0)> <interface: 0, backend: 1 (default: 0)> <firmware-tag> (default: \"s3f\"/\"bf_01\") <timeout (default: 10000 ms)>\n"); 45 printf("Get Interface Firmware Version\n"); 49 printf("Failed to get interface firmware version: %s (%d)\n", 54 printf("Interface Firmware tag (%s), major (%d), minor (%d)\n", 59 printf("Loading Interface Firmware\n"); 71 printf("Failed to load interface firmware: %s (%d)\n", fwdev, 78 printf("Load status says loading failed: %d\n", 83 printf("Interface Firmware (%s) Load done: major: %d, minor: %d, status: %d\n", 88 printf("Initiate Mode switch\n"); 92 printf("Faile [all...] |
/linux-master/tools/perf/trace/beauty/tracepoints/ |
H A D | x86_irq_vectors.sh | 20 printf "static const char *x86_irq_vectors[] = {\n" 25 xargs printf "\t[%s] = \"%s\",\n" 26 printf "};\n\n"
|
/linux-master/lib/ |
H A D | gen_crc64table.c | 68 printf("\t0x%016" PRIx64 "ULL", table[i]); 70 printf(",\n"); 72 printf(", "); 74 printf("};\n"); 79 printf("/* this file is generated - do not edit */\n\n"); 80 printf("#include <linux/types.h>\n"); 81 printf("#include <linux/cache.h>\n\n"); 82 printf("static const u64 ____cacheline_aligned crc64table[256] = {\n"); 85 printf("\nstatic const u64 ____cacheline_aligned crc64rocksofttable[256] = {\n");
|
/linux-master/tools/testing/selftests/bpf/benchs/ |
H A D | run_bench_local_storage.sh | 13 printf "\n" 23 printf "\n"
|
H A D | run_common.sh | 10 printf "\n%s\n" "$1" 11 for i in $(seq 1 $len); do printf '='; done 12 printf '\n' 18 printf "\t%s\n" "$1" 63 printf "%-20s %s (drops %s)\n" "$bench" "$(hits $summary)" "$(drops $summary)" 70 printf "%-20s %s%%\n" "$bench" "$(percentage $summary)" 77 printf "%-20s %s\n" "$bench" "$(ops $summary)" 84 printf "%-20s %s\n" "$bench" "$(local_storage $summary)" 91 printf "%-20s %s\n" "$bench" "$(total $summary)"
|
H A D | run_bench_bpf_hashmap_full_update.sh | 10 printf "$summary" 11 printf "\n"
|
/linux-master/tools/perf/trace/beauty/ |
H A D | arch_errno_names.sh | 34 printf "static const char *errno_to_name__%s(int err)\n{\n\tswitch (err) {\n" $arch 37 printf '\tcase %d: return "%s";\n' $nr $name 40 printf '\tdefault: return "(unknown)";\n\t}\n}\n' 60 printf 'arch_syscalls__strerrno_t *arch_syscalls__strerrno_function(const char *arch)\n' 61 printf '{\n' 63 printf '\tif (!strcmp(arch, "%s"))\n' $(arch_string "$arch") 64 printf '\t\treturn errno_to_name__%s;\n' $(arch_string "$arch") 66 printf '\treturn errno_to_name__%s;\n' $(arch_string "$default") 67 printf '}\n'
|
/linux-master/tools/testing/selftests/mm/ |
H A D | write_to_hugetlbfs.c | 39 printf("Usage: %s -p <path to hugetlbfs file> -s <size to map> " 48 printf("Received %d.\n", signo); 50 printf("Deleting the memory\n"); 58 printf("Done deleting the memory\n"); 124 printf("Writing to this path: %s\n", path); 132 printf("Writing this size: %d\n", size); 140 printf("Not populating.\n"); 142 printf("Populating.\n"); 145 printf("Not writing to memory.\n"); 152 printf("Usin [all...] |
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 58 printf("Usage: %s /dev/lircN /dev/input/eventM\n", argv[0]); 65 printf("Failed to load bpf program\n"); 71 printf("failed to open lirc device %s: %m\n", argv[1]); 78 printf("bpf_prog_detach2 not attached should fail: %m\n"); 84 printf("failed to open input device %s: %m\n", argv[1]); 92 printf("Failed to query bpf programs on lirc device: %m\n"); 97 printf("Expected nothing to be attached\n"); 103 printf("Failed to attach bpf to lirc device: %m\n"); 110 printf("Failed to send test IR message: %m\n"); 123 printf("Faile [all...] |
/linux-master/samples/vfs/ |
H A D | test-statx.c | 65 printf("%s", field); 67 printf(".%09u", ts->tv_nsec); 74 printf("\n"); 81 printf("results=%x\n", stx->stx_mask); 83 printf(" "); 85 printf(" Size: %-15llu", (unsigned long long)stx->stx_size); 87 printf(" Blocks: %-10llu", (unsigned long long)stx->stx_blocks); 88 printf(" IO Block: %-6llu", (unsigned long long)stx->stx_blksize); 91 case S_IFIFO: printf(" FIFO\n"); ft = 'p'; break; 92 case S_IFCHR: printf(" characte [all...] |
/linux-master/scripts/ |
H A D | cc-can-link.sh | 8 printf("");
|
/linux-master/arch/powerpc/xmon/ |
H A D | dis-asm.h | 16 printf("%.8lx", insn); 22 printf("%.8lx", insn);
|
/linux-master/samples/bpf/ |
H A D | trace_event_user.c | 35 printf("ksym not found. Is kallsyms loaded?\n"); 39 printf("%s;", sym->name); 50 printf("%llx;", addr); 67 printf("%3lld %s;", count, key->comm); 69 printf("---;"); 74 printf("-;"); 76 printf("---;"); 82 printf("\r"); 84 printf("\n"); 87 printf("stackma [all...] |
/linux-master/arch/x86/tools/ |
H A D | objdump_reformat.awk | 21 printf("%s%s\n", $2, $1) 34 printf "%s\t%s\n", prev_addr, fwait_str 38 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic 47 printf "%s\t%s\t%s\n", prev_addr, prev_hex, prev_mnemonic
|
/linux-master/tools/testing/selftests/timers/ |
H A D | threadtest.c | 62 printf("\n"); 65 printf("---------------\n"); 66 printf("%lu:%lu\n", list[j].tv_sec, list[j].tv_nsec); 68 printf("---------------\n"); 70 printf("[FAILED]\n"); 145 printf("using independent threads\n"); 148 printf("Usage: %s [-t <secs>] [-n <numthreads>] [-i]\n", argv[0]); 149 printf(" -t: time to run\n"); 150 printf(" -n: number of threads\n"); 151 printf(" [all...] |
/linux-master/tools/testing/selftests/cpufreq/ |
H A D | cpu.sh | 34 printf "Offline $1\n" 41 printf "Online $1\n" 56 printf "** Test: Running ${FUNCNAME[0]} for $1 loops **\n\n" 61 printf "\n" 64 printf "\n%s\n\n" "------------------------------------------------"
|