Home
last modified time | relevance | path

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

12

/scripts/gdb/linux/
A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
60 text += " .get_time: {}\n".format(base['get_time'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(i)
106 text += "\njiffies: {}\n".format(jiffies)
119 text += "Per CPU device: {}\n".format(cpu)
126 text += "{}\n".format(dev['name'])
[all …]
A Dlists.py28 .format(head.type))
32 .format(head.address))
51 .format(head.type))
72 gdb.write("Starting with: {}\n".format(c))
83 'prev@{p_addr}={p}\n'.format(
92 'current@{current_addr}={current}\n'.format(
101 'next@{n_addr}={n}\n'.format(
110 'current@{current_addr}={current}\n'.format(
118 gdb.write("list is consistent: {} node(s)\n".format(nb))
A Dproc.py78 "{0:0{1}x}-".format(start, width) +
79 "{0:0{1}x} : ".format(end, width) +
167 .format(pid))
173 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format(
198 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format(
254 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0]))
255 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1]))
256 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2]))
257 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3]))
259 gdb.write("version: {}\n".format(fdt_header[5]))
[all …]
A Dsymbols.py44 "'{0}'\n".format(module_name))
65 gdb.execute("symbol-file {0} -o {1}".format(
81 gdb.write("{}\n".format(e))
132 gdb.write("scanning for modules in {0}\n".format(path))
140 module_pattern = r".*/{0}\.ko(?:.debug)?$".format(
168 args.append(" -s {name} {addr}".format(
170 return "{textaddr} {sections}".format(
189 gdb.write("loading @{addr}: {filename}\n".format(
191 cmdline = "add-symbol-file {filename} {sections}".format(
198 gdb.write("no module object found for '{0}'\n".format(module_name))
[all …]
A Dcpus.py40 "trap_block[{0}].__per_cpu_base".format(str(cpu)))
44 "__per_cpu_offset[{0}]".format(str(cpu)))
132 gdb.write("Possible CPUs : {}\n".format(list(each_possible_cpu())))
133 gdb.write("Present CPUs : {}\n".format(list(each_present_cpu())))
134 gdb.write("Online CPUs : {}\n".format(list(each_online_cpu())))
135 gdb.write("Active CPUs : {}\n".format(list(each_active_cpu())))
A 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['bus']['name'].string(), bus))
112 raise gdb.GdbError("Can't find bus {!r}".format(arg))
126 gdb.write("class {}:\t{}\n".format(cls['class']['name'].string(), cls))
A Dmapletree.py40 .format(maple_tree_root_type.get_type().pointer(), mt.type))
112 … .format(mte_safe_root.__name__, maple_enode_type.get_type().pointer(), node.type))
127 … .format(mte_node_type.__name__, maple_enode_type.get_type().pointer(), entry.type))
133 … .format(ma_dead_node.__name__, maple_node_type.get_type().pointer(), node.type))
147 … .format(mte_to_node.__name__, maple_enode_type.get_type().pointer(), enode.type))
154 … .format(mte_dead_node.__name__, maple_enode_type.get_type().pointer(), enode.type))
173 … .format(ma_pivots.__name__, maple_node_type.get_type().pointer(), node.type))
184 … .format(ma_slots.__name__, maple_node_type.get_type().pointer(), node.type))
A Drbtree.py29 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
45 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
70 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
93 raise gdb.GdbError("Must be struct rb_node not {}".format(node.type))
A Dmodules.py75 "Address{0} Module Size Used by\n".format(
86 gdb.write("{address} {name:<19} {size:>8} {ref}".format(
96 gdb.write("{separator}{name}".format(
A Dradixtree.py38 .format(radix_tree_root_type.get_type(), root.type))
86 raise gdb.GdbError("No entry in tree at index {}".format(index))
A Dtasks.py72 gdb.write("{:>10} {:>12} {:>7}\n".format("TASK", "PID", "COMM"))
74 gdb.write("{} {:^5} {}\n".format(
A Dgenpd.py50 status_string = 'off-{}'.format(genpd['state_idx'])
/scripts/gendwarfksyms/
A Dgendwarfksyms.h34 #define __println(prefix, format, ...) \ argument
35 fprintf(stderr, prefix __PREFIX "%s: " format "\n", __func__, \
38 #define debug(format, ...) \ argument
41 __println("", format, ##__VA_ARGS__); \
44 #define warn(format, ...) __println("warning: ", format, ##__VA_ARGS__) argument
45 #define error(format, ...) \ argument
47 __println("error: ", format, ##__VA_ARGS__); \
55 "\033[" #color "m<" format ">\033[39m", \
59 #define die_debug_r(format, ...) __die_debug(91, format, __VA_ARGS__) argument
60 #define die_debug_g(format, ...) __die_debug(92, format, __VA_ARGS__) argument
[all …]
/scripts/
A Drustdoc_test_builder.rs52 &format!("{rustdoc_function_name}() -> Result<(), impl ::core::fmt::Debug> {{"), in main()
53 &format!( in main()
64 &format!("}} {rustdoc_function_name}().unwrap() }}"), in main()
65 …&format!("}} let test_return_value = {rustdoc_function_name}(); assert!(test_return_value.is_ok())… in main()
71 let path = format!("rust/test/doctests/kernel/{name}"); in main()
A Dbloat-o-meter28 def getsizes(file, format):
32 nm = "{}nm".format(args.prefix)
34 with os.popen("{} --size-sort {}".format(nm, file)) as f:
39 if type in format:
52 def calc(oldfile, newfile, format):
53 old = getsizes(oldfile, format)
54 new = getsizes(newfile, format)
A DMakefile.extrawarn17 KBUILD_CFLAGS += -Wno-format-security
38 KBUILD_CFLAGS += $(call cc-option, -Wno-format-overflow-non-kprintf)
39 KBUILD_CFLAGS += $(call cc-option, -Wno-format-truncation-non-kprintf)
117 KBUILD_CFLAGS += -Wmissing-format-attribute
131 KBUILD_CFLAGS += $(call cc-option, -Wno-format-overflow)
133 KBUILD_CFLAGS += $(call cc-option, -Wno-format-truncation)
143 KBUILD_CFLAGS += -Wno-format
A Dbpf_doc.py444 print('{}{}'.format('\t\t' if line else '', line))
449 print('{}{}'.format('\t\t' if line else '', line))
465 return 'Linux {version}'.format(version=version)
537 print(header.format(version=kernelVersion,
641 one_arg = '{}{}'.format(comma, a['type'])
647 one_arg += '*{}*\\ **'.format(a['name'])
900 one_arg = '{}{}'.format(comma, self.map_type(t))
903 one_arg += ' {}'.format(a['star'])
906 one_arg += '{}'.format(n)
991 print('Error: {}'.format(message), file=sys.stderr)
[all …]
A 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
A Dgit-resolve.sh75 match=$(git log --format="%H %s" --grep="$grep_pattern" --perl-regexp -10 | \
89 if git log -1 --format="%s" "$match" | grep -qP "$grep_pattern"; then
A Dkernel-doc.py168 def format(self, record): member in MsgFormatter
170 return logging.Formatter.format(self, record)
A Dsign-file.c80 void format(void) in format() function
265 default: format(); in main()
272 format(); in main()
/scripts/kconfig/tests/
A Dconftest.py104 print("[command]\n{}\n".format(' '.join(command)))
106 print("[retcode]\n{}\n".format(self.retcode))
115 print("[output for '{}']".format(out_file))
155 return self._run_conf('--defconfig={}'.format(defconfig_path))
162 return self._run_conf('--{}config'.format(mode), extra_env=extra_env)
/scripts/dtc/
A Dutil.h17 #define PRINTF(i, j) __attribute__((format (__MINGW_PRINTF_FORMAT, i, j)))
19 #define PRINTF(i, j) __attribute__((format (gnu_printf, i, j)))
21 #define PRINTF(i, j) __attribute__((format (printf, i, j)))
/scripts/clang-tools/
A Dgen_compile_commands.py144 sys.exit('{}: module path must end with .o'.format(obj))
191 logging.basicConfig(format='%(levelname)s: %(message)s', level=level)
209 sys.exit('{}: unknown file type'.format(path))
/scripts/mod/
A Dmodpost.h92 void __attribute__((format(printf, 2, 3)))
224 void __attribute__((format(printf, 2, 3)))

Completed in 26 milliseconds

12