Home
last modified time | relevance | path

Searched full:print (Results 1 – 25 of 1624) sorted by relevance

12345678910>>...65

/linux/kernel/time/
H A Dtimeconst.bc44 print "/* Automatically generated by kernel/time/timeconst.bc */\n"
45 print "/* Time conversion constants for HZ == ", hz, " */\n"
46 print "\n"
48 print "#ifndef KERNEL_TIMECONST_H\n"
49 print "#define KERNEL_TIMECONST_H\n\n"
51 print "#include <linux/param.h>\n"
52 print "#include <linux/types.h>\n\n"
54 print "#if HZ != ", hz, "\n"
55 print "#error \qinclude/generated/timeconst.h has the wrong HZ value!\q\n"
56 print "#endif\n\n"
[all …]
/linux/tools/workqueue/
H A Dwq_dump.py62 print(s, file=sys.stderr, flush=True)
118 print('Affinity Scopes')
119 print('===============')
121 print(f'wq_unbound_cpumask={cpumask_str(wq_unbound_cpumask)}')
124 print(f' nr_pods {pt.nr_pods.value_()}')
126 print(' pod_cpus', end='')
128 print(f' [{pod}]={cpumask_str(pt.pod_cpus[pod])}', end='')
129 print('')
131 print(' pod_node', end='')
133 print(f' [{pod}]={pt.pod_node[pod].value_()}', end='')
[all …]
/linux/arch/x86/tools/
H A Dgen-insn-attr-x86.awk32 print "Error: " awkchecked > "/dev/stderr"
33 print "Please try to use gawk." > "/dev/stderr"
38 print "/* x86 opcode map generated from x86-opcode-map.txt */"
39 print "/* Do not change this code. */\n"
121 print "Semantic error at " NR ": " msg > "/dev/stderr"
126 print "DEBUG: " msg
137 print "/* " $0 " */"
182 print "/* " $0 " */"
191 print "const insn_attr_t " name " = {"
195 print " [" id "] = " tbl[id] ","
[all …]
/linux/tools/arch/x86/tools/
H A Dgen-insn-attr-x86.awk32 print "Error: " awkchecked > "/dev/stderr"
33 print "Please try to use gawk." > "/dev/stderr"
38 print "/* x86 opcode map generated from x86-opcode-map.txt */"
39 print "/* Do not change this code. */\n"
121 print "Semantic error at " NR ": " msg > "/dev/stderr"
126 print "DEBUG: " msg
137 print "/* " $0 " */"
182 print "/* " $0 " */"
191 print "const insn_attr_t " name " = {"
195 print " [" id "] = " tbl[id] ","
[all …]
/linux/lib/
H A Dbuild_OID_registry17 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n";
40 print C_FILE "/*\n";
43 print C_FILE " * Automatically generated by ", $scriptname, ". Do not edit\n";
44 print C_FILE " */\n";
78 print C_FILE "\n";
80 print C_FILE "static const unsigned char oid_index[OID__NR + 1] = {\n";
82 print C_FILE "static const unsigned short oid_index[OID__NR + 1] = {\n";
85 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n"
87 print C_FILE "\t[OID__NR] = ", $total_length, "\n";
88 print C_FILE "};\n";
[all …]
/linux/tools/net/ynl/pyynl/
H A Dethtool.py23 print(f'no attributes, expected: {valid_attrs}')
30 print(f'expected value for \'{attr}\'')
34 print(f'invalid attribute \'{attr}\', expected: {valid_attrs}')
44 Pretty-print a set of fields from the reply. desc specifies the
65 print(f'{name}: {value}')
69 Print out the speed-like strings from the value dict.
73 print(f'{name}: {" ".join(speed)}')
105 print(f"Not supported for device {args.device}")
165 print("not implemented")
179 print("no
[all...]
/linux/tools/power/cpupower/bindings/python/
H A Dtest_raw_pylibcpupower.py13 print(f"CPU 0 has {cpu_cstates_count} c-states")
15 print(f"cstate count error: return code: {cpu_cstates_count}")
24 print(f"CPU state disabled")
26 print(f"Idlestate not available")
28 print(f"Disabling is not supported by the kernel")
30 print(f"No write access to disable/enable C-states: try using sudo")
32 print(f"Not documented: {cstate_disabled}")
41 print(f"CPU is disabled")
43 print(f"CPU is enabled")
45 print(f"Idlestate not available")
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-rcuscale-ftrace.sh44 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)";
60 print "No ftrace records found???"
73 print "Histogram bucket size: " div;
82 print last, count;
88 print last, count;
89 print "Distribution of grace periods across tasks:";
91 print "\t" i, gptaskcnt[i];
95 print "Distribution of piggybacking across tasks:";
97 print "\t" i, piggybackcnt[i];
100 print "Average grace-period duration: " sum / newNR " microseconds";
[all …]
H A Dkvm.sh353 print $i, scenariocpu[$i];
404 print cf[i], cpus[i];
463 print "echo ----Start batch " batchnum ": `date` | tee -a " rd "log";
464 print "needqemurun="
474print "TORTURE_JITTER_START=\". jitterstart.sh " njitter " " rd " " dur " " ja[2] " " ja[3] "\"; e…
475 print "TORTURE_JITTER_STOP=\". jitterstop.sh " rd " \"; export TORTURE_JITTER_STOP"
490 print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date` | tee -a " rd "log";
491 print "mkdir " rd cfr[jn] " || :";
492 print "touch " builddir ".wait";
498 print "export TORTURE_AFFINITY=" affinitylist;
[all …]
H A Dkvm-recheck-rcuscale.sh50 print "No rcuscale records found???"
63 print "Histogram bucket size: " div;
72 print last, count;
78 print last, count;
79 print "Average grace-period duration: " sum / newNR " microseconds";
80 print "Minimum grace-period duration: " gptimes[1];
81 print "50th percentile grace-period duration: " gptimes[pct50];
82 print "90th percentile grace-period duration: " gptimes[pct90];
83 print "99th percentile grace-period duration: " gptimes[pct99];
84 print "Maximum grace-period duration: " gptimes[newNR];
[all …]
/linux/scripts/dtc/
H A Dof_unittest_expect75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n";
83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n";
94 print STDERR
100 -h print program usage
101 --help print program usage
107 --version print program version and exit
177 print STDERR "\n";
178 print STDERR "ERROR processing command line options\n";
179 print STDERR "\n";
180 print STDERR "For help, type '$script_name --help'\n";
[all …]
H A Ddt_to_config162 print
238 print
249 print
421 print "# ";
423 print "$pr_flags : ";
456 print "$node";
458 print "$full_node";
460 print " : $compat : $driver : $config : ";
475 print "$separator", "$existing_config";
478 print "
[all...]
/linux/scripts/
H A Dextract-module-sig.pl40 print STDERR "Read ", $len, " bytes from module file\n";
53 print STDERR "Found magic number at $len\n";
62 print STDERR "Found PGP key identifier\n";
64 print STDERR "Found X.509 cert identifier\n";
66 print STDERR "Found PKCS#7/CMS encapsulation\n";
68 print STDERR "Found unsupported identifier type $id_type\n";
87 print STDERR "Found $sig_len bytes of signature [";
92 print STDERR "]\n";
96 print STDERR "Found $kid_len bytes of key identifier [";
101 print STDERR "]\n";
[all …]
H A Dheaderdep.pl43 print "Usage: $0 [options] file...\n";
44 print "\n";
45 print "Options:\n";
46 print " --all\n";
47 print " --graph\n";
48 print "\n";
49 print " -I includedir\n";
50 print "\n";
51 print "To make nice graphs, try:\n";
52 print " $0 --graph include/linux/kernel.h | dot -Tpng -o graph.png\n";
[all …]
/linux/tools/testing/selftests/size/
H A Dget_size.c21 * number output and print routines, and using __builtin_strlen()
35 static int print(const char *s) in print() function
65 return print(num_to_str(num, num_buf, sizeof(num_buf))); in print_num()
73 print(s); in print_k_value()
79 print("\n"); in print_k_value()
91 print("TAP version 13\n"); in _start()
92 print("# Testing system size.\n"); in _start()
96 print("not ok 1"); in _start()
97 print(test_name); in _start()
98 print(" ---\n reason: \"could not get sysinfo\"\n ...\n"); in _start()
[all …]
/linux/Documentation/trace/postprocess/
H A Dtrace-vmscan-postprocess.pl84 print "SIGINT received, report pending. Hit ctrl-c again to exit\n";
88 print "Second SIGINT received quickly, exiting\n";
94 print "Many SIGINTs received, exiting now without report\n";
144 print("WARNING: Event $event format string not found\n");
151 if ($line =~ /^print fmt:\s"(.*)".*/) {
172 print("WARNING: Format not as expected for event $event '$key' != '$expected'\n");
310 print "WARNING: Failed to parse mm_vmscan_direct_reclaim_begin as expected\n";
311 print " $details\n";
312 print " $regex_direct_begin\n";
333 print "WARNING: Failed to parse mm_vmscan_kswapd_wake as expected\n";
[all …]
/linux/tools/testing/selftests/turbostat/
H A Dsmi_aperf_mperf.py26 print('SKIP: Could not find perf binary, thus could not determine perf access.')
34 print(f'SKIP: Could not read {counter_name} perf counter, assuming no access.')
38 print(f'SKIP: Could not read {counter_name} perf counter, assuming no access.')
74 print('SKIP: doesn\'t have MSR access, skipping run with --no-perf')
79 print('SKIP: doesn\'t have perf access, skipping run with --no-msr')
82 print('SKIP: No MSR nor perf access detected. Skipping the tests entirely')
87 print('Could not find turbostat binary')
92 print('Could not find timeout binary')
97 print(f'turbostat failed with {proc_turbostat.returncode}')
130 print(f'Running turbostat with {turbostat_argv=}... ', end = '', flush = True)
[all …]
H A Dadded_perf_counters.py39 print('SKIP: Could not find perf binary, thus could not determine perf access.')
47 print(f'SKIP: Could not read {counter_name} perf counter.')
51 print(f'SKIP: Could not read {counter_name} perf counter.')
61 print('SKIP: Could not read any perf counter.')
65 print(f'WARN: Could not access all of the counters - some will be left untested')
76 print('Could not find turbostat binary')
81 print('Could not find timeout binary')
86 print(f'turbostat failed with {proc_turbostat.returncode}')
138 print(f'turbostat column check failed\n{expected_columns=}\n{actual_columns=}')
144 print(f'turbostat column check failed: missing column {expected_column.decode()}')
[all …]
H A Ddefcolumns.py9 print('Could not find turbostat binary')
14 print('Could not find timeout binary')
19 print(f'turbostat failed with {proc_turbostat.returncode}')
35 print(f'Running turbostat with {turbostat_argv=}... ', end = '', flush = True)
38 print(f'turbostat failed with {proc_turbostat.returncode}')
42 print(f'turbostat column check failed\n{expected_columns=}\n{actual_columns=}')
44 print('OK')
51 print(f'Running turbostat with {turbostat_argv=}... ', end = '', flush = True)
54 print(f'turbostat failed with {proc_turbostat.returncode}')
58 print(f'turbostat column check failed\n{expected_columns_debug=}\n{actual_columns=}')
[all …]
/linux/tools/sched_ext/
H A Dscx_show_state.py15 print(s, file=sys.stderr, flush=True)
33 print(f'ops : {ops.name.string_().decode()}')
34 print(f'enabled : {read_static_key("__scx_enabled")}')
35 print(f'switching_all : {read_int("scx_switching_all")}')
36 print(f'switched_all : {read_static_key("__scx_switched_all")}')
37 print(f'enable_state : {state_str(enable_state)} ({enable_state})')
38 print(f'in_softlockup : {prog["scx_in_softlockup"].value_()}')
39 print(f'breather_depth: {read_atomic("scx_breather_depth")}')
40 print(f'bypass_depth : {prog["scx_bypass_depth"].value_()}')
41 print(
[all...]
/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py42 print("In trace_begin:\n")
107 print("In trace_end:\n")
128 print("There is %d records in gen_events table" % t[0])
132 print("Statistics about the general events grouped by thread/symbol/dso: \n")
136 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42))
138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
141 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58))
144 print("%32s %8d %s" % (row[0], row[1], num2sym(row[1])))
147 print("\n%40s %8s %16s\n%s" % ("dso", "number", "histogram", "="*74))
150 print("%40s %8d %s" % (row[0], row[1], num2sym(row[1])))
[all …]
/linux/tools/sched/
H A Ddl_bw_dump.py23 print("Retrieving dl_rq bandwidth accounting information:")
36 print(f" From CPU: {cpu_id}")
38 # Access and print relevant fields from struct dl_rq
39 print(f" running_bw : {dl_rq.running_bw}")
40 print(f" this_bw : {dl_rq.this_bw}")
41 print(f" extra_bw : {dl_rq.extra_bw}")
42 print(f" max_bw : {dl_rq.max_bw}")
43 print(f" bw_ratio : {dl_rq.bw_ratio}")
46 print(f" (CPU {cpu_id}: Fault accessing kernel memory: {fe})")
48print(f" (CPU {cpu_id}: Missing attribute for root_domain (kernel struct change?): {ae})")
[all …]
/linux/tools/testing/selftests/tc-testing/
H A Dtdc_helper.py35 """ Print IDs and names of all test cases. """
37 print(curcase['id'] + ': (' + ', '.join(curcase['category']) + ") " + curcase['name'])
43 print("Available categories:")
44 print(", ".join(str(s) for s in categories))
45 print("")
49 """ Print a list of strings prepended with a tab. """
52 print("\t" + str(l[0]))
54 print("\t" + str(l))
58 print("\n".join(str(s) for s in items))
63 print('\n==============\nTest {}\t{}\n'.format(tcase['id'], tcase['name']))
[all …]
/linux/tools/testing/selftests/damon/
H A Ddamon_nr_regions.py37 print('kdamond start failed: %s' % err)
46 print('tried regions update failed: %s' % err)
52 print('tried regions is not collected')
58 print('tried regions is not created')
71 print('fail %s' % test_name)
72 print('number of regions that collected are:')
74 print(nr)
76 print('pass %s ' % test_name)
104 print('kdamond start failed: %s' % err)
117 print('commit failed: %s' % err)
[all …]
/linux/rust/kernel/
H A Dprint.rs159 $crate::print::call_printk(
170 $crate::print::call_printk_cont(
200 /// Mimics the interface of [`std::print!`]. See [`core::fmt`] and
204 /// [`std::print!`]: https://doc.rust-lang.org/std/macro.print.html
215 $crate::print_macro!($crate::print::format_strings::EMERG, false, $($arg)*)
225 /// Mimics the interface of [`std::print!`]. See [`core::fmt`] and
229 /// [`std::print!`]: https://doc.rust-lang.org/std/macro.print.html
240 $crate::print_macro!($crate::print::format_strings::ALERT, false, $($arg)*)
250 /// Mimics the interface of [`std::print!`]. See [`core::fmt`] and
254 /// [`std::print!`]: https://doc.rust-lang.org/std/macro.print.html
[all …]

12345678910>>...65