Home
last modified time | relevance | path

Searched refs:precise_ip (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.1.9/tools/perf/tests/
Dparse-events.c232 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_tracepoint_modifier()
250 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_tracepoint_multi_modifier()
263 TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); in test__checkevent_raw_modifier()
275 TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); in test__checkevent_numeric_modifier()
287 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_symbolic_name_modifier()
319 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_symbolic_alias_modifier()
331 TEST_ASSERT_VAL("wrong precise_ip", evsel->core.attr.precise_ip); in test__checkevent_genhw_modifier()
346 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_exclude_idle_modifier()
361 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_exclude_idle_modifier_1()
374 TEST_ASSERT_VAL("wrong precise_ip", !evsel->core.attr.precise_ip); in test__checkevent_breakpoint_modifier()
[all …]
Dattr.c122 WRITE_ASS(precise_ip, "d"); in store_event()
/linux-6.1.9/tools/perf/tests/attr/
Dbase-record-spe27 precise_ip=*
Dbase-stat28 precise_ip=0
Dbase-record28 precise_ip=0|1|2|3
Dsystem-wide-dummy31 precise_ip=0
/linux-6.1.9/arch/x86/kvm/
Dpmu.c108 if (pmc->perf_event && pmc->perf_event->attr.precise_ip) { in __kvm_perf_overflow()
197 attr.precise_ip = 1; in pmc_reprogram_counter()
199 attr.precise_ip = 3; in pmc_reprogram_counter()
241 (!!pmc->perf_event->attr.precise_ip)) in pmc_resume_counter()
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dget_stackid_cannot_attach.c12 .precise_ip = 1, in test_get_stackid_cannot_attach()
Dperf_event_stackmap.c59 .precise_ip = 2, in test_perf_event_stackmap()
/linux-6.1.9/tools/perf/util/
Devsel.c349 (attr.precise_ip || attr.exclude_kernel) ? ":" : "", in evsel__new_cycles()
351 attr.precise_ip ? attr.precise_ip + 1 : 0, "ppp") < 0) in evsel__new_cycles()
584 if (attr->precise_ip) { in evsel__add_modifiers()
587 r += scnprintf(bf + r, size - r, "%.*s", attr->precise_ip, "ppp"); in evsel__add_modifiers()
1349 attr->precise_ip = 3; in evsel__config()
1796 if (!evsel->core.attr.precise_ip) { in evsel__precise_ip_fallback()
1797 evsel->core.attr.precise_ip = evsel->precise_ip_original; in evsel__precise_ip_fallback()
1802 evsel->precise_ip_original = evsel->core.attr.precise_ip; in evsel__precise_ip_fallback()
1804 evsel->core.attr.precise_ip--; in evsel__precise_ip_fallback()
1805 pr_debug2_peo("decreasing precise_ip by one (%d)\n", evsel->core.attr.precise_ip); in evsel__precise_ip_fallback()
[all …]
Dperf_event_attr_fprintf.c121 PRINT_ATTRf(precise_ip, p_unsigned); in perf_event_attr__fprintf()
Dpython.c821 precise_ip = 0, in pyrf_evsel__init() local
835 &precise_ip, &mmap_data, &sample_id_all, in pyrf_evsel__init()
864 attr.precise_ip = precise_ip; in pyrf_evsel__init()
Dparse-events.c1818 int precise = evsel ? evsel->core.attr.precise_ip : 0; in get_event_modifier()
1952 evsel->core.attr.precise_ip = mod.precise; in parse_events__modifier_event()
/linux-6.1.9/arch/x86/events/intel/
Dds.c1037 if (!event->attr.precise_ip) in intel_pebs_constraints()
1138 attr->precise_ip > 1) in pebs_update_adaptive_cfg()
1157 if (gprs || (attr->precise_ip < 2) || tsx_weight) in pebs_update_adaptive_cfg()
1616 if (event->attr.precise_ip > 1) { in setup_pebs_fixed_sample_data()
1773 if (event->attr.precise_ip < 2) { in setup_pebs_adaptive_sample_data()
2042 if (!event->attr.precise_ip) in intel_pmu_drain_pebs_core()
2170 if (WARN_ON_ONCE(!event->attr.precise_ip)) in intel_pmu_drain_pebs_nhm()
2236 if (WARN_ON_ONCE(!event->attr.precise_ip)) in intel_pmu_drain_pebs_icl()
Dcore.c2480 if (unlikely(event->attr.precise_ip)) in intel_pmu_disable_event()
2494 if (event->attr.precise_ip) in intel_pmu_del_event()
2742 if (!event->attr.precise_ip) in intel_pmu_enable_fixed()
2759 if (x86_pmu.intel_cap.pebs_baseline && event->attr.precise_ip) { in intel_pmu_enable_fixed()
2773 if (unlikely(event->attr.precise_ip)) in intel_pmu_enable_event()
2801 if (event->attr.precise_ip) in intel_pmu_add_event()
2917 if (!event->attr.precise_ip) in x86_pmu_handle_guest_pebs()
3756 if (event->attr.precise_ip < 3) in intel_pebs_aliases_ivb()
3763 if (event->attr.precise_ip < 3) in intel_pebs_aliases_skl()
3795 if (attr->precise_ip) in intel_pmu_bts_config()
[all …]
Dlbr.c612 if (x86_pmu.intel_cap.pebs_baseline && event->attr.precise_ip > 0) in intel_pmu_lbr_add()
673 if (x86_pmu.intel_cap.pebs_baseline && event->attr.precise_ip > 0) in intel_pmu_lbr_del()
/linux-6.1.9/tools/perf/arch/powerpc/util/
Dperf_regs.c194 .precise_ip = 1, in arch__intr_reg_mask()
/linux-6.1.9/samples/bpf/
Dtrace_event_user.c264 .precise_ip = 2, in test_bpf_perf_event()
/linux-6.1.9/arch/ia64/include/asm/
Dsal.h368 precise_ip : 1, member
375 u64 precise_ip; member
/linux-6.1.9/tools/perf/arch/x86/util/
Dperf_regs.c285 .precise_ip = 1, in arch__intr_reg_mask()
/linux-6.1.9/arch/x86/events/
Dcore.c563 if (event->attr.precise_ip) { in x86_pmu_hw_config()
566 if (event->attr.precise_ip > precise) in x86_pmu_hw_config()
577 if (event->attr.precise_ip > 1 && x86_pmu.intel_cap.pebs_format < 2) { in x86_pmu_hw_config()
642 if (!event->attr.precise_ip) in x86_pmu_hw_config()
1172 if (!cpuc->is_fake && leader->attr.precise_ip) { in collect_events()
/linux-6.1.9/tools/include/uapi/linux/
Dperf_event.h434 precise_ip : 2, /* skid constraint */ member
/linux-6.1.9/include/uapi/linux/
Dperf_event.h434 precise_ip : 2, /* skid constraint */ member
/linux-6.1.9/arch/x86/events/amd/
Dcore.c376 if (event->attr.precise_ip && get_ibs_caps()) in amd_pmu_hw_config()
Dibs.c211 switch (event->attr.precise_ip) { in perf_ibs_precise_event()

12