Searched refs:HW_BREAKPOINT_W (Results 1 – 18 of 18) sorted by relevance
| /Linux-v5.15/tools/include/uapi/linux/ |
| D | hw_breakpoint.h | 19 HW_BREAKPOINT_W = 2, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
| /Linux-v5.15/include/uapi/linux/ |
| D | hw_breakpoint.h | 19 HW_BREAKPOINT_W = 2, enumerator 20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
|
| /Linux-v5.15/tools/perf/tests/ |
| D | wp.c | 89 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in wp_wo_test() 108 fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1, in wp_rw_test() 129 fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1)); in wp_modify_test() 137 get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0], in wp_modify_test()
|
| D | bp_account.c | 38 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
| D | bp_signal.c | 112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
| D | parse-events.c | 160 TEST_ASSERT_VAL("wrong bp_type", (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == in test__checkevent_breakpoint() 204 HW_BREAKPOINT_W == evsel->core.attr.bp_type); in test__checkevent_breakpoint_w() 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() 1348 TEST_ASSERT_VAL("wrong bp_type", HW_BREAKPOINT_W == in test__checkevent_breakpoint_len_w()
|
| /Linux-v5.15/arch/sh/kernel/ |
| 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-v5.15/arch/x86/kernel/ |
| 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()
|
| D | kgdb.c | 652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
| /Linux-v5.15/tools/testing/selftests/powerpc/ptrace/ |
| D | perf-hwbreak.c | 231 if (readwriteflag & HW_BREAKPOINT_W) in runtestsingle() 454 fd1 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_diff_addr_ro_wo() 505 fd2 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_process_multi_same_addr_ro_wo() 639 ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_diff_addr_ro_wo() 686 ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a)); in test_syswide_multi_same_addr_ro_wo()
|
| /Linux-v5.15/samples/hw_breakpoint/ |
| D | data_breakpoint.c | 52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
|
| /Linux-v5.15/arch/arm64/kernel/ |
| 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()
|
| /Linux-v5.15/arch/arm/kernel/ |
| 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()
|
| /Linux-v5.15/arch/xtensa/kernel/ |
| D | ptrace.c | 439 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs() 472 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs()
|
| D | hw_breakpoint.c | 62 case HW_BREAKPOINT_W: in hw_breakpoint_arch_parse()
|
| /Linux-v5.15/arch/powerpc/kernel/ |
| D | hw_breakpoint.c | 383 *gen_bp_type |= HW_BREAKPOINT_W; in arch_bp_generic_fields() 451 if (attr->bp_type & HW_BREAKPOINT_W) in hw_breakpoint_arch_parse()
|
| /Linux-v5.15/tools/perf/util/ |
| D | parse-events.c | 975 CHECK_SET_TYPE(HW_BREAKPOINT_W); in parse_breakpoint_type() 988 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
|
| D | evsel.c | 607 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()
|