| /Linux-v6.1/kernel/time/ |
| D | timeconst.bc | 44 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-v6.1/tools/testing/selftests/rcutorture/bin/ |
| D | configcheck.sh | 20 print "if grep -q \"" $0 "\" < '"$T/.config"'"; 21 print "then"; 22 print "\t:"; 23 print "else"; 25 print "\tif grep -q \"" $2 "\" < '"$T/.config"'"; 26 print "\tthen"; 27 print "\t\tif test \"$firsttime\" = \"\"" 28 print "\t\tthen" 29 print "\t\t\tfirsttime=1" 30 print "\t\tfi" [all …]
|
| D | kvm-recheck-rcuscale-ftrace.sh | 44 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 …]
|
| D | kvm.sh | 338 print $i, scenariocpu[$i]; 389 print cf[i], cpus[i]; 458 print "echo ----Start batch " batchnum ": `date` | tee -a " rd "log"; 459 print "needqemurun=" 469 …print "TORTURE_JITTER_START=\". jitterstart.sh " njitter " " rd " " dur " " ja[2] " " ja[3] "\"; e… 470 print "TORTURE_JITTER_STOP=\". jitterstop.sh " rd " \"; export TORTURE_JITTER_STOP" 485 print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date` | tee -a " rd "log"; 486 print "mkdir " rd cfr[jn] " || :"; 487 print "touch " builddir ".wait"; 493 print "export TORTURE_AFFINITY=" affinitylist; [all …]
|
| D | kvm-recheck-rcuscale.sh | 46 print "No rcuscale records found???" 59 print "Histogram bucket size: " div; 68 print last, count; 74 print last, count; 75 print "Average grace-period duration: " sum / newNR " microseconds"; 76 print "Minimum grace-period duration: " gptimes[1]; 77 print "50th percentile grace-period duration: " gptimes[pct50]; 78 print "90th percentile grace-period duration: " gptimes[pct90]; 79 print "99th percentile grace-period duration: " gptimes[pct99]; 80 print "Maximum grace-period duration: " gptimes[newNR]; [all …]
|
| D | kvm-recheck-refscale.sh | 30 # print configfile, $0; 37 # print $0; 51 print configfile " results:"; 54 print "No refscale records found???" 65 print points; 66 print "Average reader duration: " sum / newNR " nanoseconds"; 67 print "Minimum reader duration: " readertimes[1]; 68 print "Median reader duration: " medianvalue; 69 print "Maximum reader duration: " readertimes[newNR]; 70 print "Computed from refscale printk output.";
|
| /Linux-v6.1/arch/x86/tools/ |
| D | gen-insn-attr-x86.awk | 31 print "Error: " awkchecked > "/dev/stderr" 32 print "Please try to use gawk." > "/dev/stderr" 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 38 print "/* Do not change this code. */\n" 107 print "Semantic error at " NR ": " msg > "/dev/stderr" 112 print "DEBUG: " msg 123 print "/* " $0 " */" 153 print "/* " $0 " */" 162 print "const insn_attr_t " name " = {" 166 print " [" id "] = " tbl[id] "," [all …]
|
| /Linux-v6.1/tools/arch/x86/tools/ |
| D | gen-insn-attr-x86.awk | 31 print "Error: " awkchecked > "/dev/stderr" 32 print "Please try to use gawk." > "/dev/stderr" 37 print "/* x86 opcode map generated from x86-opcode-map.txt */" 38 print "/* Do not change this code. */\n" 107 print "Semantic error at " NR ": " msg > "/dev/stderr" 112 print "DEBUG: " msg 123 print "/* " $0 " */" 153 print "/* " $0 " */" 162 print "const insn_attr_t " name " = {" 166 print " [" id "] = " tbl[id] "," [all …]
|
| /Linux-v6.1/scripts/ |
| D | get_feat.pl | 62 print STDERR "Warning: file $file#$ln:\n\t$msg"; 65 print STDERR ". Line\n\t\t$data"; 67 print STDERR "\n"; 119 print STDERR "Opening $file\n" if ($debug > 1); 214 print "=" x length($title) . "\n"; 215 print "$title\n"; 216 print "=" x length($title) . "\n\n"; 218 print "=" x $max_size_subsys; 219 print " "; 220 print "=" x $max_size_name; [all …]
|
| D | extract-module-sig.pl | 40 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 …]
|
| D | headerdep.pl | 43 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 …]
|
| D | diffconfig | 14 print("""Usage: diffconfig [-h] [-m] [<config1> <config2>] 57 print("# CONFIG_%s is not set" % config) 59 print("CONFIG_%s=%s" % (config, new_value)) 62 print("-%s %s" % (config, value)) 64 print("+%s %s" % (config, new_value)) 66 print(" %s %s -> %s" % (config, value, new_value)) 82 print("Error: incorrect number of arguments or unrecognized option") 101 print("I/O error[%s]: %s\n" % (e.args[0],e.args[1])) 104 # print items in a but not b (accumulate, sort and print) 114 # print items that changed (accumulate, sort, and print) [all …]
|
| D | check-sysctl-docs | 17 print "Please specify the table to look for using the table variable" > "/dev/stderr" 47 # Print the information for the given entry 54 print "" 67 if (debug) print "Parsing " $0 79 if (debug) print trimpunct($i) 103 if (debug) print "Processing file " FILENAME 109 if (debug) print "Processing path " curpath 115 if (debug) print "Processing table " curtable 131 if (debug) print "Setting path " curpath " to " curentry 138 if (debug) print "Adding entry " curentry " to table " curtable [all …]
|
| /Linux-v6.1/lib/ |
| D | build_OID_registry | 16 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n"; 37 print C_FILE "/*\n"; 38 print C_FILE " * Automatically generated by ", $0, ". Do not edit\n"; 39 print C_FILE " */\n"; 73 print C_FILE "\n"; 75 print C_FILE "static const unsigned char oid_index[OID__NR + 1] = {\n"; 77 print C_FILE "static const unsigned short oid_index[OID__NR + 1] = {\n"; 80 print C_FILE "\t[OID_", $names[$i], "] = ", $indices[$i], ",\n" 82 print C_FILE "\t[OID__NR] = ", $total_length, "\n"; 83 print C_FILE "};\n"; [all …]
|
| /Linux-v6.1/tools/testing/selftests/size/ |
| D | get_size.c | 21 * 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-v6.1/tools/testing/selftests/tc-testing/ |
| D | tdc.py | 101 print('ERROR: unable to find required plugin {}'.format(r)) 105 print('WARNING: multiple copies of plugin {} found, using version found') 106 print('at {}'.format(source_path[0])) 130 print('exception {} in call to pre_case for {} plugin'. 132 print('test_ordinal is {}'.format(test_ordinal)) 133 print('testid is {}'.format(caseinfo['id'])) 192 print('command "{}"'.format(command)) 220 print('{}'.format(prefix)) 235 print('', file=sys.stderr) 236 print("{} *** Could not execute: \"{}\"".format(prefix, cmd), [all …]
|
| D | tdc_helper.py | 35 """ 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-v6.1/Documentation/trace/postprocess/ |
| D | trace-vmscan-postprocess.pl | 84 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"); 312 print "WARNING: Failed to parse mm_vmscan_direct_reclaim_begin as expected\n"; 313 print " $details\n"; 314 print " $regex_direct_begin\n"; 335 print "WARNING: Failed to parse mm_vmscan_kswapd_wake as expected\n"; [all …]
|
| /Linux-v6.1/tools/perf/scripts/python/ |
| D | event_analyzing_sample.py | 42 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 …]
|
| D | intel-pt-events.py | 2 # intel-pt-events.py: Print Intel PT Events including Power Events and PTWRITE 78 print("Intel PT Instruction Trace") 82 print("Intel PT Source Trace") 87 print("Intel PT Branch Trace, Power Events, Event Trace and PTWRITE") 97 print("End") 100 print(' '.join(['%s=%s'%(k,str(v))for k,v in sorted(event_fields_dict.items())])) 113 print("IP: %u payload: %#x" % (exact_ip, payload), s, end=' ') 120 print("%3u freq: %4u MHz (%3u%%)" % (cbr, f, p), end=' ') 127 print("hints: %#x extensions: %#x" % (hints, extensions), end=' ') 135 print("hw: %u cstate: %u sub-cstate: %u" % (hw, cstate, subcstate), [all …]
|
| /Linux-v6.1/tools/verification/dot2/ |
| D | dot2k | 28 print("Opening and parsing the dot file %s" % params.dot_file) 32 print('Error: '+ str(e)) 33 print("Sorry : :-(") 38 print(params.model_name) 40 print("Writing the monitor into the directory %s" % monitor.name) 42 print("Almost done, checklist") 43 print(" - Edit the %s/%s.c to add the instrumentation" % (monitor.name, monitor.name)) 44 print(" - Edit include/trace/events/rv.h to add the tracepoint entry") 45 print(" - Move it to the kernel's monitor directory") 46 print(" - Edit kernel/trace/rv/Makefile") [all …]
|
| /Linux-v6.1/scripts/dtc/ |
| D | of_unittest_expect | 73 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n"; 81 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n"; 92 print STDERR 98 -h print program usage 99 --help print program usage 105 --version print program version and exit 174 print STDERR "\n"; 175 print STDERR "ERROR processing command line options\n"; 176 print STDERR "\n"; 177 print STDERR "For help, type '$script_name --help'\n"; [all …]
|
| D | dt_to_config | 162 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 "$separator", "n"; [all …]
|
| /Linux-v6.1/Documentation/driver-api/media/drivers/ccs/ |
| D | mk-ccs-regs | 27 print <<EOH 78 print $fh "// $license\n$copyright$note\n" if defined $fh; 82 print $fh "/* $license */\n$copyright$note\n"; 93 print $H <<EOF 100 print $H "#include <linux/bits.h>\n\n" if defined $kernel; 102 print $H <<EOF 107 print $H "#define CCS_FL_16BIT " . bit_def("CCS_FL_BASE") . "\n"; 108 print $H "#define CCS_FL_32BIT " . bit_def("CCS_FL_BASE + 1") . "\n"; 109 print $H "#define CCS_FL_FLOAT_IREAL " . bit_def("CCS_FL_BASE + 2") . "\n"; 110 print $H "#define CCS_FL_IREAL " . bit_def("CCS_FL_BASE + 3") . "\n"; [all …]
|
| /Linux-v6.1/arch/arm64/tools/ |
| D | gen-sysreg.awk | 9 print "Error at " NR ": " msg > "/dev/stderr" 33 # Print a CPP macro definition, padded with spaces so that the macro bodies 39 # Print standard BITMASK/SHIFT/WIDTH CPP definitions for a field 76 print "#ifndef __ASM_SYSREG_DEFS_H" 77 print "#define __ASM_SYSREG_DEFS_H" 78 print "" 79 print "/* Generated file - do not edit */" 80 print "" 86 print "#endif /* __ASM_SYSREG_DEFS_H */" 115 print "" [all …]
|