| /linux-6.15/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,
|
| /linux-6.15/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,
|
| /linux-6.15/tools/perf/tests/ |
| H A D | wp.c | 109 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in test__wp_wo() 133 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in test__wp_rw() 158 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in test__wp_modify() 166 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in test__wp_modify()
|
| H A D | bp_account.c | 52 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
| H A D | bp_signal.c | 113 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
| H A D | parse-events.c | 246 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint() 290 HW_BREAKPOINT_W == evsel->core.attr.bp_type); in test__checkevent_breakpoint_w() 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() 1647 TEST_ASSERT_VAL("wrong bp_type", HW_BREAKPOINT_W == in test__checkevent_breakpoint_len_w()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/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()
|
| /linux-6.15/samples/hw_breakpoint/ |
| H A D | data_breakpoint.c | 52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
|
| /linux-6.15/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()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | hw_breakpoint.c | 364 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 425 case HW_BREAKPOINT_W: in arch_build_bp_info() 783 access = (esr & ESR_ELx_WNR) ? HW_BREAKPOINT_W : in watchpoint_handler()
|
| /linux-6.15/arch/arm/kernel/ |
| H A D | hw_breakpoint.c | 480 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 525 case HW_BREAKPOINT_W: in arch_build_bp_info() 763 HW_BREAKPOINT_W : HW_BREAKPOINT_R; in watchpoint_handler()
|
| /linux-6.15/arch/loongarch/kernel/ |
| H A D | hw_breakpoint.c | 326 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields() 371 case HW_BREAKPOINT_W: in arch_build_bp_info()
|
| H A D | kgdb.c | 529 breakinfo[i].type = HW_BREAKPOINT_W; in kgdb_set_hw_break() 692 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
| /linux-6.15/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()
|
| /linux-6.15/tools/perf/util/ |
| H A D | parse-events.c | 695 CHECK_SET_TYPE(HW_BREAKPOINT_W); in parse_breakpoint_type() 708 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
|
| H A D | evsel.c | 796 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()
|