/linux-6.6.21/arch/sh/kernel/ |
D | perf_event.c | 211 if ((flags & PERF_EF_UPDATE) && !(event->hw.state & PERF_HES_UPTODATE)) { in sh_pmu_stop() 213 event->hw.state |= PERF_HES_UPTODATE; in sh_pmu_stop() 227 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in sh_pmu_start() 264 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in sh_pmu_add()
|
/linux-6.6.21/arch/x86/events/amd/ |
D | power.c | 96 if ((mode & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in pmu_event_stop() 102 hwc->state |= PERF_HES_UPTODATE; in pmu_event_stop() 110 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in pmu_event_add()
|
D | iommu.c | 284 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in perf_iommu_start() 333 if (hwc->state & PERF_HES_UPTODATE) in perf_iommu_stop() 341 hwc->state |= PERF_HES_UPTODATE; in perf_iommu_stop() 352 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_iommu_add()
|
D | uncore.c | 120 if ((flags & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in amd_uncore_stop() 122 hwc->state |= PERF_HES_UPTODATE; in amd_uncore_stop() 159 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amd_uncore_add()
|
D | ibs.c | 432 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in perf_ibs_start() 466 if (!stopping && (hwc->state & PERF_HES_UPTODATE)) in perf_ibs_stop() 494 if (hwc->state & PERF_HES_UPTODATE) in perf_ibs_stop() 504 hwc->state |= PERF_HES_UPTODATE; in perf_ibs_stop() 515 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_ibs_add()
|
/linux-6.6.21/arch/xtensa/kernel/ |
D | perf_event.c | 258 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in xtensa_pmu_start() 280 !(event->hw.state & PERF_HES_UPTODATE)) { in xtensa_pmu_stop() 282 event->hw.state |= PERF_HES_UPTODATE; in xtensa_pmu_stop() 307 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in xtensa_pmu_add()
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pmu.c | 240 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in amdgpu_perf_start() 304 if (hwc->state & PERF_HES_UPTODATE) in amdgpu_perf_stop() 324 if (hwc->state & PERF_HES_UPTODATE) in amdgpu_perf_stop() 328 hwc->state |= PERF_HES_UPTODATE; in amdgpu_perf_stop() 355 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amdgpu_perf_add()
|
/linux-6.6.21/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 321 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in hisi_uncore_pmu_start() 344 if (hwc->state & PERF_HES_UPTODATE) in hisi_uncore_pmu_stop() 349 hwc->state |= PERF_HES_UPTODATE; in hisi_uncore_pmu_stop() 359 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_uncore_pmu_add()
|
D | hisi_pcie_pmu.c | 505 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in hisi_pcie_pmu_start() 533 if (hwc->state & PERF_HES_UPTODATE) in hisi_pcie_pmu_stop() 536 hwc->state |= PERF_HES_UPTODATE; in hisi_pcie_pmu_stop() 545 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_pcie_pmu_add()
|
/linux-6.6.21/arch/powerpc/perf/ |
D | core-fsl-emb.c | 317 event->hw.state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in fsl_emb_pmu_add() 320 event->hw.state &= ~(PERF_HES_STOPPED | PERF_HES_UPTODATE); in fsl_emb_pmu_add() 387 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in fsl_emb_pmu_start() 418 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in fsl_emb_pmu_stop()
|
/linux-6.6.21/drivers/perf/ |
D | riscv_pmu.c | 202 hwc->state |= PERF_HES_UPTODATE; in riscv_pmu_stop() 252 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in riscv_pmu_start() 275 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
|
D | arm_pmu.c | 284 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_stop() 298 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in armpmu_start() 353 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_add()
|
D | arm_dsu_pmu.c | 421 WARN_ON(!(event->hw.state & PERF_HES_UPTODATE)); in dsu_pmu_start() 437 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dsu_pmu_stop() 457 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dsu_pmu_add()
|
D | thunderx2_pmu.c | 639 if (hwc->state & PERF_HES_UPTODATE) in tx2_uncore_event_stop() 648 hwc->state |= PERF_HES_UPTODATE; in tx2_uncore_event_stop() 668 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in tx2_uncore_event_add()
|
D | arm_dmc620_pmu.c | 582 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_stop() 599 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_add()
|
D | qcom_l3_pmu.c | 544 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in qcom_l3_cache__event_stop() 563 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in qcom_l3_cache__event_add()
|
D | cxl_pmu.c | 634 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in cxl_pmu_event_start() 735 hwc->state |= PERF_HES_UPTODATE; in cxl_pmu_event_stop() 745 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in cxl_pmu_event_add()
|
/linux-6.6.21/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 194 WARN_ON_ONCE(!(hw->state & PERF_HES_UPTODATE)); in l2x0_pmu_event_start() 225 hw->state |= PERF_HES_UPTODATE; in l2x0_pmu_event_stop() 251 hw->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in l2x0_pmu_event_add()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | perf_event.c | 469 hwc->state = PERF_HES_UPTODATE; in alpha_pmu_add() 542 if ((flags & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in alpha_pmu_stop() 544 hwc->state |= PERF_HES_UPTODATE; in alpha_pmu_stop() 561 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in alpha_pmu_start()
|
/linux-6.6.21/arch/arc/kernel/ |
D | perf_event.c | 460 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start() 503 !(event->hw.state & PERF_HES_UPTODATE)) { in arc_pmu_stop() 505 event->hw.state |= PERF_HES_UPTODATE; in arc_pmu_stop() 552 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
|
/linux-6.6.21/arch/x86/events/ |
D | rapl.c | 294 if ((mode & PERF_EF_UPDATE) && !(hwc->state & PERF_HES_UPTODATE)) { in rapl_pmu_event_stop() 300 hwc->state |= PERF_HES_UPTODATE; in rapl_pmu_event_stop() 314 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in rapl_pmu_event_add()
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | perf_event.c | 361 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in loongarch_pmu_start() 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-6.6.21/arch/csky/kernel/ |
D | perf_event.c | 1031 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in csky_pmu_start() 1067 !(event->hw.state & PERF_HES_UPTODATE)) { in csky_pmu_stop() 1069 event->hw.state |= PERF_HES_UPTODATE; in csky_pmu_stop() 1093 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in csky_pmu_add()
|
/linux-6.6.21/drivers/iommu/intel/ |
D | perfmon.c | 357 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in iommu_pmu_start() 391 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in iommu_pmu_stop() 464 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in iommu_pmu_add()
|
/linux-6.6.21/drivers/perf/arm_cspmu/ |
D | arm_cspmu.c | 819 WARN_ON(!(hwc->state & PERF_HES_UPTODATE)); in arm_cspmu_start() 848 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in arm_cspmu_stop() 875 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in arm_cspmu_add()
|