/linux-5.19.10/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-5.19.10/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 | ibs.c | 417 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in perf_ibs_start() 451 if (!stopping && (hwc->state & PERF_HES_UPTODATE)) in perf_ibs_stop() 479 if (hwc->state & PERF_HES_UPTODATE) in perf_ibs_stop() 489 hwc->state |= PERF_HES_UPTODATE; in perf_ibs_stop() 500 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_ibs_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()
|
/linux-5.19.10/Documentation/translations/zh_CN/riscv/ |
D | pmu.rst | 179 * PERF_HES_UPTODATE: event->count是最新的 187 理计数器上。当状态变为PERF_HES_STOPPED和PERF_HES_UPTODATE,因为现在已经停止了, 200 状态又一次变为PERF_HES_STOPPED和PERF_HES_UPTODATE。
|
/linux-5.19.10/arch/xtensa/kernel/ |
D | perf_event.c | 249 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in xtensa_pmu_start() 271 !(event->hw.state & PERF_HES_UPTODATE)) { in xtensa_pmu_stop() 273 event->hw.state |= PERF_HES_UPTODATE; in xtensa_pmu_stop() 298 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in xtensa_pmu_add()
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pmu.c | 240 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in amdgpu_perf_start() 305 if (hwc->state & PERF_HES_UPTODATE) in amdgpu_perf_stop() 325 if (hwc->state & PERF_HES_UPTODATE) in amdgpu_perf_stop() 329 hwc->state |= PERF_HES_UPTODATE; in amdgpu_perf_stop() 356 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amdgpu_perf_add()
|
/linux-5.19.10/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 319 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in hisi_uncore_pmu_start() 342 if (hwc->state & PERF_HES_UPTODATE) in hisi_uncore_pmu_stop() 347 hwc->state |= PERF_HES_UPTODATE; in hisi_uncore_pmu_stop() 357 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_uncore_pmu_add()
|
D | hisi_pcie_pmu.c | 493 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in hisi_pcie_pmu_start() 521 if (hwc->state & PERF_HES_UPTODATE) in hisi_pcie_pmu_stop() 524 hwc->state |= PERF_HES_UPTODATE; in hisi_pcie_pmu_stop() 533 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_pcie_pmu_add()
|
/linux-5.19.10/drivers/perf/ |
D | riscv_pmu.c | 137 hwc->state |= PERF_HES_UPTODATE; in riscv_pmu_stop() 188 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in riscv_pmu_start() 211 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
|
D | arm_pmu.c | 282 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_stop() 296 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in armpmu_start() 351 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 | 553 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in dmc620_pmu_stop() 570 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 | qcom_l2_pmu.c | 585 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in l2_cache_event_stop() 602 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in l2_cache_event_add()
|
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/arch/s390/kernel/ |
D | perf_cpum_sf.c | 1854 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in cpumsf_pmu_start() 1879 if ((flags & PERF_EF_UPDATE) && !(event->hw.state & PERF_HES_UPTODATE)) { in cpumsf_pmu_stop() 1881 event->hw.state |= PERF_HES_UPTODATE; in cpumsf_pmu_stop() 1901 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in cpumsf_pmu_add()
|
/linux-5.19.10/arch/sparc/kernel/ |
D | perf_event.c | 1087 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in sparc_pmu_start() 1108 if (!(event->hw.state & PERF_HES_UPTODATE) && (flags & PERF_EF_UPDATE)) { in sparc_pmu_stop() 1110 event->hw.state |= PERF_HES_UPTODATE; in sparc_pmu_stop() 1388 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in sparc_pmu_add()
|