/linux/arch/x86/events/amd/ |
A 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()
|
A 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()
|
A D | ibs.c | 408 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in perf_ibs_start() 469 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in perf_ibs_stop() 470 hwc->state |= PERF_HES_STOPPED; in perf_ibs_stop() 494 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in perf_ibs_add()
|
/linux/arch/powerpc/perf/ |
A 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()
|
A D | core-book3s.c | 1119 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_read() 1485 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_enable() 1580 event->hw.state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in power_pmu_add() 1692 if (!(event->hw.state & PERF_HES_STOPPED)) in power_pmu_start() 1722 if (event->hw.state & PERF_HES_STOPPED) in power_pmu_stop() 1729 event->hw.state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in power_pmu_stop() 2152 if (event->hw.state & PERF_HES_STOPPED) { in record_and_restart()
|
/linux/arch/riscv/kernel/ |
A D | perf_event.c | 255 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in riscv_pmu_stop() 256 hwc->state |= PERF_HES_STOPPED; in riscv_pmu_stop() 271 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in riscv_pmu_start() 317 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in riscv_pmu_add()
|
/linux/Documentation/translations/zh_CN/riscv/ |
A D | pmu.rst | 178 * PERF_HES_STOPPED: 计数停止 187 理计数器上。当状态变为PERF_HES_STOPPED和PERF_HES_UPTODATE,因为现在已经停止了, 200 状态又一次变为PERF_HES_STOPPED和PERF_HES_UPTODATE。
|
/linux/drivers/hwtracing/coresight/ |
A D | coresight-etm-perf.c | 498 event->hw.state = PERF_HES_STOPPED; in etm_event_start() 524 if (event->hw.state == PERF_HES_STOPPED) in etm_event_stop() 539 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 559 event->hw.state = PERF_HES_STOPPED; in etm_event_stop() 605 if (hwc->state & PERF_HES_STOPPED) in etm_event_add() 608 hwc->state = PERF_HES_STOPPED; in etm_event_add()
|
/linux/arch/sh/kernel/ |
A 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/arch/arm/mm/ |
A 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/drivers/perf/hisilicon/ |
A 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()
|
/linux/arch/alpha/kernel/ |
A 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/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_pmu.c | 233 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in amdgpu_perf_start() 310 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in amdgpu_perf_stop() 311 hwc->state |= PERF_HES_STOPPED; in amdgpu_perf_stop() 340 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in amdgpu_perf_add()
|
/linux/arch/x86/events/ |
A 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/arch/x86/events/intel/ |
A 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()
|
A D | pt.c | 1456 event->hw.state = PERF_HES_STOPPED; in intel_pt_interrupt() 1540 hwc->state = PERF_HES_STOPPED; in pt_event_start() 1555 if (event->hw.state == PERF_HES_STOPPED) in pt_event_stop() 1558 event->hw.state = PERF_HES_STOPPED; in pt_event_stop() 1646 if (hwc->state == PERF_HES_STOPPED) in pt_event_add() 1649 hwc->state = PERF_HES_STOPPED; in pt_event_add()
|
/linux/arch/xtensa/kernel/ |
A 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/drivers/perf/ |
A 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()
|
A D | arm_spe_pmu.c | 482 event->hw.state |= PERF_HES_STOPPED; in arm_spe_perf_aux_output_begin() 763 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_stop() 794 hwc->state |= PERF_HES_STOPPED; in arm_spe_pmu_stop() 807 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arm_spe_pmu_add() 811 if (hwc->state & PERF_HES_STOPPED) in arm_spe_pmu_add()
|
A 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()
|
A 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()
|
A D | arm_pmu.c | 277 if (!(hwc->state & PERF_HES_STOPPED)) { in armpmu_stop() 280 hwc->state |= PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_stop() 349 hwc->state = PERF_HES_STOPPED | PERF_HES_UPTODATE; in armpmu_add()
|
/linux/arch/arc/kernel/ |
A D | perf_event.c | 330 if (!(event->hw.state & PERF_HES_STOPPED)) { in arc_pmu_stop() 337 event->hw.state |= PERF_HES_STOPPED; in arc_pmu_stop() 390 hwc->state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in arc_pmu_add()
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_cf.c | 580 if (event->hw.state & PERF_HES_STOPPED) in cpumf_pmu_read() 592 if (!(hwc->state & PERF_HES_STOPPED)) in cpumf_pmu_start() 667 if (!(hwc->state & PERF_HES_STOPPED)) { in cpumf_pmu_stop() 678 hwc->state |= PERF_HES_STOPPED; in cpumf_pmu_stop() 703 event->hw.state = PERF_HES_UPTODATE | PERF_HES_STOPPED; in cpumf_pmu_add()
|
/linux/kernel/events/ |
A D | hw_breakpoint.c | 643 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_add() 665 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_stop()
|