Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.c1861 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
1862 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
1959 event->hw.last_period = event->hw.sample_period; in record_and_restart()
1976 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/linux-4.1.27/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.1.27/arch/arm/kernel/
Dperf_event.c108 hwc->last_period = period; in armpmu_event_set_period()
115 hwc->last_period = period; in armpmu_event_set_period()
439 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
Dperf_event_xscale.c177 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()
Dperf_event_v6.c336 perf_sample_data_init(&data, 0, hwc->last_period); in armv6pmu_handle_irq()
Dperf_event_v7.c879 perf_sample_data_init(&data, 0, hwc->last_period); in armv7pmu_handle_irq()
/linux-4.1.27/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.1.27/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.c525 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
877 perf_sample_data_init(&data, 0, event->hw.last_period); in __intel_pmu_pebs_event()
879 data.period = event->hw.last_period; in __intel_pmu_pebs_event()
Dperf_event.c390 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1090 hwc->last_period = period; in x86_perf_event_set_period()
1097 hwc->last_period = period; in x86_perf_event_set_period()
1399 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.c1656 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_handle_irq()
/linux-4.1.27/arch/arm64/kernel/
Dperf_event.c163 hwc->last_period = period; in armpmu_event_set_period()
170 hwc->last_period = period; in armpmu_event_set_period()
576 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
1140 perf_sample_data_init(&data, 0, hwc->last_period); in armv8pmu_handle_irq()
/linux-4.1.27/sound/pci/echoaudio/
Dechoaudio.h338 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.1.27/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.1.27/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()
1630 perf_sample_data_init(&data, 0, hwc->last_period); in perf_event_nmi_handler()
/linux-4.1.27/kernel/events/
Dhw_breakpoint.c586 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
Dcore.c6134 perf_adjust_period(event, delta, hwc->last_period, true); in __perf_event_overflow()
6198 u64 period = hwc->last_period; in perf_swevent_set_period()
6202 hwc->last_period = hwc->sample_period; in perf_swevent_set_period()
6262 data->period = event->hw.last_period; in perf_swevent_event()
6434 hwc->last_period = hwc->sample_period; in perf_swevent_add()
6870 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_swevent_hrtimer()
6939 hwc->last_period = hwc->sample_period; in perf_swevent_init_hrtimer()
7605 hwc->last_period = hwc->sample_period; in perf_event_alloc()
8659 hwc->last_period = sample_period; in inherit_event()
/linux-4.1.27/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.1.27/include/linux/
Dperf_event.h147 u64 last_period; member
/linux-4.1.27/drivers/bus/
Darm-cci.c715 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()