Home
last modified time | relevance | path

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

/kernel/events/
Dcore.c6616 struct perf_event *sampler = event->aux_event; in perf_prepare_sample_aux() local
6621 if (!sampler) in perf_prepare_sample_aux()
6624 if (WARN_ON_ONCE(READ_ONCE(sampler->state) != PERF_EVENT_STATE_ACTIVE)) in perf_prepare_sample_aux()
6627 if (WARN_ON_ONCE(READ_ONCE(sampler->oncpu) != smp_processor_id())) in perf_prepare_sample_aux()
6630 rb = ring_buffer_get(sampler); in perf_prepare_sample_aux()
6688 struct perf_event *sampler = event->aux_event; in perf_aux_sample_output() local
6693 if (WARN_ON_ONCE(!sampler || !data->aux_size)) in perf_aux_sample_output()
6696 rb = ring_buffer_get(sampler); in perf_aux_sample_output()
6700 size = perf_pmu_snapshot_aux(rb, sampler, handle, data->aux_size); in perf_aux_sample_output()