Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/uapi/linux/
H A Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/openbmc/linux/include/uapi/linux/
H A Dhw_breakpoint.h18 HW_BREAKPOINT_R = 1, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/openbmc/linux/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()
/openbmc/linux/tools/perf/tests/
H A Dwp.c80 fd = __event(HW_BREAKPOINT_R, (void *)&data1, sizeof(data1)); in test__wp_ro()
128 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in test__wp_rw()
H A Dparse-events.c229 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint()
258 HW_BREAKPOINT_R == evsel->core.attr.bp_type); in test__checkevent_breakpoint_r()
288 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type); in test__checkevent_breakpoint_rw()
1550 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint_len()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/arch/arm64/kernel/
H A 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()
/openbmc/linux/arch/arm/kernel/
H A 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()
/openbmc/linux/arch/loongarch/kernel/
H A Dhw_breakpoint.c311 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields()
356 case HW_BREAKPOINT_R: in arch_build_bp_info()
H A Dkgdb.c525 breakinfo[i].type = HW_BREAKPOINT_R; in kgdb_set_hw_break()
/openbmc/linux/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()
/openbmc/linux/tools/perf/util/
H A Dparse-events.c659 CHECK_SET_TYPE(HW_BREAKPOINT_R); in parse_breakpoint_type()
675 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
H A Devsel.c620 if (type & HW_BREAKPOINT_R) in __evsel__bp_name()