Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/uapi/linux/
H A Dhw_breakpoint.h19 HW_BREAKPOINT_W = 2, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/openbmc/linux/include/uapi/linux/
H A Dhw_breakpoint.h19 HW_BREAKPOINT_W = 2, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/openbmc/linux/tools/perf/tests/
H A Dwp.c104 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 Dbp_account.c51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
H A Dbp_signal.c112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
H A Dparse-events.c229 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 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()
/openbmc/linux/arch/x86/kernel/
H A 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()
H A Dkgdb.c652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
/openbmc/linux/samples/hw_breakpoint/
H A Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c277 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 Dhw_breakpoint.c131 *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 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()
/openbmc/linux/arch/arm/kernel/
H A 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()
/openbmc/linux/arch/loongarch/kernel/
H A Dhw_breakpoint.c314 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields()
359 case HW_BREAKPOINT_W: in arch_build_bp_info()
H A Dkgdb.c528 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 Dptrace.c437 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs()
470 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs()
H A Dhw_breakpoint.c63 case HW_BREAKPOINT_W: in hw_breakpoint_arch_parse()
/openbmc/linux/tools/perf/util/
H A Dparse-events.c662 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 Devsel.c623 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()