• Home
  • Raw
  • Download

Lines Matching refs:event_attr

157   selection->event_attr = CreateDefaultPerfEventAttr(event_type->event_type);  in BuildAndCheckEventSelection()
158 selection->event_attr.exclude_user = event_type->exclude_user; in BuildAndCheckEventSelection()
159 selection->event_attr.exclude_kernel = event_type->exclude_kernel; in BuildAndCheckEventSelection()
160 selection->event_attr.exclude_hv = event_type->exclude_hv; in BuildAndCheckEventSelection()
161 selection->event_attr.exclude_host = event_type->exclude_host; in BuildAndCheckEventSelection()
162 selection->event_attr.exclude_guest = event_type->exclude_guest; in BuildAndCheckEventSelection()
163 selection->event_attr.precise_ip = event_type->precise_ip; in BuildAndCheckEventSelection()
169 ETMRecorder::GetInstance().SetEtmPerfEventAttr(&selection->event_attr); in BuildAndCheckEventSelection()
174 selection->event_attr.freq = 0; in BuildAndCheckEventSelection()
175 selection->event_attr.sample_period = DEFAULT_SAMPLE_PERIOD_FOR_TRACEPOINT_EVENT; in BuildAndCheckEventSelection()
179 selection->event_attr.freq = 0; in BuildAndCheckEventSelection()
180 selection->event_attr.sample_period = 1; in BuildAndCheckEventSelection()
182 selection->event_attr.freq = 1; in BuildAndCheckEventSelection()
186 selection->event_attr.sample_freq = 1; in BuildAndCheckEventSelection()
192 selection->event_attr.mmap = 1; in BuildAndCheckEventSelection()
193 selection->event_attr.comm = 1; in BuildAndCheckEventSelection()
195 selection->event_attr.mmap2 = 1; in BuildAndCheckEventSelection()
201 !IsEventAttrSupported(selection->event_attr, selection->event_type_modifier.name)) { in BuildAndCheckEventSelection()
207 selection->event_attr.sample_freq = DEFAULT_SAMPLE_FREQ_FOR_NONTRACEPOINT_EVENT; in BuildAndCheckEventSelection()
238 if (IsEtmEventType(selection.event_attr.type)) { in AddEventGroup()
298 attr_id.attr = &selection.event_attr; in GetEventAttrWithId()
314 sample_type |= selection.event_attr.sample_type; in UnionSampleType()
319 selection.event_attr.sample_type = sample_type; in UnionSampleType()
333 selection.event_attr.enable_on_exec = 1; in SetEnableOnExec()
334 selection.event_attr.disabled = 1; in SetEnableOnExec()
336 selection.event_attr.enable_on_exec = 0; in SetEnableOnExec()
337 selection.event_attr.disabled = 0; in SetEnableOnExec()
346 if (selection.event_attr.enable_on_exec == 0) { in GetEnableOnExec()
357 selection.event_attr.sample_id_all = 1; in SampleIdAll()
366 selection.event_attr.freq = 1; in SetSampleSpeed()
367 selection.event_attr.sample_freq = speed.sample_freq; in SetSampleSpeed()
369 selection.event_attr.freq = 0; in SetSampleSpeed()
370 selection.event_attr.sample_period = speed.sample_period; in SetSampleSpeed()
390 perf_event_attr& attr = selection.event_attr; in SetBranchSampling()
405 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN; in EnableFpCallChainSampling()
417 selection.event_attr.sample_type |= PERF_SAMPLE_CALLCHAIN | in EnableDwarfCallChainSampling()
420 selection.event_attr.exclude_callchain_user = 1; in EnableDwarfCallChainSampling()
421 selection.event_attr.sample_regs_user = in EnableDwarfCallChainSampling()
423 selection.event_attr.sample_stack_user = dump_stack_size; in EnableDwarfCallChainSampling()
432 selection.event_attr.inherit = (enable ? 1 : 0); in SetInherit()
440 selection.event_attr.use_clockid = 1; in SetClockId()
441 selection.event_attr.clockid = clock_id; in SetClockId()
459 groups_[0][0].event_attr.mmap_data = record ? 1 : 0; in SetRecordNotExecutableMaps()
463 return groups_[0][0].event_attr.mmap_data == 1; in RecordNotExecutableMaps()
487 selection.event_attr, tid, cpu, group_fd, selection.event_type_modifier.name, false); in OpenEventFilesOnGroup()
635 new simpleperf::RecordReadThread(record_buffer_size, groups_[0][0].event_attr, min_mmap_pages, in MmapEventFiles()