Home
last modified time | relevance | path

Searched refs:lbr_users (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/arch/x86/events/amd/
Dlbr.c167 if (!cpuc->lbr_users) in amd_pmu_lbr_read()
357 if (!cpuc->lbr_users++ && !event->total_time_running) in amd_pmu_lbr_add()
371 cpuc->lbr_users--; in amd_pmu_lbr_del()
372 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_lbr_del()
385 if (cpuc->lbr_users && sched_in) in amd_pmu_lbr_sched_task()
394 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_enable_all()
415 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_disable_all()
Dbrs.c222 if (cpuc->lbr_users) in amd_brs_enable_all()
258 if (cpuc->lbr_users) in amd_brs_disable_all()
389 if (!cpuc->lbr_users) in amd_pmu_brs_sched_task()
Dcore.c869 if (cpuc->lbr_users) in amd_pmu_handle_irq()
/Linux-v6.6/arch/x86/events/intel/
Dlbr.c546 if (!cpuc->lbr_users) in intel_pmu_lbr_sched_task()
615 if (!cpuc->lbr_users++ && !event->total_time_running) in intel_pmu_lbr_add()
675 cpuc->lbr_users--; in intel_pmu_lbr_del()
676 WARN_ON_ONCE(cpuc->lbr_users < 0); in intel_pmu_lbr_del()
693 if (cpuc->lbr_users && !vlbr_exclude_host()) in intel_pmu_lbr_enable_all()
701 if (cpuc->lbr_users && !vlbr_exclude_host()) { in intel_pmu_lbr_disable_all()
934 if (!cpuc->lbr_users || vlbr_exclude_host() || in intel_pmu_lbr_read()
935 cpuc->lbr_users == cpuc->lbr_pebs_users) in intel_pmu_lbr_read()
/Linux-v6.6/arch/x86/events/
Dperf_event.h282 int lbr_users; member
1336 cpuc->lbr_users++; in amd_pmu_brs_add()
1347 cpuc->lbr_users--; in amd_pmu_brs_del()
1348 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_brs_del()