Home
last modified time | relevance | path

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

12

/linux/arch/x86/events/amd/
A Dpower.c73 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 Diommu.c281 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 Dibs.c408 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 Dcore-fsl-emb.c166 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 Dcore-book3s.c1119 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 Dperf_event.c255 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 Dpmu.rst178 * PERF_HES_STOPPED: 计数停止
187 理计数器上。当状态变为PERF_HES_STOPPED和PERF_HES_UPTODATE,因为现在已经停止了,
200 状态又一次变为PERF_HES_STOPPED和PERF_HES_UPTODATE。
/linux/drivers/hwtracing/coresight/
A Dcoresight-etm-perf.c498 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 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/
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/perf/hisilicon/
A Dhisi_uncore_pmu.c316 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 Dperf_event.c421 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 Damdgpu_pmu.c233 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 Drapl.c248 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 Dbts.c288 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 Dpt.c1456 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 Dperf_event.c263 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 Darm_dmc620_pmu.c388 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 Darm_spe_pmu.c482 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 Dqcom_l3_pmu.c538 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 Darm_dsu_pmu.c433 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 Darm_pmu.c277 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 Dperf_event.c330 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 Dperf_cpum_cf.c580 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 Dhw_breakpoint.c643 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_add()
665 bp->hw.state = PERF_HES_STOPPED; in hw_breakpoint_stop()

Completed in 52 milliseconds

12