Home
last modified time | relevance | path

Searched refs:bp_type (Results 1 – 25 of 38) sorted by relevance

12

/linux/kernel/events/
A Dhw_breakpoint.c78 if (bp_type & HW_BREAKPOINT_RW) in find_slot_idx()
289 if (bp_type == HW_BREAKPOINT_EMPTY || in __reserve_bp_slot()
290 bp_type == HW_BREAKPOINT_INVALID) in __reserve_bp_slot()
293 type = find_slot_idx(bp_type); in __reserve_bp_slot()
322 ret = __reserve_bp_slot(bp, bp->attr.bp_type); in reserve_bp_slot()
336 type = find_slot_idx(bp_type); in __release_bp_slot()
346 __release_bp_slot(bp, bp->attr.bp_type); in release_bp_slot()
401 __release_bp_slot(bp, bp->attr.bp_type); in dbg_release_bp_slot()
472 to->bp_type = from->bp_type; in hw_breakpoint_copy_attr()
497 if (bp->attr.bp_type != attr->bp_type) { in modify_user_hw_breakpoint_check()
[all …]
/linux/kernel/debug/kdb/
A Dkdb_bp.c42 if (bp->bp_type < 0 || bp->bp_type > 4) in kdb_bptype()
45 return kdb_rwtypes[bp->bp_type]; in kdb_bptype()
56 bp->bp_type = BP_ACCESS_WATCHPOINT; in kdb_parsebp()
58 bp->bp_type = BP_WRITE_WATCHPOINT; in kdb_parsebp()
60 bp->bp_type = BP_HARDWARE_BREAKPOINT; in kdb_parsebp()
97 if (!bp->bp_type) in _kdb_bp_remove()
102 bp->bp_type); in _kdb_bp_remove()
145 if (!bp->bp_type) in _kdb_bp_install()
150 bp->bp_type); in _kdb_bp_install()
156 if (!bp->bp_type) { in _kdb_bp_install()
[all …]
A Dkdb_private.h157 unsigned int bp_type:4; /* Uses hardware register */ member
/linux/arch/xtensa/kernel/
A Dptrace.c373 if (bp->attr.bp_type & HW_BREAKPOINT_X) { in ptrace_hbptriggered()
397 attr.bp_type = type; in ptrace_hbp_create()
437 if (bp->attr.bp_type & HW_BREAKPOINT_R) in ptrace_gethbpregs()
439 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs()
458 int bp_type = 0; in ptrace_sethbpregs() local
470 bp_type |= HW_BREAKPOINT_R; in ptrace_sethbpregs()
472 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs()
475 bp_type = HW_BREAKPOINT_X; in ptrace_sethbpregs()
480 bp_type ? bp_type : HW_BREAKPOINT_RW); in ptrace_sethbpregs()
492 attr.bp_type = bp_type; in ptrace_sethbpregs()
A Dhw_breakpoint.c55 switch (attr->bp_type) { in hw_breakpoint_arch_parse()
/linux/arch/powerpc/kernel/ptrace/
A Dptrace-noadv.c133 arch_bp_generic_fields(hw_brk.type, &attr.bp_type); in ptrace_set_debugreg()
152 &attr.bp_type); in ptrace_set_debugreg()
241 arch_bp_generic_fields(brk.type, &attr.bp_type); in ppc_set_hwdebug()
/linux/tools/perf/tests/
A Dbp_account.c51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
93 attr_mod.bp_type = HW_BREAKPOINT_X; in bp_accounting()
A Dwp.c43 attr->bp_type = wp_type; in get__perf_event_attr()
61 pr_debug("failed opening event %x\n", attr.bp_type); in __event()
A Dbp_signal_overflow.c89 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
A Dbp_signal.c112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
A Dattr.c136 WRITE_ASS(bp_type, PRIu32); in store_event()
/linux/tools/perf/tests/attr/
A Dbase-record36 bp_type=0
A Dbase-stat36 bp_type=0
A Dsystem-wide-dummy45 bp_type=0
/linux/samples/hw_breakpoint/
A Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
/linux/include/linux/
A Dhw_breakpoint.h39 return bp->attr.bp_type; in hw_breakpoint_type()
/linux/arch/x86/kernel/
A Dptrace.c495 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local
497 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields()
500 attr->bp_type = bp_type; in ptrace_fill_bp_fields()
A Dkgdb.c214 bp->attr.bp_type = breakinfo[breakno].type; in kgdb_correct_hw_break()
652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dptrace-perf-hwbreak.c59 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set()
71 attr->bp_type = HW_BREAKPOINT_R; in perf_kernel_event_attr_set()
/linux/arch/sh/kernel/
A Dhw_breakpoint.c199 switch (attr->bp_type) { in arch_build_bp_info()
/linux/tools/testing/selftests/perf_events/
A Dsigtrap_threads.c57 .bp_type = HW_BREAKPOINT_RW, in make_event_attr()
/linux/arch/powerpc/kernel/
A Dhw_breakpoint.c449 if (attr->bp_type & HW_BREAKPOINT_R) in hw_breakpoint_arch_parse()
451 if (attr->bp_type & HW_BREAKPOINT_W) in hw_breakpoint_arch_parse()
/linux/drivers/misc/
A Dkgdbts.c231 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument
240 sprintf(scratch_buf, "%s,%lx,%i", bp_type, addr, in break_helper()
/linux/arch/arm/kernel/
A Dptrace.c425 attr.bp_type = type; in ptrace_hbp_create()
533 attr.bp_type = gen_type; in ptrace_sethbpregs()
/linux/tools/perf/util/
A Dperf_event_attr_fprintf.c145 PRINT_ATTRf(bp_type, p_unsigned); in perf_event_attr__fprintf()

Completed in 5017 milliseconds

12