Lines Matching refs:event_attr

56   selection.event_attr = CreateDefaultPerfEventAttr(event_type_modifier.event_type);  in AddEventType()
57 selection.event_attr.exclude_user = event_type_modifier.exclude_user; in AddEventType()
58 selection.event_attr.exclude_kernel = event_type_modifier.exclude_kernel; in AddEventType()
59 selection.event_attr.exclude_hv = event_type_modifier.exclude_hv; in AddEventType()
60 selection.event_attr.exclude_host = event_type_modifier.exclude_host; in AddEventType()
61 selection.event_attr.exclude_guest = event_type_modifier.exclude_guest; in AddEventType()
62 selection.event_attr.precise_ip = event_type_modifier.precise_ip; in AddEventType()
63 if (!IsEventAttrSupportedByKernel(selection.event_attr)) { in AddEventType()
77 sample_type |= selection.event_attr.sample_type; in UnionSampleType()
80 selection.event_attr.sample_type = sample_type; in UnionSampleType()
91 selection.event_attr.enable_on_exec = 1; in SetEnableOnExec()
92 selection.event_attr.disabled = 1; in SetEnableOnExec()
94 selection.event_attr.enable_on_exec = 0; in SetEnableOnExec()
95 selection.event_attr.disabled = 0; in SetEnableOnExec()
102 if (selection.event_attr.enable_on_exec == 0) { in GetEnableOnExec()
111 selection.event_attr.sample_id_all = 1; in SampleIdAll()
117 perf_event_attr& attr = selection.event_attr; in SetSampleFreq()
125 perf_event_attr& attr = selection.event_attr; in SetSamplePeriod()
143 perf_event_attr& attr = selection.event_attr; in SetBranchSampling()
156 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()
166 selection.event_attr.sample_type |= in EnableDwarfCallChainSampling()
168 selection.event_attr.exclude_callchain_user = 1; in EnableDwarfCallChainSampling()
169 selection.event_attr.sample_regs_user = GetSupportedRegMask(GetBuildArch()); in EnableDwarfCallChainSampling()
170 selection.event_attr.sample_stack_user = dump_stack_size; in EnableDwarfCallChainSampling()
177 selection.event_attr.inherit = (enable ? 1 : 0); in SetInherit()
214 auto event_fd = EventFd::OpenEventFile(selection.event_attr, tid, cpu); in OpenEventFiles()
322 return (selection != nullptr) ? &selection->event_attr : nullptr; in FindEventAttrByType()