Home
last modified time | relevance | path

Searched refs:exclude_user (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.10/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c75 static int runtestsingle(int readwriteflag, int exclude_user, int arraytest) in runtestsingle() argument
106 attr.exclude_user = exclude_user; in runtestsingle()
138 needed = needed * (1 - exclude_user); in runtestsingle()
140 (unsigned long int)ptr, breaks, loop_num, readwriteflag, exclude_user, arraytest); in runtestsingle()
143 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
269 int exclude_user; in runtest() local
277 for (exclude_user = 0 ; exclude_user < 2; exclude_user++) { in runtest()
278 ret = runtestsingle(rwflag, exclude_user, 0); in runtest()
285 ret = runtestsingle(rwflag, exclude_user, 1); in runtest()
/Linux-v5.10/tools/perf/tests/
Dparse-events.c227 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_tracepoint_modifier()
244 !evsel->core.attr.exclude_user); in test__checkevent_tracepoint_multi_modifier()
258 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_raw_modifier()
270 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_numeric_modifier()
282 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_symbolic_name_modifier()
314 TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); in test__checkevent_symbolic_alias_modifier()
326 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_genhw_modifier()
341 TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); in test__checkevent_exclude_idle_modifier()
356 TEST_ASSERT_VAL("wrong exclude_user", evsel->core.attr.exclude_user); in test__checkevent_exclude_idle_modifier_1()
369 TEST_ASSERT_VAL("wrong exclude_user", !evsel->core.attr.exclude_user); in test__checkevent_breakpoint_modifier()
[all …]
Dattr.c110 WRITE_ASS(exclude_user, "d"); in store_event()
/Linux-v5.10/tools/testing/selftests/powerpc/pmu/
Dper_event_excludes.c43 e->attr.exclude_user = 1; in per_event_excludes()
50 e->attr.exclude_user = 1; in per_event_excludes()
/Linux-v5.10/tools/perf/tests/attr/
Dbase-record17 exclude_user=0
Dbase-stat17 exclude_user=0
Dsystem-wide-dummy20 exclude_user=0
/Linux-v5.10/arch/s390/kernel/
Dperf_cpum_cf.c214 if (attr->exclude_kernel || attr->exclude_user || in __hw_perf_event_init()
225 if (!attr->exclude_user && attr->exclude_kernel) { in __hw_perf_event_init()
231 } else if (!attr->exclude_kernel && attr->exclude_user) { in __hw_perf_event_init()
/Linux-v5.10/arch/x86/kvm/
Dpmu.c98 unsigned config, bool exclude_user, in pmc_reprogram_counter() argument
109 .exclude_user = exclude_user, in pmc_reprogram_counter()
/Linux-v5.10/arch/arm64/kvm/
Dpmu.c21 if (has_vhe() && attr->exclude_user) in kvm_pmu_switch_needed()
Dpmu-emul.c639 attr.exclude_user = data & ARMV8_PMU_EXCLUDE_EL0 ? 1 : 0; in kvm_pmu_create_perf_event()
759 attr.exclude_user = 0; in kvm_pmu_probe_pmuver()
/Linux-v5.10/tools/perf/util/
Dstat.c543 attr->exclude_user = 0; in create_perf_stat_counter()
548 attr->exclude_user = 1; in create_perf_stat_counter()
Dpython.c757 exclude_user = 0, in pyrf_evsel__init() local
779 &pinned, &exclusive, &exclude_user, in pyrf_evsel__init()
800 attr.exclude_user = exclude_user; in pyrf_evsel__init()
Dperf_event_attr_fprintf.c109 PRINT_ATTRf(exclude_user, p_unsigned); in perf_event_attr__fprintf()
Darm-spe.c812 attr.exclude_user = evsel->core.attr.exclude_user; in arm_spe_synth_events()
Devsel.c512 if (attr->exclude_kernel || attr->exclude_user || attr->exclude_hv) { in perf_evsel__add_modifiers()
803 if (attr->exclude_user) { in __evsel__config_callchain()
1238 attr->exclude_user = 0; in evsel__config()
1243 attr->exclude_user = 1; in evsel__config()
2529 if (evsel->core.attr.exclude_user) in evsel__fallback()
Dintel-bts.c799 attr.exclude_user = evsel->core.attr.exclude_user; in intel_bts_synth_events()
/Linux-v5.10/Documentation/arm64/
Dperf.rst10 exclude_user section in Perf Event Attributes
/Linux-v5.10/tools/include/uapi/linux/
Dperf_event.h346 exclude_user : 1, /* don't count user */ member
/Linux-v5.10/include/uapi/linux/
Dperf_event.h346 exclude_user : 1, /* don't count user */ member
/Linux-v5.10/tools/bpf/bpftool/
Dprog.c1681 .exclude_user = 1,
1689 .exclude_user = 1,
1703 .exclude_user = 1,
1714 .exclude_user = 1
/Linux-v5.10/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c915 .exclude_user = 1,
923 .exclude_user = 1,
/Linux-v5.10/arch/powerpc/perf/
Dcore-book3s.c1033 eu = event->attr.exclude_user; in check_excludes()
1037 } else if (event->attr.exclude_user != eu || in check_excludes()
1372 if (event->attr.exclude_user) in power_pmu_enable()
1782 if (event->attr.exclude_user in can_go_on_limited_pmc()
Disa207-common.c504 if (pevents[i]->attr.exclude_user) in isa207_compute_mmcr()
/Linux-v5.10/arch/sparc/kernel/
Dperf_event.c1331 eu = event->attr.exclude_user; in check_excludes()
1335 } else if (event->attr.exclude_user != eu || in check_excludes()
1466 if (!attr->exclude_user) in sparc_pmu_event_init()

12