Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/include/trace/events/
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,
/kernel/linux/linux-5.10/arch/xtensa/kernel/
Dperf_event.c169 hwc->last_period = period; in xtensa_perf_event_set_period()
174 hwc->last_period = period; in xtensa_perf_event_set_period()
369 u64 last_period; in xtensa_pmu_irq_handler() local
376 last_period = hwc->last_period; in xtensa_pmu_irq_handler()
381 perf_sample_data_init(&data, 0, last_period); in xtensa_pmu_irq_handler()
/kernel/linux/linux-5.10/arch/powerpc/perf/
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()
Dcore-book3s.c2063 event->hw.last_period = event->hw.sample_period; in power_pmu_event_init()
2064 local64_set(&event->hw.period_left, event->hw.last_period); in power_pmu_event_init()
2171 event->hw.last_period = event->hw.sample_period; in record_and_restart()
2199 perf_sample_data_init(&data, ~0ULL, event->hw.last_period); in record_and_restart()
/kernel/linux/linux-5.10/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()
680 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
857 perf_sample_data_init(&data, 0, hwc->last_period); in alpha_perf_event_irq_handler()
/kernel/linux/linux-5.10/arch/arc/kernel/
Dperf_event.c174 hwc->last_period = hwc->sample_period; in arc_pmu_event_init()
256 hwc->last_period = period; in arc_pmu_event_set_period()
262 hwc->last_period = period; in arc_pmu_event_set_period()
439 perf_sample_data_init(&data, 0, hwc->last_period); in arc_pmu_intr()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dperf_event_cpu.c192 if (unlikely(period != hwc->last_period)) in nds32_pmu_event_set_period()
193 left = period - (hwc->last_period - left); in nds32_pmu_event_set_period()
198 hwc->last_period = period; in nds32_pmu_event_set_period()
205 hwc->last_period = period; in nds32_pmu_event_set_period()
267 perf_sample_data_init(&data, 0, hwc->last_period); in nds32_pmu_handle_irq()
845 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/kernel/linux/linux-5.10/arch/x86/events/amd/
Dibs.c125 hwc->last_period = period; in perf_event_set_period()
132 hwc->last_period = period; in perf_event_set_period()
309 hwc->last_period = hwc->sample_period; in perf_ibs_init()
629 perf_sample_data_init(&data, 0, hwc->last_period); in perf_ibs_handle_irq()
/kernel/linux/linux-5.10/drivers/perf/
Darm_pmu.c209 hwc->last_period = period; in armpmu_event_set_period()
216 hwc->last_period = period; in armpmu_event_set_period()
486 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/kernel/linux/linux-5.10/arch/sparc/kernel/
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()
/kernel/linux/linux-5.10/sound/pci/echoaudio/
Dechoaudio.h301 u32 last_period; /* Counter position last time a member
Dechoaudio.c594 pipe->last_period = 0; in init_engine()
763 pipe->last_period = 0; in pcm_trigger()
1816 step = counter - pipe->last_period; /* handles wrapping */ in period_has_elapsed()
1822 pipe->last_period += step; /* used exclusively by us */ in period_has_elapsed()
/kernel/linux/linux-5.10/arch/x86/events/intel/
Dknc.c253 perf_sample_data_init(&data, 0, event->hw.last_period); in knc_pmu_handle_irq()
Dds.c614 perf_sample_data_init(&data, 0, event->hw.last_period); in intel_pmu_drain_bts_buffer()
1360 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_fixed_sample_data()
1362 data->period = event->hw.last_period; in setup_pebs_fixed_sample_data()
1531 perf_sample_data_init(data, 0, event->hw.last_period); in setup_pebs_adaptive_sample_data()
1532 data->period = event->hw.last_period; in setup_pebs_adaptive_sample_data()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/s390/kernel/
Dperf_cpum_cf_diag.c233 event->hw.last_period = event->hw.sample_period; in __hw_perf_event_init()
496 perf_sample_data_init(&data, 0, event->hw.last_period); in cf_diag_push_sample()
Dperf_cpum_sf.c616 hwc->last_period = hwc->sample_period; in hw_init_period()
1087 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_push_sample()
/kernel/linux/linux-5.10/arch/csky/kernel/
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()
/kernel/linux/linux-5.10/arch/mips/kernel/
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()
1596 hwc->last_period = hwc->sample_period; in __hw_perf_event_init()
/kernel/linux/linux-5.10/kernel/events/
Dhw_breakpoint.c644 bp->hw.last_period = bp->hw.sample_period; in hw_breakpoint_add()
/kernel/linux/linux-5.10/arch/x86/events/
Dcore.c457 hwc->last_period = hwc->sample_period; in x86_setup_perfctr()
1335 hwc->last_period = period; in x86_perf_event_set_period()
1342 hwc->last_period = period; in x86_perf_event_set_period()
1658 perf_sample_data_init(&data, 0, event->hw.last_period); in x86_pmu_handle_irq()
/kernel/linux/linux-5.10/arch/x86/events/zhaoxin/
Dcore.c395 perf_sample_data_init(&data, 0, event->hw.last_period); in zhaoxin_pmu_handle_irq()
/kernel/linux/linux-5.10/Documentation/riscv/
Dpmu.rst86 hwc->last_period = hwc->sample_period;
/kernel/linux/linux-5.10/block/
Dblk-iocost.c1198 u64 last_period, cur_period; in iocg_activate() local
1224 last_period = atomic64_read(&iocg->active_period); in iocg_activate()
1260 last_period, cur_period, vtime); in iocg_activate()

12