/openbmc/linux/tools/include/uapi/linux/ |
H A D | hw_breakpoint.h | 19 HW_BREAKPOINT_W = 2, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
/openbmc/linux/include/uapi/linux/ |
H A D | hw_breakpoint.h | 19 HW_BREAKPOINT_W = 2, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
/openbmc/linux/tools/perf/tests/ |
H A D | wp.c | 104 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in test__wp_wo() 128 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in test__wp_rw() 153 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in test__wp_modify() 161 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in test__wp_modify()
|
H A D | bp_account.c | 51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
H A D | bp_signal.c | 112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
H A D | parse-events.c | 229 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint() 273 HW_BREAKPOINT_W == evsel->core.attr.bp_type); in test__checkevent_breakpoint_w() 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() 1565 TEST_ASSERT_VAL("wrong bp_type", HW_BREAKPOINT_W == in test__checkevent_breakpoint_len_w()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 162 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 165 *gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in arch_bp_generic_fields() 203 case HW_BREAKPOINT_W: in arch_build_bp_info() 206 case HW_BREAKPOINT_W | HW_BREAKPOINT_R: in arch_build_bp_info()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 213 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 216 *gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in arch_bp_generic_fields() 347 case HW_BREAKPOINT_W: in arch_build_bp_info() 350 case HW_BREAKPOINT_W | HW_BREAKPOINT_R: in arch_build_bp_info()
|
H A D | kgdb.c | 652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
/openbmc/linux/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
|
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | perf-hwbreak.c | 277 if (readwriteflag & HW_BREAKPOINT_W) in runtestsingle() 500 fd1 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_diff_addr_ro_wo() 551 fd2 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_same_addr_ro_wo() 679 ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_diff_addr_ro_wo() 723 ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_same_addr_ro_wo()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | hw_breakpoint.c | 131 *gen_bp_type |= HW_BREAKPOINT_W; in arch_bp_generic_fields() 199 if (attr->bp_type & HW_BREAKPOINT_W) in hw_breakpoint_arch_parse()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 363 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 424 case HW_BREAKPOINT_W: in arch_build_bp_info() 782 access = (esr & AARCH64_ESR_ACCESS_MASK) ? HW_BREAKPOINT_W : in watchpoint_handler()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 479 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 524 case HW_BREAKPOINT_W: 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 | 314 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 359 case HW_BREAKPOINT_W: in arch_build_bp_info()
|
H A D | kgdb.c | 528 breakinfo[i].type = HW_BREAKPOINT_W; in kgdb_set_hw_break() 691 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | ptrace.c | 437 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs() 470 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs()
|
H A D | hw_breakpoint.c | 63 case HW_BREAKPOINT_W: in hw_breakpoint_arch_parse()
|
/openbmc/linux/tools/perf/util/ |
H A D | parse-events.c | 662 CHECK_SET_TYPE(HW_BREAKPOINT_W); in parse_breakpoint_type() 675 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
|
H A D | evsel.c | 623 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()
|