Home
last modified time | relevance | path

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

/linux/tools/perf/tests/
H A Dwp.c109 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 Dbp_account.c52 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
H A Dbp_signal.c113 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
/linux/include/uapi/linux/
H A Dhw_breakpoint.h19 HW_BREAKPOINT_W = 2, enumerator
20 HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
/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,
/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()
/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()
/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()
/linux/samples/hw_breakpoint/
H A Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
/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()
/linux/arch/arm64/kernel/
H A Dhw_breakpoint.c364 *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/arch/arm/kernel/
H A Dhw_breakpoint.c480 *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/arch/loongarch/kernel/
H A Dhw_breakpoint.c326 *gen_type = HW_BREAKPOINT_W; in arch_bp_generic_fields()
371 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()
/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()
/linux/tools/perf/util/
H A Devsel.c772 if (type & HW_BREAKPOINT_W) in __evsel__bp_name()