Home
last modified time | relevance | path

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

12

/linux/arch/sh/kernel/
H A Dperf_event.c205 if (!(event->hw.state & PERF_HES_STOPPED)) { in sh_pmu_stop()
208 event->hw.state |= PERF_HES_STOPPED; in sh_pmu_stop()
264 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in sh_pmu_add()
/linux/arch/arm/mm/
H A Dcache-l2x0-pmu.c190 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in l2x0_pmu_event_start()
216 if (WARN_ON_ONCE(event->hw.state & PERF_HES_STOPPED)) in l2x0_pmu_event_stop()
221 hw->state |= PERF_HES_STOPPED; in l2x0_pmu_event_stop()
251 hw->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in l2x0_pmu_event_add()
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm-perf.c576 event->hw.state = PERF_HES_STOPPED; in etm_event_start()
654 if (event->hw.state == PERF_HES_STOPPED) in etm_event_stop()
669 event->hw.state = PERF_HES_STOPPED; in etm_event_stop()
689 event->hw.state = PERF_HES_STOPPED; in etm_event_stop()
735 if (hwc->state & PERF_HES_STOPPED) in etm_event_add()
738 hwc->state = PERF_HES_STOPPED; in etm_event_add()
/linux/arch/x86/events/amd/
H A Diommu.c283 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in perf_iommu_start()
346 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in perf_iommu_stop()
347 hwc->state |= PERF_HES_STOPPED; in perf_iommu_stop()
354 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_iommu_add()
/linux/drivers/perf/hisilicon/
H A Dhisi_uncore_pmu.c341 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in hisi_uncore_pmu_start()
364 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in hisi_uncore_pmu_stop()
365 hwc->state |= PERF_HES_STOPPED; in hisi_uncore_pmu_stop()
382 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_uncore_pmu_add()
H A Dhisi_pcie_pmu.c538 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in hisi_pcie_pmu_start()
566 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in hisi_pcie_pmu_stop()
567 hwc->state |= PERF_HES_STOPPED; in hisi_pcie_pmu_stop()
581 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_pcie_pmu_add()
/linux/arch/x86/events/intel/
H A Dbts.c289 event->hw.state = PERF_HES_STOPPED; in bts_event_start()
319 event->hw.state |= PERF_HES_STOPPED; in bts_event_stop()
541 event->hw.state = PERF_HES_STOPPED; in bts_event_add()
551 if (hwc->state & PERF_HES_STOPPED) in bts_event_add()
H A Duncore.c527 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in uncore_pmu_event_start()
560 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in uncore_pmu_event_stop()
561 hwc->state |= PERF_HES_STOPPED; in uncore_pmu_event_stop()
602 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in uncore_pmu_event_add()
622 if (hwc->state & PERF_HES_STOPPED) in uncore_pmu_event_add()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pmu.c233 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in amdgpu_perf_start()
321 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in amdgpu_perf_stop()
322 hwc->state |= PERF_HES_STOPPED; in amdgpu_perf_stop()
355 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amdgpu_perf_add()
/linux/drivers/perf/
H A Driscv_pmu.c192 if (!(hwc->state & PERF_HES_STOPPED)) { in riscv_pmu_stop()
195 hwc->state |= PERF_HES_STOPPED; in riscv_pmu_stop()
271 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
H A Darm_dmc620_pmu.c415 if (!(event->hw.state & PERF_HES_STOPPED)) in dmc620_pmu_handle_irq()
580 if (event->hw.state & PERF_HES_STOPPED) in dmc620_pmu_stop()
585 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_stop()
602 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_add()
H A Dalibaba_uncore_drw_pmu.c412 if (!(event->hw.state & PERF_HES_STOPPED)) in ali_drw_pmu_isr()
601 if (event->hw.state & PERF_HES_STOPPED) in ali_drw_pmu_stop()
610 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in ali_drw_pmu_stop()
631 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in ali_drw_pmu_add()
H A Dfujitsu_uncore_pmu.c240 if (hwc->state & PERF_HES_STOPPED) in fujitsu_uncore_event_stop()
246 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in fujitsu_uncore_event_stop()
262 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in fujitsu_uncore_event_add()
H A Darm_pmu.c285 if (!(hwc->state & PERF_HES_STOPPED)) { in armpmu_stop()
288 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_stop()
366 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_add()
H A Ddwc_pcie_pmu.c493 if (event->hw.state & PERF_HES_STOPPED) in dwc_pcie_pmu_event_stop()
503 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dwc_pcie_pmu_event_stop()
517 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dwc_pcie_pmu_event_add()
H A Darm_spe_pmu.c932 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_stop()
963 hwc->state |= PERF_HES_STOPPED; in arm_spe_pmu_stop()
976 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arm_spe_pmu_add()
980 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_add()
H A Darm_smmuv3_pmu.c478 if (hwc->state & PERF_HES_STOPPED) in smmu_pmu_event_stop()
484 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in smmu_pmu_event_stop()
498 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in smmu_pmu_event_add()
/linux/arch/x86/events/
H A Drapl.c284 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __rapl_pmu_event_start()
317 if (!(hwc->state & PERF_HES_STOPPED)) { in rapl_pmu_event_stop()
325 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in rapl_pmu_event_stop()
326 hwc->state |= PERF_HES_STOPPED; in rapl_pmu_event_stop()
350 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in rapl_pmu_event_add()
/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.c1133 event->hw.state |= PERF_HES_STOPPED; in hisi_ptt_pmu_start()
1142 if (hwc->state & PERF_HES_STOPPED) in hisi_ptt_pmu_stop()
1156 hwc->state |= PERF_HES_STOPPED; in hisi_ptt_pmu_stop()
1171 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_ptt_pmu_add()
1175 if (hwc->state & PERF_HES_STOPPED) in hisi_ptt_pmu_add()
/linux/arch/loongarch/kernel/
H A Dperf_event.c376 if (!(hwc->state & PERF_HES_STOPPED)) { in loongarch_pmu_stop()
381 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in loongarch_pmu_stop()
408 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in loongarch_pmu_add()
/linux/arch/powerpc/perf/
H A Dcore-book3s.c1158 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_read()
1557 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_enable()
1652 event->hw.state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in power_pmu_add()
1764 if (!(event->hw.state & PERF_HES_STOPPED)) in power_pmu_start()
1794 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_stop()
1801 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in power_pmu_stop()
2247 if (event->hw.state & PERF_HES_STOPPED) { in record_and_restart()
/linux/arch/s390/kernel/
H A Dperf_cpum_cf.c912 if (event->hw.state & PERF_HES_STOPPED) in cpumf_pmu_read()
924 if (!(hwc->state & PERF_HES_STOPPED)) in cpumf_pmu_start()
992 if (!(hwc->state & PERF_HES_STOPPED)) { in cpumf_pmu_stop()
1003 hwc->state |= PERF_HES_STOPPED; in cpumf_pmu_stop()
1027 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in cpumf_pmu_add()
H A Dperf_cpum_sf.c1732 if (!(event->hw.state & PERF_HES_STOPPED)) in cpumsf_pmu_start()
1749 if (event->hw.state & PERF_HES_STOPPED) in cpumsf_pmu_stop()
1755 event->hw.state |= PERF_HES_STOPPED; in cpumsf_pmu_stop()
1780 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in cpumsf_pmu_add()
/linux/drivers/gpu/drm/xe/
H A Dxe_pmu.c342 event->hw.state = PERF_HES_STOPPED; in xe_pmu_event_read()
380 event->hw.state = PERF_HES_STOPPED; in xe_pmu_event_stop()
/linux/kernel/events/
H A Dhw_breakpoint.c972 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_add()
994 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_stop()

12