Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/events/amd/
H A Dlbr.c167 if (!cpuc->lbr_users) in amd_pmu_lbr_read()
359 if (!cpuc->lbr_users++ && !event->total_time_running) in amd_pmu_lbr_add()
373 cpuc->lbr_users--; in amd_pmu_lbr_del()
374 WARN_ON_ONCE(cpuc->lbr_users < 0); in amd_pmu_lbr_del()
387 if (cpuc->lbr_users && sched_in) in amd_pmu_lbr_sched_task()
396 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_enable_all()
419 if (!cpuc->lbr_users || !x86_pmu.lbr_nr) in amd_pmu_lbr_disable_all()
H A 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()
H A Dcore.c882 if (cpuc->lbr_users) in amd_pmu_handle_irq()
/openbmc/linux/arch/x86/events/intel/
H A 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()
/openbmc/linux/arch/x86/events/
H A 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()