Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/arch/metag/kernel/perf/
Dperf_event.c229 if (unlikely(period != hwc->last_period)) in metag_pmu_event_set_period()
230 left += period - hwc->last_period; in metag_pmu_event_set_period()
235 hwc->last_period = period; in metag_pmu_event_set_period()
242 hwc->last_period = period; in metag_pmu_event_set_period()
590 hwc->last_period = hwc->sample_period; in _hw_perf_event_init()
774 perf_sample_data_init(&sampledata, 0, hwc->last_period); in metag_pmu_counter_overflow()
/linux-4.4.14/arch/arc/kernel/
Dperf_event.c159 hwc->last_period = hwc->sample_period; in arc_pmu_event_init()
227 hwc->last_period = period; in arc_pmu_event_set_period()
233 hwc->last_period = period; in arc_pmu_event_set_period()
410 perf_sample_data_init(&data, 0, hwc->last_period); in arc_pmu_intr()
/linux-4.4.14/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.c1885 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
1886 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
1983 event->hw.last_period = event->hw.sample_period; in record_and_restart()
2000 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/linux-4.4.14/arch/alpha/kernel/
Dperf_event.c261 hwc->last_period = period; in alpha_perf_event_set_period()
268 hwc->last_period = period; in alpha_perf_event_set_period()
685 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
861 perf_sample_data_init(&data, 0, hwc->last_period); in alpha_perf_event_irq_handler()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_amd_ibs.c85 hwc->last_period = period; in perf_event_set_period()
92 hwc->last_period = period; in perf_event_set_period()
281 hwc->last_period = hwc->sample_period; in perf_ibs_init()
547 perf_sample_data_init(&data, 0, hwc->last_period); in perf_ibs_handle_irq()
Dperf_event_knc.c252 perf_sample_data_init(&data, 0, event->hw.last_period); in knc_pmu_handle_irq()
Dperf_event_intel_ds.c545 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
1008 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_sample_data()
1010 data->period = event->hw.last_period; in setup_pebs_sample_data()
Dperf_event.c394 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1105 hwc->last_period = period; in x86_perf_event_set_period()
1112 hwc->last_period = period; in x86_perf_event_set_period()
1417 perf_sample_data_init(&data, 0, event->hw.last_period); in x86_pmu_handle_irq()
Dperf_event_p4.c1034 perf_sample_data_init(&data, 0, hwc->last_period); in p4_pmu_handle_irq()
Dperf_event_intel.c1889 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_handle_irq()
/linux-4.4.14/arch/tile/kernel/
Dperf_event.c562 hwc->last_period = period; in tile_event_set_period()
569 hwc->last_period = period; in tile_event_set_period()
826 hwc->last_period = hwc->sample_period; in __tile_event_init()
914 perf_sample_data_init(&data, 0, event->hw.last_period); in tile_pmu_handle_irq()
/linux-4.4.14/drivers/perf/
Darm_pmu.c114 hwc->last_period = period; in armpmu_event_set_period()
121 hwc->last_period = period; in armpmu_event_set_period()
441 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/linux-4.4.14/arch/arm/kernel/
Dperf_event_xscale.c185 perf_sample_data_init(&data, 0, hwc->last_period); in xscale1pmu_handle_irq()
526 perf_sample_data_init(&data, 0, hwc->last_period); in xscale2pmu_handle_irq()
Dperf_event_v6.c344 perf_sample_data_init(&data, 0, hwc->last_period); in armv6pmu_handle_irq()
Dperf_event_v7.c885 perf_sample_data_init(&data, 0, hwc->last_period); in armv7pmu_handle_irq()
/linux-4.4.14/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()
1842 if (period != chip->last_period[ss]) { in snd_echo_interrupt()
1843 chip->last_period[ss] = period; in snd_echo_interrupt()
/linux-4.4.14/arch/mips/kernel/
Dperf_event_mipsxx.c387 hwc->last_period = period; in mipspmu_event_set_period()
393 hwc->last_period = period; in mipspmu_event_set_period()
746 data->period = event->hw.last_period; in handle_associated_event()
1324 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/linux-4.4.14/arch/sparc/kernel/
Dperf_event.c895 hwc->last_period = period; in sparc_perf_event_set_period()
902 hwc->last_period = period; in sparc_perf_event_set_period()
1485 hwc->last_period = hwc->sample_period; in sparc_pmu_event_init()
1648 perf_sample_data_init(&data, 0, hwc->last_period); in perf_event_nmi_handler()
/linux-4.4.14/kernel/events/
Dhw_breakpoint.c586 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
Dcore.c6435 perf_adjust_period(event, delta, hwc->last_period, true); in __perf_event_overflow()
6496 u64 period = hwc->last_period; in perf_swevent_set_period()
6500 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()
6560 data->period = event->hw.last_period; in perf_swevent_event()
6732 hwc->last_period = hwc->sample_period; in perf_swevent_add()
7165 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_swevent_hrtimer()
7233 hwc->last_period = hwc->sample_period; in perf_swevent_init_hrtimer()
7934 hwc->last_period = hwc->sample_period; in perf_event_alloc()
9071 hwc->last_period = sample_period; in inherit_event()
/linux-4.4.14/arch/s390/kernel/
Dperf_cpum_sf.c643 hwc->last_period = hwc->sample_period; in hw_init_period()
985 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()
/linux-4.4.14/arch/arm64/kernel/
Dperf_event.c467 perf_sample_data_init(&data, 0, hwc->last_period); in armv8pmu_handle_irq()
/linux-4.4.14/include/linux/
Dperf_event.h172 u64 last_period; member
/linux-4.4.14/drivers/bus/
Darm-cci.c1109 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()