Home
last modified time | relevance | path

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

12

/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/arch/xtensa/kernel/
H A Dperf_event.c178 hwc->last_period = period; in xtensa_perf_event_set_period()
183 hwc->last_period = period; in xtensa_perf_event_set_period()
378 u64 last_period; in xtensa_pmu_irq_handler() local
385 last_period = hwc->last_period; in xtensa_pmu_irq_handler()
390 perf_sample_data_init(&data, 0, last_period); in xtensa_pmu_irq_handler()
/linux/arch/powerpc/perf/
H A Dcore-fsl-emb.c546 event->hw.last_period = event->hw.sample_period; in fsl_emb_pmu_event_init()
547 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init()
618 event->hw.last_period = event->hw.sample_period; in record_and_restart()
635 perf_sample_data_init(&data, 0, event->hw.last_period); in record_and_restart()
H A Dcore-book3s.c2160 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
2161 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
2271 event->hw.last_period = event->hw.sample_period; in record_and_restart()
2299 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/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.c213 hwc->last_period = period; in armpmu_event_set_period()
220 hwc->last_period = period; in armpmu_event_set_period()
492 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
H A Darm_xscale_pmu.c185 perf_sample_data_init(&data, 0, hwc->last_period); in xscale1pmu_handle_irq()
518 perf_sample_data_init(&data, 0, hwc->last_period); in xscale2pmu_handle_irq()
H A Darm_v6_pmu.c275 perf_sample_data_init(&data, 0, hwc->last_period); in armv6pmu_handle_irq()
H A Dapple_m1_cpu_pmu.c443 perf_sample_data_init(&data, 0, event->hw.last_period); in m1_pmu_handle_irq()
/linux/arch/alpha/kernel/
H A Dperf_event.c262 hwc->last_period = period; in alpha_perf_event_set_period()
269 hwc->last_period = period; in alpha_perf_event_set_period()
680 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
853 perf_sample_data_init(&data, 0, hwc->last_period); in alpha_perf_event_irq_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()
797 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/linux/arch/arc/kernel/
H A Dperf_event.c336 hwc->last_period = hwc->sample_period; in arc_pmu_event_init()
418 hwc->last_period = period; in arc_pmu_event_set_period()
424 hwc->last_period = period; in arc_pmu_event_set_period()
601 perf_sample_data_init(&data, 0, hwc->last_period); in arc_pmu_intr()
/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/arch/x86/events/amd/
H A Dibs.c113 hwc->last_period = period; in perf_event_set_period()
120 hwc->last_period = period; in perf_event_set_period()
325 hwc->last_period = hwc->sample_period; in perf_ibs_init()
1061 perf_sample_data_init(&data, 0, hwc->last_period); in perf_ibs_handle_irq()
/linux/sound/pci/echoaudio/
H A Dechoaudio.h301 u32 last_period; /* Counter position last time a member
H A Dechoaudio.c596 pipe->last_period = 0; in init_engine()
765 pipe->last_period = 0; in pcm_trigger()
1823 step = counter - pipe->last_period; /* handles wrapping */ in period_has_elapsed()
1829 pipe->last_period += step; /* used exclusively by us */ in period_has_elapsed()
/linux/arch/x86/events/intel/
H A Dknc.c253 perf_sample_data_init(&data, 0, event->hw.last_period); in knc_pmu_handle_irq()
H A Dds.c877 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
1745 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_fixed_sample_data()
1747 data->period = event->hw.last_period; in setup_pebs_fixed_sample_data()
1928 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_adaptive_sample_data()
1929 data->period = event->hw.last_period; in setup_pebs_adaptive_sample_data()
/linux/arch/csky/kernel/
H A Dperf_event.c888 hwc->last_period = period; in csky_pmu_event_set_period()
895 hwc->last_period = period; in csky_pmu_event_set_period()
1139 perf_sample_data_init(&data, 0, hwc->last_period); in csky_pmu_handle_irq()
/linux/arch/mips/kernel/
H A Dperf_event_mipsxx.c421 hwc->last_period = period; in mipspmu_event_set_period()
427 hwc->last_period = period; in mipspmu_event_set_period()
790 data->period = event->hw.last_period; in handle_associated_event()
1530 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/linux/arch/x86/events/zhaoxin/
H A Dcore.c395 perf_sample_data_init(&data, 0, event->hw.last_period); in zhaoxin_pmu_handle_irq()
/linux/arch/x86/events/
H A Dcore.c489 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1384 hwc->last_period = period; in x86_perf_event_set_period()
1391 hwc->last_period = period; in x86_perf_event_set_period()
1708 perf_sample_data_init(&data, 0, event->hw.last_period); in x86_pmu_handle_irq()
/linux/arch/s390/kernel/
H A Dperf_pai_ext.c492 perf_sample_data_init(&data, 0, event->hw.last_period); in paiext_push_sample()
H A Dperf_pai_crypto.c465 perf_sample_data_init(&data, 0, event->hw.last_period); in paicrypt_push_sample()
H A Dperf_cpum_sf.c605 hwc->last_period = hwc->sample_period; in hw_init_period()
1042 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()

12