/linux-6.1.9/arch/x86/events/amd/ |
D | power.c | 73 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __pmu_event_start() 92 if (!(hwc->state & PERF_HES_STOPPED)) in pmu_event_stop() 93 hwc->state |= PERF_HES_STOPPED; in pmu_event_stop() 110 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in pmu_event_add()
|
D | iommu.c | 281 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in perf_iommu_start() 344 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in perf_iommu_stop() 345 hwc->state |= PERF_HES_STOPPED; in perf_iommu_stop() 352 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_iommu_add()
|
/linux-6.1.9/drivers/perf/ |
D | riscv_pmu.c | 129 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in riscv_pmu_stop() 131 if (!(hwc->state & PERF_HES_STOPPED)) { in riscv_pmu_stop() 134 hwc->state |= PERF_HES_STOPPED; in riscv_pmu_stop() 184 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in riscv_pmu_start() 211 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
|
D | arm_dmc620_pmu.c | 388 if (!(event->hw.state & PERF_HES_STOPPED)) in dmc620_pmu_handle_irq() 548 if (event->hw.state & PERF_HES_STOPPED) in dmc620_pmu_stop() 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 | alibaba_uncore_drw_pmu.c | 393 if (!(event->hw.state & PERF_HES_STOPPED)) in ali_drw_pmu_isr() 582 if (event->hw.state & PERF_HES_STOPPED) in ali_drw_pmu_stop() 591 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in ali_drw_pmu_stop() 612 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in ali_drw_pmu_add()
|
D | arm_spe_pmu.c | 502 event->hw.state |= PERF_HES_STOPPED; in arm_spe_perf_aux_output_begin() 783 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_stop() 814 hwc->state |= PERF_HES_STOPPED; in arm_spe_pmu_stop() 827 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arm_spe_pmu_add() 831 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_add()
|
D | qcom_l3_pmu.c | 538 if (hwc->state & PERF_HES_STOPPED) in qcom_l3_cache__event_stop() 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 | marvell_cn10k_tad_pmu.c | 76 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in tad_pmu_event_counter_stop() 130 hwc->state = PERF_HES_STOPPED; in tad_pmu_event_counter_add()
|
D | arm_dsu_pmu.c | 433 if (event->hw.state & PERF_HES_STOPPED) in dsu_pmu_stop() 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 | arm_pmu.c | 279 if (!(hwc->state & PERF_HES_STOPPED)) { in armpmu_stop() 282 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_stop() 351 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_add()
|
/linux-6.1.9/arch/powerpc/perf/ |
D | core-fsl-emb.c | 166 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_read() 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() 383 if (!(event->hw.state & PERF_HES_STOPPED)) in fsl_emb_pmu_start() 411 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_stop() 418 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in fsl_emb_pmu_stop() 596 if (event->hw.state & PERF_HES_STOPPED) { in record_and_restart()
|
/linux-6.1.9/arch/sh/kernel/ |
D | perf_event.c | 205 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-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-etm-perf.c | 500 event->hw.state = PERF_HES_STOPPED; in etm_event_start() 526 if (event->hw.state == PERF_HES_STOPPED) in etm_event_stop() 541 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 561 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 607 if (hwc->state & PERF_HES_STOPPED) in etm_event_add() 610 hwc->state = PERF_HES_STOPPED; in etm_event_add()
|
/linux-6.1.9/arch/arm/mm/ |
D | cache-l2x0-pmu.c | 190 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-6.1.9/arch/alpha/kernel/ |
D | perf_event.c | 421 if (!(hwc->state & PERF_HES_STOPPED)) in maybe_change_configuration() 471 hwc->state |= PERF_HES_STOPPED; in alpha_pmu_add() 537 if (!(hwc->state & PERF_HES_STOPPED)) { in alpha_pmu_stop() 539 hwc->state |= PERF_HES_STOPPED; in alpha_pmu_stop() 557 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in alpha_pmu_start()
|
/linux-6.1.9/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 316 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in hisi_uncore_pmu_start() 339 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in hisi_uncore_pmu_stop() 340 hwc->state |= PERF_HES_STOPPED; in hisi_uncore_pmu_stop() 357 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_uncore_pmu_add()
|
D | hisi_pcie_pmu.c | 490 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in hisi_pcie_pmu_start() 518 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in hisi_pcie_pmu_stop() 519 hwc->state |= PERF_HES_STOPPED; in hisi_pcie_pmu_stop() 533 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_pcie_pmu_add()
|
/linux-6.1.9/arch/x86/events/ |
D | rapl.c | 248 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __rapl_pmu_event_start() 281 if (!(hwc->state & PERF_HES_STOPPED)) { in rapl_pmu_event_stop() 289 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in rapl_pmu_event_stop() 290 hwc->state |= PERF_HES_STOPPED; in rapl_pmu_event_stop() 314 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in rapl_pmu_event_add()
|
/linux-6.1.9/arch/x86/events/intel/ |
D | bts.c | 288 event->hw.state = PERF_HES_STOPPED; in bts_event_start() 318 event->hw.state |= PERF_HES_STOPPED; in bts_event_stop() 525 event->hw.state = PERF_HES_STOPPED; in bts_event_add() 535 if (hwc->state & PERF_HES_STOPPED) in bts_event_add()
|
D | pt.c | 1509 event->hw.state = PERF_HES_STOPPED; in intel_pt_interrupt() 1593 hwc->state = PERF_HES_STOPPED; in pt_event_start() 1608 if (event->hw.state == PERF_HES_STOPPED) in pt_event_stop() 1611 event->hw.state = PERF_HES_STOPPED; in pt_event_stop() 1699 if (hwc->state == PERF_HES_STOPPED) in pt_event_add() 1702 hwc->state = PERF_HES_STOPPED; in pt_event_add()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_pmu.c | 233 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in amdgpu_perf_start() 322 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in amdgpu_perf_stop() 323 hwc->state |= PERF_HES_STOPPED; in amdgpu_perf_stop() 356 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amdgpu_perf_add()
|
/linux-6.1.9/arch/xtensa/kernel/ |
D | perf_event.c | 263 if (!(hwc->state & PERF_HES_STOPPED)) { in xtensa_pmu_stop() 267 hwc->state |= PERF_HES_STOPPED; in xtensa_pmu_stop() 298 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in xtensa_pmu_add()
|
/linux-6.1.9/drivers/hwtracing/ptt/ |
D | hisi_ptt.c | 777 event->hw.state |= PERF_HES_STOPPED; in hisi_ptt_pmu_start() 786 if (hwc->state & PERF_HES_STOPPED) in hisi_ptt_pmu_stop() 800 hwc->state |= PERF_HES_STOPPED; in hisi_ptt_pmu_stop() 815 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in hisi_ptt_pmu_add() 819 if (hwc->state & PERF_HES_STOPPED) in hisi_ptt_pmu_add()
|
/linux-6.1.9/arch/s390/kernel/ |
D | perf_cpum_cf.c | 600 if (event->hw.state & PERF_HES_STOPPED) in cpumf_pmu_read() 612 if (!(hwc->state & PERF_HES_STOPPED)) in cpumf_pmu_start() 688 if (!(hwc->state & PERF_HES_STOPPED)) { in cpumf_pmu_stop() 699 hwc->state |= PERF_HES_STOPPED; in cpumf_pmu_stop() 724 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in cpumf_pmu_add()
|
/linux-6.1.9/arch/loongarch/kernel/ |
D | perf_event.c | 376 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()
|