Home
last modified time | relevance | path

Searched refs:HW_BREAKPOINT_R (Results 1 – 18 of 18) sorted by relevance

/linux-6.15/tools/include/uapi/linux/
H A Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/linux-6.15/include/uapi/linux/
H A Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/linux-6.15/arch/sh/kernel/
H A Dhw_breakpoint.c159 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
165 *gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in arch_bp_generic_fields()
200 case HW_BREAKPOINT_R: in arch_build_bp_info()
206 case HW_BREAKPOINT_W | HW_BREAKPOINT_R: in arch_build_bp_info()
H A Dptrace_32.c87 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
/linux-6.15/tools/perf/tests/
H A Dwp.c85 fd = __event(HW_BREAKPOINT_R, (void *)&data1, sizeof(data1)); in test__wp_ro()
133 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in test__wp_rw()
H A Dparse-events.c246 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint()
275 HW_BREAKPOINT_R == evsel->core.attr.bp_type); in test__checkevent_breakpoint_r()
305 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type); in test__checkevent_breakpoint_rw()
1632 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint_len()
/linux-6.15/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c207 fd = perf_process_event_open(HW_BREAKPOINT_R, (__u64)(&fd) & 0xfffffffffffff800, len); in breakpoint_test()
275 if (readwriteflag & HW_BREAKPOINT_R) in runtestsingle()
506 fd2 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b)); in test_process_multi_diff_addr_ro_wo()
545 fd1 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_same_addr_ro_wo()
683 ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b)); in test_syswide_multi_diff_addr_ro_wo()
727 ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_same_addr_ro_wo()
H A Dptrace-perf-hwbreak.c128 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set()
/linux-6.15/arch/x86/kernel/
H A Dhw_breakpoint.c216 *gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in arch_bp_generic_fields()
350 case HW_BREAKPOINT_W | HW_BREAKPOINT_R: in arch_build_bp_info()
/linux-6.15/arch/powerpc/kernel/
H A Dhw_breakpoint.c129 *gen_bp_type |= HW_BREAKPOINT_R; in arch_bp_generic_fields()
197 if (attr->bp_type & HW_BREAKPOINT_R) in hw_breakpoint_arch_parse()
/linux-6.15/arch/arm64/kernel/
H A Dhw_breakpoint.c361 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
422 case HW_BREAKPOINT_R: in arch_build_bp_info()
784 HW_BREAKPOINT_R; in watchpoint_handler()
/linux-6.15/arch/arm/kernel/
H A Dhw_breakpoint.c477 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
522 case HW_BREAKPOINT_R: in arch_build_bp_info()
763 HW_BREAKPOINT_W : HW_BREAKPOINT_R; in watchpoint_handler()
/linux-6.15/arch/loongarch/kernel/
H A Dhw_breakpoint.c323 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
368 case HW_BREAKPOINT_R: in arch_build_bp_info()
H A Dkgdb.c526 breakinfo[i].type = HW_BREAKPOINT_R; in kgdb_set_hw_break()
/linux-6.15/arch/xtensa/kernel/
H A Dptrace.c435 if (bp->attr.bp_type & HW_BREAKPOINT_R) in ptrace_gethbpregs()
468 bp_type |= HW_BREAKPOINT_R; in ptrace_sethbpregs()
H A Dhw_breakpoint.c60 case HW_BREAKPOINT_R: in hw_breakpoint_arch_parse()
/linux-6.15/tools/perf/util/
H A Dparse-events.c692 CHECK_SET_TYPE(HW_BREAKPOINT_R); in parse_breakpoint_type()
708 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
H A Devsel.c793 if (type & HW_BREAKPOINT_R) in __evsel__bp_name()