/scripts/gdb/linux/ |
D | timerlist.py | 38 text = " #{}: <{}>, {}, ".format(idx, timer, function) 39 text += "S:{:02x}\n".format(int(timer['state'])) 40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format( 56 text = " .base: {}\n".format(base.address) 57 text += " .index: {}\n".format(base['index']) 59 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution) 61 text += " .get_time: {}\n".format(base['get_time']) 63 text += " .offset: {} nsecs\n".format(base['offset']) 75 text = "cpu: {}\n".format(cpu) 77 text += " clock {}:\n".format(i) [all …]
|
D | proc.py | 75 "{0:0{1}x}-".format(start, width) + 76 "{0:0{1}x} : ".format(end, width) + 164 .format(pid)) 170 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( 196 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format( 252 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 253 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 254 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2])) 255 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3])) 256 gdb.write("off_mem_rsvmap: 0x{:02X}\n".format(fdt_header[4])) [all …]
|
D | lists.py | 28 .format(head.type)) 46 .format(head.type)) 67 gdb.write("Starting with: {}\n".format(c)) 78 'prev@{p_addr}={p}\n'.format( 87 'current@{current_addr}={current}\n'.format( 96 'next@{n_addr}={n}\n'.format( 105 'current@{current_addr}={current}\n'.format( 113 gdb.write("list is consistent: {} node(s)\n".format(nb))
|
D | symbols.py | 45 "'{0}'\n".format(module_name)) 77 gdb.write("scanning for modules in {0}\n".format(path)) 85 module_pattern = ".*/{0}\.ko(?:.debug)?$".format( 106 args.append(" -s {name} {addr}".format( 126 gdb.write("loading @{addr}: {filename}\n".format( 128 cmdline = "add-symbol-file {filename} {addr}{sections}".format( 136 gdb.write("no module object found for '{0}'\n".format(module_name)) 154 gdb.execute("symbol-file {0}".format(orig_vmlinux))
|
D | cpus.py | 41 "trap_block[{0}].__per_cpu_base".format(str(cpu))) 45 "__per_cpu_offset[{0}]".format(str(cpu))) 133 gdb.write("Possible CPUs : {}\n".format(list(each_possible_cpu()))) 134 gdb.write("Present CPUs : {}\n".format(list(each_present_cpu()))) 135 gdb.write("Online CPUs : {}\n".format(list(each_online_cpu()))) 136 gdb.write("Active CPUs : {}\n".format(list(each_active_cpu())))
|
D | device.py | 53 raise gdb.GdbError("Can't find bus type {!r}".format(name)) 60 raise gdb.GdbError("Can't find device class {!r}".format(name)) 91 gdb.write('{}dev {}:\t{}\n'.format('\t' * level, dev_name(dev), dev)) 106 gdb.write('bus {}:\t{}\n'.format(bus['name'].string(), bus)) 112 raise gdb.GdbError("Can't find bus {!r}".format(arg)) 126 gdb.write("class {}:\t{}\n".format(cls['name'].string(), cls))
|
D | modules.py | 72 "Address{0} Module Size Used by\n".format( 77 gdb.write("{address} {name:<19} {size:>8} {ref}".format( 87 gdb.write("{separator}{name}".format(
|
D | rbtree.py | 17 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 33 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type)) 58 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type)) 81 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
|
D | tasks.py | 76 gdb.write("{:>10} {:>12} {:>7}\n".format("TASK", "PID", "COMM")) 78 gdb.write("{} {:^5} {}\n".format(
|
D | utils.py | 31 "cannot resolve type '{0}'".format(self._name)) 87 raise gdb.GdbError("unknown endianness '{0}'".format(str(endian)))
|
D | genpd.py | 50 status_string = 'off-{}'.format(genpd['state_idx'])
|
/scripts/ |
D | bpf_helpers_doc.py | 369 one_arg = '{}{}'.format(comma, a['type']) 372 one_arg += ' {}**\ '.format(a['star'].replace('*', '\\*')) 375 one_arg += '*{}*\\ **'.format(a['name']) 389 print('{}{}'.format('\t\t' if line else '', line)) 394 print('{}{}'.format('\t\t' if line else '', line)) 544 print(' *{}{}'.format(' \t' if line else '', line)) 550 print(' *{}{}'.format(' \t' if line else '', line)) 562 one_arg = '{}{}'.format(comma, self.map_type(t)) 565 one_arg += ' {}'.format(a['star']) 568 one_arg += '{}'.format(n)
|
D | bloat-o-meter | 25 def getsizes(file, format): argument 32 if type in format: 44 def calc(oldfile, newfile, format): argument 45 old = getsizes(oldfile, format) 46 new = getsizes(newfile, format)
|
D | Makefile.extrawarn | 27 KBUILD_CFLAGS += -Wmissing-format-attribute 49 KBUILD_CFLAGS += -Wno-format 51 KBUILD_CFLAGS += -Wno-format-zero-length
|
D | insert-sys-cert.c | 33 #define info(format, args...) fprintf(stderr, "INFO: " format, ## args) argument 34 #define warn(format, args...) fprintf(stdout, "WARNING: " format, ## args) argument 35 #define err(format, args...) fprintf(stderr, "ERROR: " format, ## args) argument
|
D | extract-cert.c | 36 void format(void) in format() function 112 format(); in main()
|
D | sign-file.c | 77 void format(void) in format() function 261 default: format(); in main() 268 format(); in main()
|
/scripts/kconfig/tests/ |
D | conftest.py | 100 print("[command]\n{}\n".format(' '.join(command))) 102 print("[retcode]\n{}\n".format(self.retcode)) 111 print("[output for '{}']".format(out_file)) 151 return self._run_conf('--defconfig={}'.format(defconfig_path)) 160 return self._run_conf('--{}config'.format(mode), extra_env=extra_env)
|
/scripts/clang-tools/ |
D | gen_compile_commands.py | 150 sys.exit('{}: module path must end with .ko'.format(ko)) 197 logging.basicConfig(format='%(levelname)s: %(message)s', level=level) 218 sys.exit('{}: unknown file type'.format(path))
|
/scripts/dtc/ |
D | util.h | 17 #define PRINTF(i, j) __attribute__((format (printf, i, j))) 19 #define PRINTF(i, j) __attribute__((format (gnu_printf, i, j)))
|
/scripts/basic/ |
D | fixdep.c | 113 static void xprintf(const char *format, ...) in xprintf() argument 118 va_start(ap, format); in xprintf() 119 ret = vprintf(format, ap); in xprintf()
|
/scripts/genksyms/ |
D | genksyms.h | 67 void error_with_pos(const char *, ...) __attribute__ ((format(printf, 1, 2)));
|
/scripts/kconfig/ |
D | preprocess.c | 20 static void __attribute__((noreturn)) pperror(const char *format, ...) in pperror() argument 25 va_start(ap, format); in pperror() 26 vfprintf(stderr, format, ap); in pperror()
|
/scripts/gcc-plugins/ |
D | Makefile | 28 -Wno-format-diag
|
/scripts/package/ |
D | mkdebian | 136 echo "1.0" > debian/source/format
|