Home
last modified time | relevance | path

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

/linux/include/trace/events/
H A Diocost.h17 u64 last_period, u64 cur_period, u64 vtime),
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
27 __field(u64, last_period)
42 __entry->last_period = last_period;
56 __entry->last_period, __entry->cur_period,
64 u64 last_period, u64 cur_period, u64 vtime),
66 TP_ARGS(iocg, path, now, last_period, cur_period, vtime)
71 u64 last_period, u64 cur_period, u64 vtime),
73 TP_ARGS(iocg, path, now, last_period, cur_perio
[all...]
/linux/drivers/perf/
H A Driscv_pmu.c213 hwc->last_period = period; in riscv_pmu_event_set_period()
220 hwc->last_period = period; in riscv_pmu_event_set_period()
346 hwc->last_period = hwc->sample_period; in riscv_pmu_event_init()
H A Darm_pmu.c217 hwc->last_period = period; in armpmu_event_set_period()
224 hwc->last_period = period; in armpmu_event_set_period()
505 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
H A Dapple_m1_cpu_pmu.c473 perf_sample_data_init(&data, 0, event->hw.last_period); in m1_pmu_handle_irq()
H A Driscv_pmu_sbi.c1163 perf_sample_data_init(&data, 0, hw_evt->last_period); in pmu_sbi_ovf_handler()
/linux/arch/loongarch/kernel/
H A Dperf_event.c311 hwc->last_period = period; in loongarch_pmu_event_set_period()
317 hwc->last_period = period; in loongarch_pmu_event_set_period()
478 data->period = event->hw.last_period; in handle_associated_event()
811 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/linux/arch/sparc/kernel/
H A Dperf_event.c895 if (unlikely(period != hwc->last_period)) in sparc_perf_event_set_period()
896 left = period - (hwc->last_period - left); in sparc_perf_event_set_period()
901 hwc->last_period = period; in sparc_perf_event_set_period()
908 hwc->last_period = period; in sparc_perf_event_set_period()
1500 hwc->last_period = hwc->sample_period; in sparc_pmu_event_init()
1667 perf_sample_data_init(&data, 0, hwc->last_period); in perf_event_nmi_handler()
/linux/sound/pci/echoaudio/
H A Dechoaudio.h286 u32 last_period; /* Counter position last time a member
H A Dechoaudio.c590 pipe->last_period = 0; in init_engine()
754 pipe->last_period = 0; in pcm_trigger()
1798 step = counter - pipe->last_period; /* handles wrapping */ in period_has_elapsed()
1804 pipe->last_period += step; /* used exclusively by us */ in period_has_elapsed()
/linux/arch/x86/events/
H A Dcore.c547 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1579 hwc->last_period = period; in x86_perf_event_set_period()
1586 hwc->last_period = period; in x86_perf_event_set_period()
2164 u64 last_period; in x86_pmu_handle_irq() local
2184 last_period = event->hw.last_period; in x86_pmu_handle_irq()
2198 perf_sample_data_init(&data, 0, last_period); in x86_pmu_handle_irq()
/linux/arch/powerpc/perf/
H A Dvpa-dtl.c424 hwc->last_period = hwc->sample_period; in vpa_dtl_event_init()
H A Dimc-pmu.c1292 data->period = event->hw.last_period; in trace_imc_prepare_sample()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c590 hwc->last_period = hwc->sample_period; in hw_init_period()
1022 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()
H A Dperf_cpum_cf.c1009 perf_sample_data_init(&data, 0, event->hw.last_period); in cfdiag_push_sample()
1843 event->hw.last_period = event->hw.sample_period; in cfdiag_event_init2()
H A Dperf_pai.c675 perf_sample_data_init(&data, 0, event->hw.last_period); in pai_push_sample()
/linux/kernel/events/
H A Dhw_breakpoint.c975 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
H A Dcore.c10742 perf_adjust_period(event, delta, hwc->last_period, true); in __perf_event_account_interrupt()
10991 u64 period = hwc->last_period; in perf_swevent_set_period()
10995 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()
11078 data->period = event->hw.last_period; in perf_swevent_event()
11245 hwc->last_period = hwc->sample_period; in perf_swevent_add()
12382 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_swevent_hrtimer()
12465 hwc->last_period = hwc->sample_period; in perf_swevent_init_hrtimer()
13579 hwc->last_period = hwc->sample_period; in perf_event_alloc()
15015 hwc->last_period = sample_period; in inherit_event()
/linux/arch/x86/events/intel/
H A Dds.c1207 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
2198 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_fixed_sample_data()
2431 perf_sample_data_init(data, 0, event->hw.last_period); in __setup_perf_sample_data()
2954 perf_sample_data_init(data, 0, event->hw.last_period); in __intel_pmu_pebs_last_event()
H A Dcore.c3807 perf_sample_data_init(data, 0, event->hw.last_period); in x86_pmu_handle_guest_pebs()
3935 u64 last_period; in handle_pmi_common() local
3966 last_period = event->hw.last_period; in handle_pmi_common()
3971 perf_sample_data_init(&data, 0, last_period); in handle_pmi_common()
4990 event->hw.last_period = event->hw.sample_period; in intel_pmu_hw_config()
/linux/block/
H A Dblk-iocost.c1251 u64 __maybe_unused last_period, cur_period; in iocg_activate() local
1277 last_period = atomic64_read(&iocg->active_period); in iocg_activate()
1313 last_period, cur_period, vtime); in iocg_activate()
/linux/arch/x86/events/amd/
H A Dcore.c1012 perf_sample_data_init(&data, 0, hwc->last_period); in amd_pmu_v2_handle_irq()
/linux/include/linux/
H A Dperf_event.h249 u64 last_period; member