Home
last modified time | relevance | path

Searched refs:txn_flags (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Dperf_event.c113 unsigned int txn_flags; member
1397 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in sparc_pmu_add()
1512 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in sparc_pmu_start_txn() argument
1516 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1518 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1519 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_start_txn()
1533 unsigned int txn_flags; in sparc_pmu_cancel_txn() local
1535 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1537 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1538 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()
[all …]
/linux-6.1.9/arch/powerpc/perf/
Dcore-book3s.c49 unsigned int txn_flags; member
1665 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1822 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1826 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1828 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1829 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1844 unsigned int txn_flags; in power_pmu_cancel_txn() local
1846 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1848 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1849 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
[all …]
Dhv-24x7.c1488 int txn_flags; in h_24x7_event_read() local
1490 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()
1499 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()
1603 int i, ret, txn_flags; in h_24x7_event_commit_txn() local
1606 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()
1607 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()
1610 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
Dimc-pmu.c1041 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument
1043 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
/linux-6.1.9/arch/x86/events/
Dcore.c993 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_schedule_events()
1463 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()
1619 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()
2242 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument
2246 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()
2248 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()
2249 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()
2265 unsigned int txn_flags; in x86_pmu_cancel_txn() local
2268 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()
2270 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()
[all …]
Dperf_event.h253 unsigned int txn_flags; member
/linux-6.1.9/include/linux/
Dperf_event.h419 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags);
/linux-6.1.9/arch/x86/events/intel/
Dcore.c2697 if ((cpuc->txn_flags & PERF_PMU_TXN_READ) && in intel_pmu_read_topdown_event()