Lines Matching refs:dict_sample

680 static void set_sample_read_in_dict(PyObject *dict_sample,  in set_sample_read_in_dict()  argument
689 pydict_set_item_string_decref(dict_sample, "time_enabled", in set_sample_read_in_dict()
694 pydict_set_item_string_decref(dict_sample, "time_running", in set_sample_read_in_dict()
720 pydict_set_item_string_decref(dict_sample, "values", values); in set_sample_read_in_dict()
834 static void python_process_sample_flags(struct perf_sample *sample, PyObject *dict_sample) in python_process_sample_flags() argument
838 set_sample_flags(dict_sample, sample->flags); in python_process_sample_flags()
840 pydict_set_item_string_decref(dict_sample, "flags_disp", in python_process_sample_flags()
850 PyObject *dict, *dict_sample, *brstack, *brstacksym; in get_perf_sample_dict() local
856 dict_sample = PyDict_New(); in get_perf_sample_dict()
857 if (!dict_sample) in get_perf_sample_dict()
863 pydict_set_item_string_decref(dict_sample, "id", in get_perf_sample_dict()
865 pydict_set_item_string_decref(dict_sample, "stream_id", in get_perf_sample_dict()
867 pydict_set_item_string_decref(dict_sample, "pid", in get_perf_sample_dict()
869 pydict_set_item_string_decref(dict_sample, "tid", in get_perf_sample_dict()
871 pydict_set_item_string_decref(dict_sample, "cpu", in get_perf_sample_dict()
873 pydict_set_item_string_decref(dict_sample, "ip", in get_perf_sample_dict()
875 pydict_set_item_string_decref(dict_sample, "time", in get_perf_sample_dict()
877 pydict_set_item_string_decref(dict_sample, "period", in get_perf_sample_dict()
879 pydict_set_item_string_decref(dict_sample, "phys_addr", in get_perf_sample_dict()
881 pydict_set_item_string_decref(dict_sample, "addr", in get_perf_sample_dict()
883 set_sample_read_in_dict(dict_sample, sample, evsel); in get_perf_sample_dict()
884 pydict_set_item_string_decref(dict_sample, "weight", in get_perf_sample_dict()
886 pydict_set_item_string_decref(dict_sample, "ins_lat", in get_perf_sample_dict()
888 pydict_set_item_string_decref(dict_sample, "transaction", in get_perf_sample_dict()
890 set_sample_datasrc_in_dict(dict_sample, sample); in get_perf_sample_dict()
891 pydict_set_item_string_decref(dict, "sample", dict_sample); in get_perf_sample_dict()
909 pydict_set_item_string_decref(dict_sample, "machine_pid", in get_perf_sample_dict()
911 pydict_set_item_string_decref(dict_sample, "vcpu", in get_perf_sample_dict()
915 pydict_set_item_string_decref(dict_sample, "cpumode", in get_perf_sample_dict()
919 pydict_set_item_string_decref(dict_sample, "addr_correlates_sym", in get_perf_sample_dict()
921 set_sym_in_dict(dict_sample, addr_al, "addr_dso", "addr_dso_bid", in get_perf_sample_dict()
927 python_process_sample_flags(sample, dict_sample); in get_perf_sample_dict()
931 pydict_set_item_string_decref(dict_sample, "insn_cnt", in get_perf_sample_dict()
933 pydict_set_item_string_decref(dict_sample, "cyc_cnt", in get_perf_sample_dict()