/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.py | 36 def add_stats(dict, key, value): argument 37 if key not in dict: 38 dict[key] = (value, value, value, 1) 40 min, max, avg, count = dict[key] 46 dict[key] = (min, max, avg, count + 1)
|
/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 137 static void pydict_set_item_string_decref(PyObject *dict, const char *key, PyObject *val) in pydict_set_item_string_decref() argument 139 PyDict_SetItemString(dict, key, val); in pydict_set_item_string_decref() 675 static void set_sample_datasrc_in_dict(PyObject *dict, in set_sample_datasrc_in_dict() argument 681 pydict_set_item_string_decref(dict, "datasrc", in set_sample_datasrc_in_dict() 686 pydict_set_item_string_decref(dict, "datasrc_decode", in set_sample_datasrc_in_dict() 709 static void set_regs_in_dict(PyObject *dict, in set_regs_in_dict() argument 727 pydict_set_item_string_decref(dict, "iregs", in set_regs_in_dict() 732 pydict_set_item_string_decref(dict, "uregs", in set_regs_in_dict() 736 static void set_sym_in_dict(PyObject *dict, struct addr_location *al, in set_sym_in_dict() argument 741 pydict_set_item_string_decref(dict, dso_field, in set_sym_in_dict() [all …]
|
/tools/testing/selftests/tc-testing/ |
D | tdc_config_local_template.py | 16 EXTRA_NAMES = dict()
|
D | tdc_helper.py | 10 testcases = dict()
|
/tools/cgroup/ |
D | iocost_monitor.py | 113 def dict(self, now): member in IocStat 170 def dict(self, now, path): member in IocgStat 249 output += json.dumps(iocstat.dict(now)) 266 output += '\n' + json.dumps(iocg_stat.dict(now, path))
|
/tools/power/pm-graph/ |
D | sleepgraph.py | 166 devprops = dict() 167 cfgdef = dict() 294 kprobes = dict() 334 self.signames = dict() 383 args = dict() 537 self.tracefuncs[i] = dict() 565 self.kprobes[name] = {'name': name,'func': name,'args': dict(),'format': name} 574 k['args'] = dict() 595 arglist = dict() 611 args = dict() [all …]
|
D | bootgraph.py | 228 'kernel': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 230 'user': {'list': dict(), 'start': -1.0, 'end': -1.0, 'row': 0, 302 devtemp = dict() 389 ftemp = dict() 498 stats = dict() 566 devstats = dict()
|
/tools/perf/scripts/python/ |
D | stackcollapse.py | 100 entry.setdefault('sym', dict())
|
/tools/perf/util/ |
D | python.c | 1338 PyObject *dict; in initperf() local 1410 dict = PyModule_GetDict(module); in initperf() 1411 if (dict == NULL) in initperf() 1418 PyDict_SetItemString(dict, perf__constants[i].name, obj); in initperf()
|
/tools/hv/ |
D | vmbus_testing | 71 file_map = recursive_file_lookup(debugfs_hyperv_path, dict())
|
/tools/perf/tests/ |
D | attr.py | 52 class Event(dict):
|
/tools/testing/selftests/drivers/net/mlxsw/ |
D | sharedbuffer_configuration.py | 140 class CommonItem(dict):
|
/tools/perf/Documentation/ |
D | perf-script-python.txt | 673 if 'brstack' in dict: 674 for entry in dict['brstack']:
|
/tools/kvm/kvm_stat/ |
D | kvm_stat | 395 return dict(zip([event.name for event in self.events],
|