/openbmc/linux/tools/include/uapi/linux/ |
H A D | hw_breakpoint.h | 18 HW_BREAKPOINT_R = 1, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
/openbmc/linux/include/uapi/linux/ |
H A D | hw_breakpoint.h | 18 HW_BREAKPOINT_R = 1, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
/openbmc/linux/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 159 *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 D | ptrace_32.c | 87 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
|
/openbmc/linux/tools/perf/tests/ |
H A D | wp.c | 80 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 D | parse-events.c | 229 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 D | perf-hwbreak.c | 207 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 D | ptrace-perf-hwbreak.c | 128 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 216 *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 D | hw_breakpoint.c | 129 *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 D | hw_breakpoint.c | 360 *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 D | hw_breakpoint.c | 476 *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 D | hw_breakpoint.c | 311 *gen_type = HW_BREAKPOINT_R; in arch_bp_generic_fields() 356 case HW_BREAKPOINT_R: in arch_build_bp_info()
|
H A D | kgdb.c | 525 breakinfo[i].type = HW_BREAKPOINT_R; in kgdb_set_hw_break()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | ptrace.c | 435 if (bp->attr.bp_type & HW_BREAKPOINT_R) in ptrace_gethbpregs() 468 bp_type |= HW_BREAKPOINT_R; in ptrace_sethbpregs()
|
H A D | hw_breakpoint.c | 60 case HW_BREAKPOINT_R: in hw_breakpoint_arch_parse()
|
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.c | 659 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 D | evsel.c | 620 if (type & HW_BREAKPOINT_R) in __evsel__bp_name()
|