Home
last modified time | relevance | path

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

/Linux-v5.15/tools/include/uapi/linux/
Dhw_breakpoint.h19 HW_BREAKPOINT_W = 2, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/Linux-v5.15/include/uapi/linux/
Dhw_breakpoint.h19 HW_BREAKPOINT_W = 2, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/Linux-v5.15/tools/perf/tests/
Dwp.c89 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()
Dbp_account.c38 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
Dbp_signal.c112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
Dparse-events.c160 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/
Dhw_breakpoint.c162 *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/
Dhw_breakpoint.c213 *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()
Dkgdb.c652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
/Linux-v5.15/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c231 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/
Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
/Linux-v5.15/arch/arm64/kernel/
Dhw_breakpoint.c363 *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/
Dhw_breakpoint.c479 *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/
Dptrace.c439 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs()
472 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs()
Dhw_breakpoint.c62 case HW_BREAKPOINT_W: in hw_breakpoint_arch_parse()
/Linux-v5.15/arch/powerpc/kernel/
Dhw_breakpoint.c383 *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/
Dparse-events.c975 CHECK_SET_TYPE(HW_BREAKPOINT_W); in parse_breakpoint_type()
988 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
Devsel.c607 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()