Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/kernel/
Dperf_cpum_cf.c66 unsigned int txn_flags; member
78 .txn_flags = 0,
548 if (!(cpuhw->txn_flags & PERF_PMU_TXN_ADD)) in cpumf_pmu_add()
591 static void cpumf_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in cpumf_pmu_start_txn() argument
595 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in cpumf_pmu_start_txn()
597 cpuhw->txn_flags = txn_flags; in cpumf_pmu_start_txn()
598 if (txn_flags & ~PERF_PMU_TXN_ADD) in cpumf_pmu_start_txn()
612 unsigned int txn_flags; in cpumf_pmu_cancel_txn() local
615 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_cancel_txn()
617 txn_flags = cpuhw->txn_flags; in cpumf_pmu_cancel_txn()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dperf_event.c113 unsigned int txn_flags; member
1393 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in sparc_pmu_add()
1508 static void sparc_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in sparc_pmu_start_txn() argument
1512 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in sparc_pmu_start_txn()
1514 cpuhw->txn_flags = txn_flags; in sparc_pmu_start_txn()
1515 if (txn_flags & ~PERF_PMU_TXN_ADD) in sparc_pmu_start_txn()
1529 unsigned int txn_flags; in sparc_pmu_cancel_txn() local
1531 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in sparc_pmu_cancel_txn()
1533 txn_flags = cpuhw->txn_flags; in sparc_pmu_cancel_txn()
1534 cpuhw->txn_flags = 0; in sparc_pmu_cancel_txn()
[all …]
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c51 unsigned int txn_flags; member
1488 if (cpuhw->txn_flags & PERF_PMU_TXN_ADD) in power_pmu_add()
1638 static void power_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in power_pmu_start_txn() argument
1642 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in power_pmu_start_txn()
1644 cpuhw->txn_flags = txn_flags; in power_pmu_start_txn()
1645 if (txn_flags & ~PERF_PMU_TXN_ADD) in power_pmu_start_txn()
1660 unsigned int txn_flags; in power_pmu_cancel_txn() local
1662 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in power_pmu_cancel_txn()
1664 txn_flags = cpuhw->txn_flags; in power_pmu_cancel_txn()
1665 cpuhw->txn_flags = 0; in power_pmu_cancel_txn()
[all …]
Dhv-24x7.c1383 int txn_flags; in h_24x7_event_read() local
1385 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_read()
1394 if (txn_flags & PERF_PMU_TXN_READ) { in h_24x7_event_read()
1508 int i, ret, txn_flags; in h_24x7_event_commit_txn() local
1511 txn_flags = __this_cpu_read(hv_24x7_txn_flags); in h_24x7_event_commit_txn()
1512 WARN_ON_ONCE(!txn_flags); in h_24x7_event_commit_txn()
1515 if (txn_flags & ~PERF_PMU_TXN_READ) in h_24x7_event_commit_txn()
Dimc-pmu.c919 unsigned int txn_flags) in thread_imc_pmu_start_txn() argument
921 if (txn_flags & ~PERF_PMU_TXN_ADD) in thread_imc_pmu_start_txn()
/Linux-v4.19/arch/x86/events/
Dcore.c1227 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_add()
1386 if (cpuc->txn_flags & PERF_PMU_TXN_ADD) in x86_pmu_del()
1904 static void x86_pmu_start_txn(struct pmu *pmu, unsigned int txn_flags) in x86_pmu_start_txn() argument
1908 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn()
1910 cpuc->txn_flags = txn_flags; in x86_pmu_start_txn()
1911 if (txn_flags & ~PERF_PMU_TXN_ADD) in x86_pmu_start_txn()
1925 unsigned int txn_flags; in x86_pmu_cancel_txn() local
1928 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn()
1930 txn_flags = cpuc->txn_flags; in x86_pmu_cancel_txn()
1931 cpuc->txn_flags = 0; in x86_pmu_cancel_txn()
[all …]
Dperf_event.h197 unsigned int txn_flags; member
/Linux-v4.19/include/linux/
Dperf_event.h374 void (*start_txn) (struct pmu *pmu, unsigned int txn_flags);