Home
last modified time | relevance | path

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

/Linux-v5.15/tools/include/uapi/linux/
Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/Linux-v5.15/include/uapi/linux/
Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/Linux-v5.15/arch/sh/kernel/
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()
Dptrace_32.c88 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
/Linux-v5.15/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c161 fd = perf_process_event_open(HW_BREAKPOINT_R, (__u64)(&fd) & 0xfffffffffffff800, len); in breakpoint_test()
229 if (readwriteflag & HW_BREAKPOINT_R) in runtestsingle()
460 fd2 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b)); in test_process_multi_diff_addr_ro_wo()
499 fd1 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_same_addr_ro_wo()
645 ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b)); in test_syswide_multi_diff_addr_ro_wo()
692 ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_same_addr_ro_wo()
Dptrace-perf-hwbreak.c59 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set()
71 attr->bp_type = HW_BREAKPOINT_R; in perf_kernel_event_attr_set()
/Linux-v5.15/tools/perf/tests/
Dwp.c70 fd = __event(HW_BREAKPOINT_R, (void *)&data1, sizeof(data1)); in wp_ro_test()
108 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in wp_rw_test()
Dparse-events.c160 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint()
189 HW_BREAKPOINT_R == evsel->core.attr.bp_type); in test__checkevent_breakpoint_r()
219 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type); in test__checkevent_breakpoint_rw()
1333 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint_len()
/Linux-v5.15/arch/x86/kernel/
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-v5.15/arch/arm64/kernel/
Dhw_breakpoint.c360 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
421 case HW_BREAKPOINT_R: in arch_build_bp_info()
783 HW_BREAKPOINT_R; in watchpoint_handler()
/Linux-v5.15/arch/arm/kernel/
Dhw_breakpoint.c476 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
521 case HW_BREAKPOINT_R: in arch_build_bp_info()
762 HW_BREAKPOINT_W : HW_BREAKPOINT_R; in watchpoint_handler()
/Linux-v5.15/arch/xtensa/kernel/
Dptrace.c437 if (bp->attr.bp_type & HW_BREAKPOINT_R) in ptrace_gethbpregs()
470 bp_type |= HW_BREAKPOINT_R; in ptrace_sethbpregs()
Dhw_breakpoint.c59 case HW_BREAKPOINT_R: in hw_breakpoint_arch_parse()
/Linux-v5.15/arch/powerpc/kernel/
Dhw_breakpoint.c381 *gen_bp_type |= HW_BREAKPOINT_R; in arch_bp_generic_fields()
449 if (attr->bp_type & HW_BREAKPOINT_R) in hw_breakpoint_arch_parse()
/Linux-v5.15/tools/perf/util/
Dparse-events.c972 CHECK_SET_TYPE(HW_BREAKPOINT_R); in parse_breakpoint_type()
988 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
Devsel.c604 if (type & HW_BREAKPOINT_R) in __evsel__bp_name()