/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 | 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 | proc.py | 75 "{0:0{1}x}-".format(start, width) + 76 "{0:0{1}x} : ".format(end, width) + 164 .format(pid)) 195 .format(devname, 253 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 254 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 255 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2])) 256 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3])) 257 gdb.write("off_mem_rsvmap: 0x{:02X}\n".format(fdt_header[4])) 258 gdb.write("version: {}\n".format(fdt_header[5])) [all …]
|
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 | 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'])
|
D | dmesg.py | 69 msg = u"[{time:12.6f}] {line}\n".format(
|
D | tasks.py | 77 gdb.write("{address} {pid} {comm}\n".format(
|
/scripts/ |
D | bloat-o-meter | 25 def getsizes(file, format): argument 30 if type in format: 42 def calc(oldfile, newfile, format): argument 43 old = getsizes(oldfile, format) 44 new = getsizes(newfile, format)
|
D | Makefile.extrawarn | 27 KBUILD_CFLAGS += -Wmissing-format-attribute 48 KBUILD_CFLAGS += -Wno-format 50 KBUILD_CFLAGS += -Wno-format-zero-length
|
D | bpf_helpers_doc.py | 365 one_arg = '{}{}'.format(comma, a['type']) 368 one_arg += ' {}**\ '.format(a['star'].replace('*', '\\*')) 371 one_arg += '*{}*\\ **'.format(a['name']) 385 print('{}{}'.format('\t\t' if line else '', line)) 390 print('{}{}'.format('\t\t' if line else '', line))
|
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 | 29 void format(void) in format() function 103 format(); in main()
|
D | sign-file.c | 70 void format(void) in format() function 254 default: format(); in main() 261 format(); in main()
|
D | gen_compile_commands.py | 115 logging.basicConfig(format='%(levelname)s: %(message)s', level=level)
|
/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/basic/ |
D | fixdep.c | 118 static void xprintf(const char *format, ...) in xprintf() argument 123 va_start(ap, format); in xprintf() 124 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/dtc/ |
D | util.h | 15 #define PRINTF(i, j) __attribute__((format (printf, i, j)))
|
/scripts/mod/ |
D | modpost.h | 106 void __attribute__((format(printf, 2, 3)))
|