Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 14 of 14) sorted by relevance

/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py36 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/
Dtrace-event-python.c137 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/
Dtdc_config_local_template.py16 EXTRA_NAMES = dict()
Dtdc_helper.py10 testcases = dict()
/tools/cgroup/
Diocost_monitor.py113 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/
Dsleepgraph.py166 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 …]
Dbootgraph.py228 '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/
Dstackcollapse.py100 entry.setdefault('sym', dict())
/tools/perf/util/
Dpython.c1338 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/
Dvmbus_testing71 file_map = recursive_file_lookup(debugfs_hyperv_path, dict())
/tools/perf/tests/
Dattr.py52 class Event(dict):
/tools/testing/selftests/drivers/net/mlxsw/
Dsharedbuffer_configuration.py140 class CommonItem(dict):
/tools/perf/Documentation/
Dperf-script-python.txt673 if 'brstack' in dict:
674 for entry in dict['brstack']:
/tools/kvm/kvm_stat/
Dkvm_stat395 return dict(zip([event.name for event in self.events],