/scripts/kconfig/tests/ |
D | conftest.py | 30 def __init__(self, request): argument 36 self._test_dir = os.path.dirname(str(request.fspath)) 39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument 54 extra_env['srctree'] = self._test_dir 62 shutil.copyfile(os.path.join(self._test_dir, dot_config), 82 self.retcode = ps.returncode 83 self.stdout = ps.stdout.read().decode() 84 self.stderr = ps.stderr.read().decode() 89 if self.retcode == 0 and out_file: 91 self.config = f.read() [all …]
|
/scripts/ |
D | bpf_helpers_doc.py | 17 def __init__(self, line='<line not provided>', reader=None): argument 19 BaseException.__init__(self, 23 BaseException.__init__(self, 'Error parsing line: %s' % line) 32 def __init__(self, proto='', desc='', ret=''): argument 33 self.proto = proto 34 self.desc = desc 35 self.ret = ret 37 def proto_break_down(self): argument 46 capture = proto_re.match(self.proto) 71 def __init__(self, filename): argument [all …]
|
D | spdxcheck.py | 15 def __init__(self, tok, txt): argument 16 self.tok = tok 17 self.txt = txt 20 def __init__(self, el, txt): argument 21 self.el = el 22 self.txt = txt 25 def __init__(self): argument 26 self.license_files = 0 27 self.exception_files = 0 28 self.licenses = [ ] [all …]
|
/scripts/gdb/linux/ |
D | symbols.py | 23 def __init__(self, spec, gdb_command): argument 24 super(LoadModuleBreakpoint, self).__init__(spec, internal=True) 25 self.silent = True 26 self.gdb_command = gdb_command 28 def stop(self): argument 31 cmd = self.gdb_command 70 def __init__(self): argument 71 super(LxSymbols, self).__init__("lx-symbols", gdb.COMMAND_FILES, 74 def _update_module_files(self): argument 75 self.module_files = [] [all …]
|
D | clk.py | 26 def __init__(self): argument 27 super(LxClkSummary, self).__init__("lx-clk-summary", gdb.COMMAND_DATA) 29 def show_subtree(self, clk, level): argument 41 self.show_subtree(child, level + 1) 43 def invoke(self, arg, from_tty): argument 48 self.show_subtree(clk, 0) 50 self.show_subtree(clk, 0) 59 def __init__(self): argument 60 super(LxClkCoreLookup, self).__init__("lx_clk_core_lookup") 62 def lookup_hlist(self, hlist_head, name): argument [all …]
|
D | utils.py | 18 def __init__(self, name): argument 19 self._type = None 20 self._name = name 22 def _new_objfile_handler(self, event): argument 23 self._type = None 24 gdb.events.new_objfile.disconnect(self._new_objfile_handler) 26 def get_type(self): argument 27 if self._type is None: 28 self._type = gdb.lookup_type(self._name) 29 if self._type is None: [all …]
|
D | tasks.py | 55 def __init__(self): argument 56 super(LxTaskByPidFunc, self).__init__("lx_task_by_pid") 58 def invoke(self, pid): argument 72 def __init__(self): argument 73 super(LxPs, self).__init__("lx-ps", gdb.COMMAND_DATA) 75 def invoke(self, arg, from_tty): argument 112 def __init__(self): argument 113 super(LxThreadInfoFunc, self).__init__("lx_thread_info") 115 def invoke(self, task): argument 128 def __init__(self): argument [all …]
|
D | proc.py | 26 def __init__(self): argument 27 super(LxCmdLine, self).__init__("lx-cmdline", gdb.COMMAND_DATA) 29 def invoke(self, arg, from_tty): argument 40 def __init__(self): argument 41 super(LxVersion, self).__init__("lx-version", gdb.COMMAND_DATA) 43 def invoke(self, arg, from_tty): argument 85 def __init__(self): argument 86 super(LxIOMem, self).__init__("lx-iomem", gdb.COMMAND_DATA) 88 def invoke(self, arg, from_tty): argument 100 def __init__(self): argument [all …]
|
D | device.py | 100 def __init__(self): argument 101 super(LxDeviceListBus, self).__init__('lx-device-list-bus', gdb.COMMAND_DATA) 103 def invoke(self, arg, from_tty): argument 120 def __init__(self): argument 121 super(LxDeviceListClass, self).__init__('lx-device-list-class', gdb.COMMAND_DATA) 123 def invoke(self, arg, from_tty): argument 138 def __init__(self): argument 139 super(LxDeviceListTree, self).__init__('lx-device-list-tree', gdb.COMMAND_DATA) 141 def invoke(self, arg, from_tty): argument 153 def __init__(self): argument [all …]
|
D | rbtree.py | 106 def __init__(self): argument 107 super(LxRbFirst, self).__init__("lx_rb_first") 109 def invoke(self, root): argument 126 def __init__(self): argument 127 super(LxRbLast, self).__init__("lx_rb_last") 129 def invoke(self, root): argument 146 def __init__(self): argument 147 super(LxRbNext, self).__init__("lx_rb_next") 149 def invoke(self, node): argument 166 def __init__(self): argument [all …]
|
D | modules.py | 47 def __init__(self): argument 48 super(LxModule, self).__init__("lx_module") 50 def invoke(self, mod_name): argument 67 def __init__(self): argument 68 super(LxLsmod, self).__init__("lx-lsmod", gdb.COMMAND_DATA) 70 def invoke(self, arg, from_tty): argument 83 t = self._module_use_type.get_type().pointer()
|
D | cpus.py | 129 def __init__(self): argument 130 super(LxCpus, self).__init__("lx-cpus", gdb.COMMAND_DATA) 132 def invoke(self, arg, from_tty): argument 149 def __init__(self): argument 150 super(PerCpu, self).__init__("lx_per_cpu") 152 def invoke(self, var_name, cpu=-1): argument 166 def __init__(self): argument 167 super(LxCurrentFunc, self).__init__("lx_current") 169 def invoke(self, cpu=-1): argument
|
D | genpd.py | 43 def __init__(self): argument 44 super(LxGenPDSummary, self).__init__('lx-genpd-summary', gdb.COMMAND_DATA) 46 def summary_one(self, genpd): argument 72 def invoke(self, arg, from_tty): argument 80 self.summary_one(genpd)
|
D | config.py | 16 def __init__(self): argument 17 super(LxConfigDump, self).__init__("lx-configdump", gdb.COMMAND_DATA, 20 def invoke(self, arg, from_tty): argument
|
D | dmesg.py | 25 def __init__(self): argument 26 super(LxDmesg, self).__init__("lx-dmesg", gdb.COMMAND_DATA) 28 def invoke(self, arg, from_tty): argument
|
D | lists.py | 120 def __init__(self): argument 121 super(LxListChk, self).__init__("lx-list-check", gdb.COMMAND_DATA, 124 def invoke(self, arg, from_tty): argument
|
D | timerlist.py | 182 def __init__(self): argument 183 super(LxTimerList, self).__init__("lx-timerlist", gdb.COMMAND_DATA) 185 def invoke(self, arg, from_tty): argument
|
/scripts/tracing/ |
D | draw_functrace.py | 35 def __init__(self, func, time = None, parent = None): argument 36 self._func = func 37 self._time = time 39 self._parent = CallTree.ROOT 41 self._parent = parent 42 self._children = [] 44 def calls(self, func, calltime): argument 49 child = CallTree(func, calltime, self) 50 self._children.append(child) 53 def getParent(self, func): argument [all …]
|