Searched refs:printf (Results 351 - 375 of 1038) sorted by relevance

<<11121314151617181920>>

/linux-master/tools/perf/bench/
H A Dbreakpoint.c134 printf("Skipping perf bench breakpoint thread: No hardware support\n");
155 printf("# Created/joined %d threads with %d breakpoints and %d parallelism\n",
157 printf(" %14s: %lu.%03lu [sec]\n\n", "Total time",
160 printf(" %14lf usecs/op\n",
162 printf(" %14lf usecs/op/cpu\n",
167 printf("%lu.%03lu\n", (long)diff.tv_sec, (long)(diff.tv_usec / USEC_PER_MSEC));
214 printf("Skipping perf bench breakpoint enable: No hardware support\n");
247 printf("# Enabled/disabled breakpoint %d time with %d passive and %d active threads\n",
249 printf(" %14s: %lu.%03lu [sec]\n\n", "Total time",
252 printf("
[all...]
H A Dmem-functions.c101 printf(" %14lf bytes/sec\n", x); \
103 printf(" %14lfd KB/sec\n", x / K); \
105 printf(" %14lf MB/sec\n", x / K / K); \
107 printf(" %14lf GB/sec\n", x / K / K / K); \
125 printf("# function '%s' (%s)\n", r->name, r->desc);
137 printf("# Copying %s bytes ...\n\n", size_str);
148 printf(" %14lf cycles/byte\n", (double)result_cycles/size_total);
156 printf("%lf\n", (double)result_cycles/size_total);
158 printf("%lf\n", result_bps);
172 printf("# Memor
[all...]
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A Dfork.c181 printf("%ld\n", i - iterations_prev);
301 printf("Using ");
303 printf("fork");
305 printf("vfork");
307 printf("clone");
310 printf(" + exec");
312 printf(" on cpu %d\n", cpu);
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c76 printf("Failed at %p (p=%ld,sp=%ld,w=%d), want=%s, got=%s !\n",
85 printf("Fault expected at %p and happened at %p !\n",
131 printf("%d errors detected\n", errors);
177 printf("allocated malloc block of 0x%lx bytes at %p\n",
180 printf("testing malloc block...\n");
214 printf("allocated %s for 0x%lx bytes at %p\n",
217 printf("testing file map...\n");
H A Dstack_expansion_ldst.c96 printf("sscanf errored\n");
122 printf("Access OK: %s delta %-7d used size 0x%06x stack high 0x%lx top_ptr %p top sp 0x%lx actual used 0x%lx\n",
146 printf("Faulted: %s delta %-7d used size 0x%06x signal %d\n",
178 printf("Stack rlimit is 0x%lx\n", rlimit.rlim_cur);
180 printf("Testing loads ...\n");
182 printf("Testing stores ...\n");
185 printf("All OK\n");
/linux-master/tools/power/cpupower/bench/
H A Dbenchmark.c41 printf("calibrating load of %lius, please wait...\n", load);
63 printf("calibration done\n");
112 printf("_round %i: doing %u cycles with %u calculations"
120 printf("average: %lius, rps:%li\n",
132 printf("performance cycle took %lius, "
158 printf("powersave cycle took %lius, "
175 printf("performance is at %.2f%%\n",
/linux-master/tools/testing/selftests/x86/
H A Dsysret_rip.c74 printf("[FAIL]\tRequested RIP=0x%lx but got RIP=0x%lx\n",
82 printf("[OK]\tGot SIGSEGV at RIP=0x%lx\n", rip);
107 printf("[RUN]\tsigreturn to 0x%lx\n", ip);
118 printf("[FAIL]\tExpected SIGSEGV at 0x%lx but got RIP=0x%lx\n",
132 printf("[RUN]\tTrying a SYSCALL that falls through to 0x%lx\n", ip);
140 printf("[OK]\tmremap to %p failed\n", new_address);
158 printf("[OK]\tWe survived\n");
/linux-master/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c52 printf("memcmp returned %d, should have returned %d (offset %ld size %ld)\n", x, y, offset, size);
55 printf("%02x ", s1[i]);
56 printf("\n");
59 printf("%02x ", s2[i]);
60 printf("\n");
65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n",
67 printf("\n");
/linux-master/tools/testing/selftests/bpf/
H A Dxdping.c45 printf("\nXDP RTT data:\n");
56 printf("64 bytes from %s: icmp_seq=%d ttl=64 time=%#.5f ms\n",
198 printf("Setting up XDP for %s, please wait...\n", ifname);
200 printf("XDP setup disrupts network connectivity, hit Ctrl+C to quit\n");
210 printf("Running server on %s; press Ctrl+C to exit...\n",
237 printf("\nNormal ping RTT data\n");
238 printf("[Ignore final RTT; it is distorted by XDP using the reply]\n");
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_rcu_tasks_trace.c157 printf("Spun up %u procs (our pid %d)\n", args.nr_procs, runner_pid);
218 printf("Iter %d\t avg tasks_trace grace period latency\t%lf ns\n",
220 printf("Iter %d\t avg ticks per tasks_trace grace period\t%lf\n",
229 printf("SUMMARY tasks_trace grace period latency");
230 printf("\tavg %.3lf us\tstddev %.3lf us\n", gp_stat.mean, gp_stat.stddev);
232 printf("SUMMARY ticks per tasks_trace grace period");
233 printf("\tavg %.3lf\tstddev %.3lf\n", gp_stat.mean, gp_stat.stddev);
/linux-master/tools/testing/selftests/riscv/hwprobe/
H A Dwhich-cpus.c21 printf("\n"
34 printf("cpus: None\n");
38 printf("cpus:");
41 printf("-%d", end);
51 printf("%c%d", i == 0 ? ' ' : ',', c);
55 printf("-%d", end);
56 printf("\n");
/linux-master/tools/objtool/arch/loongarch/
H A Dorc.c151 printf(" (und) ");
153 printf("%s + %3d", reg_name(reg), offset);
159 printf("type:%s", orc_type_name(orc[i].type));
161 printf(" sp:");
164 printf(" fp:");
167 printf(" ra:");
170 printf(" signal:%d\n", orc[i].signal);
/linux-master/tools/testing/selftests/kcmp/
H A Dkcmp_test.c101 printf("pid1: %6d pid2: %6d FD: %2ld FILES: %2ld VM: %2ld "
119 printf("FAIL: 0 expected but %d returned (%s)\n",
124 printf("PASS: 0 returned as expected\n");
131 printf("FAIL: 0 expected but %d returned (%s)\n",
136 printf("PASS: 0 returned as expected\n");
149 printf("FAIL: 0 expected but %d returned (%s)\n",
154 printf("PASS: 0 returned as expected\n");
/linux-master/tools/bpf/bpftool/
H A Dbtf.c114 printf("[%u] %s '%s'", id, btf_kind_str[btf_kind_safe(kind)],
131 printf(" size=%u bits_offset=%u nr_bits=%u encoding=%s",
146 printf(" type_id=%u", t->type);
156 printf(" type_id=%u index_type_id=%u nr_elems=%u",
173 printf(" size=%u vlen=%u", t->size, vlen);
198 printf("\n\t'%s' type_id=%u bits_offset=%u",
201 printf(" bitfield_size=%u", bit_sz);
222 printf(" encoding=%s size=%u vlen=%u", encoding, t->size, vlen);
237 printf("\n\t'%s' val=%d", name, v->val);
239 printf("\
[all...]
H A Dfeature.c83 printf("#define %s%sHAVE_%s\n", define_prefix,
86 printf("%s is %savailable\n", plain_name, res ? "" : "NOT ");
108 printf("#define %s%s %s\n", define_prefix,
111 printf("/* %s%s is not set */\n", define_prefix, name);
114 printf("%s is set to %s\n", name, value);
116 printf("%s is not set\n", name);
128 printf("%s\n", define_comment);
130 printf("%s\n", plain_title);
139 printf("\n");
207 printf("bp
[all...]
/linux-master/samples/bpf/
H A Dtask_fd_query_user.c29 printf("FAIL: %s:\n", __func__); \
105 printf("FAIL: %s, for event_fd idx %d, fn_name %s\n",
113 printf("FAIL: bpf_trace_event_query(event_fd[%d]):\n",
115 printf("buf: %s, fd_type: %u, probe_offset: 0x%llx,"
135 printf("FAIL: %s incorrect type (%d) or is_return_bit (%d)\n",
158 printf("ERROR: bpf_program__attach_perf_event failed\n");
189 printf("FAIL: %s, "
197 printf("FAIL: %s, incorrect fd_type %u\n",
203 printf("FAIL: %s, incorrect buf %s\n", __func__, buf);
207 printf("FAI
[all...]
H A Dcookie_uid_helper_example.c179 printf("file path too long: %s\n", file);
186 printf("error constructing iptables command\n");
191 printf("iptables rule update failed: %d/n", WEXITSTATUS(ret));
210 printf("cookie: %u, uid: 0x%x, Packet Count: %lu,"
244 printf("get cookie failed: %s\n", strerror(errno));
263 printf("Message received: %c\n", buf);
268 printf("cookie: %lu, uid: 0x%x, Packet Count: %lu,"
278 printf("Usage: ./run_cookie_uid_helper_example.sh"
308 printf("unknown option %c\n", opt);
323 printf("\
[all...]
/linux-master/tools/arch/x86/kcpuid/
H A Dkcpuid.c128 printf("0x%08x: subleafs:\n", leaf->index);
130 printf(" %2d: EAX=0x%08x, EBX=0x%08x, ECX=0x%08x, EDX=0x%08x\n",
133 printf("0x%08x: EAX=0x%08x, EBX=0x%08x, ECX=0x%08x, EDX=0x%08x\n",
187 printf("%s Leafs :\n", range->is_ext ? "Extended" : "Basic");
188 printf("================\n");
392 printf("Warning: wrong line format:\n");
393 printf("\tline[%d]: %s\n", flines, line);
416 printf("Fail to open '%s'\n", filename);
443 printf("\t %s: 0x%08x\n", reg_names[reg], value);
455 printf("\
[all...]
/linux-master/tools/testing/selftests/ptp/
H A Dtestptp.c51 printf("PTP_EXTTS_REQUEST%c flags 0x%08x : (%d) %s\n",
310 printf("capabilities:\n"
376 printf("clock time: %ld.%09ld or %s",
437 printf("event index %u at %lld.%09u\n", event.index,
465 printf("name %s index %u func %u chan %u\n",
547 printf("system time: %lld.%09u\n",
549 printf("phc time: %lld.%09u\n",
551 printf("system time: %lld.%09u\n",
553 printf("system/phc clock time offset is %" PRId64 " ns\n"
573 printf("extende
[all...]
/linux-master/arch/m68k/math-emu/
H A Dfp_cond.S45 printf PDECODE,"fnop\n"
54 printf PDECODE,"fbccw "
60 printf PDECODE,"fbccl "
66 1: printf PDECODE,"%x",1,%a0
73 1: printf PDECODE,"\n"
77 printf PDECODE,"fdbcc "
82 printf PDECODE,"d%d,%x\n",2,%d0,%a1
99 printf PDECODE,"fscc "
122 printf PDECODE,"\n"
167 printf PDECOD
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlog_buf.c87 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf);
88 printf("OBJ LOG: \n=================\n%s=================\n", obj_log_buf);
89 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_log_buf);
90 printf("BAD_PROG LOG:\n=================\n%s=================\n", bad_log_buf);
128 printf("LIBBPF LOG: \n=================\n%s=================\n", libbpf_log_buf);
129 printf("OBJ LOG: \n=================\n%s=================\n", obj_log_buf);
130 printf("GOOD_PROG LOG:\n=================\n%s=================\n", good_log_buf);
131 printf("BAD_PROG LOG:\n=================\n%s=================\n", bad_log_buf);
238 printf("LOG_BUF: %s\n", log_buf);
256 printf("LOG_BU
[all...]
/linux-master/drivers/tty/vt/
H A Dconmakehash.c256 printf("\
271 printf("%3d", unicount[i]);
273 printf("\n};\n");
275 printf(",\n\t");
277 printf(", ");
280 printf("\nu16 dfont_unitable[%d] = \n{\n\t", nuni);
291 printf("0x%04x", unitable[fp0][nent++]);
293 printf("\n};\n");
295 printf(",\n\t");
297 printf(", ");
[all...]
/linux-master/tools/perf/util/
H A Dstream.c232 printf("\nhot chain pair %d:\n", idx);
242 printf("%35s\t%35s\n", buf1, buf2);
244 printf("%35s\t%35s\n",
262 printf("%s\n", buf1);
275 printf("\nhot chain %d:\n", idx);
282 printf("%35s\t%35s\n", "", buf);
283 printf("%35s\t%35s\n",
286 printf("%35s\n", buf);
287 printf("%35s\n", "--------------------------");
298 printf("
[all...]
/linux-master/tools/testing/selftests/kvm/
H A Ddirty_log_perf_test.c295 printf("usage: %s [-h] [-a] [-i iterations] [-p offset] [-g] "
299 printf(" -a: access memory randomly rather than in order.\n");
300 printf(" -i: specify iteration counts (default: %"PRIu64")\n",
302 printf(" -g: Do not enable KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2. This\n"
308 printf(" -p: specify guest physical test memory offset\n"
311 printf(" -n: Run the vCPUs in nested mode (L2)\n");
312 printf(" -e: Run vCPUs while dirty logging is being disabled. This\n"
315 printf(" -b: specify the size of the memory region which should be\n"
318 printf(" -v: specify the number of vCPUs to run.\n");
319 printf("
[all...]
/linux-master/arch/s390/kernel/syscalls/
H A Dsyscalltbl46 printf "%d\t%s\t%s\n" $prev_nr $prev_64 $prev_32
53 printf "%d\t%s\t%s\n" $prev_nr $prev_64 $prev_32
70 printf "NI_SYSCALL\n"
75 printf "NI_SYSCALL\n"
77 printf "SYSCALL(%s,%s)\n" $entry64 $entry32
109 printf "#define __NR_%s %d\n" $name $nr

Completed in 336 milliseconds

<<11121314151617181920>>