Home
last modified time | relevance | path

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

/Linux-v4.19/arch/xtensa/kernel/
Dperf_event.c172 hwc->last_period = period; in xtensa_perf_event_set_period()
177 hwc->last_period = period; in xtensa_perf_event_set_period()
374 u64 last_period; in xtensa_pmu_irq_handler() local
381 last_period = hwc->last_period; in xtensa_pmu_irq_handler()
386 perf_sample_data_init(&data, 0, last_period); in xtensa_pmu_irq_handler()
/Linux-v4.19/arch/arc/kernel/
Dperf_event.c159 hwc->last_period = hwc->sample_period; in arc_pmu_event_init()
229 hwc->last_period = period; in arc_pmu_event_set_period()
235 hwc->last_period = period; in arc_pmu_event_set_period()
411 perf_sample_data_init(&data, 0, hwc->last_period); in arc_pmu_intr()
/Linux-v4.19/arch/powerpc/perf/
Dcore-fsl-emb.c563 event->hw.last_period = event->hw.sample_period; in fsl_emb_pmu_event_init()
564 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init()
635 event->hw.last_period = event->hw.sample_period; in record_and_restart()
652 perf_sample_data_init(&data, 0, event->hw.last_period); in record_and_restart()
Dcore-book3s.c1950 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
1951 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
2048 event->hw.last_period = event->hw.sample_period; in record_and_restart()
2065 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/Linux-v4.19/arch/alpha/kernel/
Dperf_event.c262 hwc->last_period = period; in alpha_perf_event_set_period()
269 hwc->last_period = period; in alpha_perf_event_set_period()
686 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
862 perf_sample_data_init(&data, 0, hwc->last_period); in alpha_perf_event_irq_handler()
/Linux-v4.19/arch/x86/events/amd/
Dibs.c123 hwc->last_period = period; in perf_event_set_period()
130 hwc->last_period = period; in perf_event_set_period()
319 hwc->last_period = hwc->sample_period; in perf_ibs_init()
617 perf_sample_data_init(&data, 0, hwc->last_period); in perf_ibs_handle_irq()
/Linux-v4.19/drivers/perf/
Darm_pmu.c132 hwc->last_period = period; in armpmu_event_set_period()
139 hwc->last_period = period; in armpmu_event_set_period()
417 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/Linux-v4.19/arch/x86/events/intel/
Dknc.c253 perf_sample_data_init(&data, 0, event->hw.last_period); in knc_pmu_handle_irq()
Dds.c613 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
1175 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_sample_data()
1177 data->period = event->hw.last_period; in setup_pebs_sample_data()
Dp4.c1034 perf_sample_data_init(&data, 0, hwc->last_period); in p4_pmu_handle_irq()
Dcore.c2325 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_handle_irq()
/Linux-v4.19/sound/pci/echoaudio/
Dechoaudio.h335 int last_period[DSP_MAXPIPES]; member
Dechoaudio.c607 chip->last_period[pipe_index] = 0; in init_engine()
764 chip->last_period[i] = 0; in pcm_trigger()
1843 if (period != chip->last_period[ss]) { in snd_echo_interrupt()
1844 chip->last_period[ss] = period; in snd_echo_interrupt()
/Linux-v4.19/arch/arm/kernel/
Dperf_event_xscale.c185 perf_sample_data_init(&data, 0, hwc->last_period); in xscale1pmu_handle_irq()
531 perf_sample_data_init(&data, 0, hwc->last_period); in xscale2pmu_handle_irq()
Dperf_event_v6.c343 perf_sample_data_init(&data, 0, hwc->last_period); in armv6pmu_handle_irq()
Dperf_event_v7.c990 perf_sample_data_init(&data, 0, hwc->last_period); in armv7pmu_handle_irq()
/Linux-v4.19/arch/mips/kernel/
Dperf_event_mipsxx.c400 hwc->last_period = period; in mipspmu_event_set_period()
406 hwc->last_period = period; in mipspmu_event_set_period()
759 data->period = event->hw.last_period; in handle_associated_event()
1352 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/Linux-v4.19/arch/sparc/kernel/
Dperf_event.c897 hwc->last_period = period; in sparc_perf_event_set_period()
904 hwc->last_period = period; in sparc_perf_event_set_period()
1496 hwc->last_period = hwc->sample_period; in sparc_pmu_event_init()
1663 perf_sample_data_init(&data, 0, hwc->last_period); in perf_event_nmi_handler()
/Linux-v4.19/arch/x86/events/
Dcore.c415 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1141 hwc->last_period = period; in x86_perf_event_set_period()
1148 hwc->last_period = period; in x86_perf_event_set_period()
1470 perf_sample_data_init(&data, 0, event->hw.last_period); in x86_pmu_handle_irq()
/Linux-v4.19/kernel/events/
Dhw_breakpoint.c641 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
Dcore.c7724 perf_adjust_period(event, delta, hwc->last_period, true); in __perf_event_account_interrupt()
7810 u64 period = hwc->last_period; in perf_swevent_set_period()
7814 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()
7874 data->period = event->hw.last_period; in perf_swevent_event()
8046 hwc->last_period = hwc->sample_period; in perf_swevent_add()
9121 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_swevent_hrtimer()
9189 hwc->last_period = hwc->sample_period; in perf_swevent_init_hrtimer()
10025 hwc->last_period = hwc->sample_period; in perf_event_alloc()
11321 hwc->last_period = sample_period; in inherit_event()
/Linux-v4.19/arch/s390/kernel/
Dperf_cpum_sf.c598 hwc->last_period = hwc->sample_period; in hw_init_period()
1017 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()
/Linux-v4.19/Documentation/riscv/
Dpmu.txt84 hwc->last_period = hwc->sample_period;
/Linux-v4.19/include/linux/
Dperf_event.h204 u64 last_period; member
/Linux-v4.19/arch/arm64/kernel/
Dperf_event.c845 perf_sample_data_init(&data, 0, hwc->last_period); in armv8pmu_handle_irq()