Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 34) sorted by relevance

12

/scripts/gdb/linux/
Dtimerlist.py38 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 …]
Dlists.py28 .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))
Dproc.py75 "{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 …]
Dsymbols.py45 "'{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))
Dcpus.py41 "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())))
Ddevice.py53 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))
Dmodules.py72 "Address{0} Module Size Used by\n".format(
77 gdb.write("{address} {name:<19} {size:>8} {ref}".format(
87 gdb.write("{separator}{name}".format(
Drbtree.py17 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))
Dutils.py31 "cannot resolve type '{0}'".format(self._name))
87 raise gdb.GdbError("unknown endianness '{0}'".format(str(endian)))
Dgenpd.py50 status_string = 'off-{}'.format(genpd['state_idx'])
Ddmesg.py69 msg = u"[{time:12.6f}] {line}\n".format(
Dtasks.py77 gdb.write("{address} {pid} {comm}\n".format(
/scripts/
Dbloat-o-meter25 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)
DMakefile.extrawarn27 KBUILD_CFLAGS += -Wmissing-format-attribute
48 KBUILD_CFLAGS += -Wno-format
50 KBUILD_CFLAGS += -Wno-format-zero-length
Dbpf_helpers_doc.py365 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))
Dinsert-sys-cert.c33 #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
Dextract-cert.c29 void format(void) in format() function
103 format(); in main()
Dsign-file.c70 void format(void) in format() function
254 default: format(); in main()
261 format(); in main()
Dgen_compile_commands.py115 logging.basicConfig(format='%(levelname)s: %(message)s', level=level)
/scripts/kconfig/tests/
Dconftest.py100 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/
Dfixdep.c118 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/
Dgenksyms.h67 void error_with_pos(const char *, ...) __attribute__ ((format(printf, 1, 2)));
/scripts/kconfig/
Dpreprocess.c20 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/
Dutil.h15 #define PRINTF(i, j) __attribute__((format (printf, i, j)))
/scripts/mod/
Dmodpost.h106 void __attribute__((format(printf, 2, 3)))

12