Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/debug/kdb/
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()
157 if (!bp->bp_type) { in _kdb_bp_install()
[all …]
Dkdb_private.h159 unsigned int bp_type:4; /* Uses hardware register */ member
/linux-4.4.14/kernel/events/
Dhw_breakpoint.c90 if (bp->attr.bp_type & HW_BREAKPOINT_RW) in find_slot_idx()
291 if (bp->attr.bp_type == HW_BREAKPOINT_EMPTY || in __reserve_bp_slot()
292 bp->attr.bp_type == HW_BREAKPOINT_INVALID) in __reserve_bp_slot()
437 int old_type = bp->attr.bp_type; in modify_user_hw_breakpoint()
452 bp->attr.bp_type = attr->bp_type; in modify_user_hw_breakpoint()
464 bp->attr.bp_type = old_type; in modify_user_hw_breakpoint()
/linux-4.4.14/tools/perf/tests/attr/
Dbase-stat36 bp_type=0
Dbase-record36 bp_type=0
/linux-4.4.14/arch/powerpc/kernel/
Dhw_breakpoint.c151 if (bp->attr.bp_type & HW_BREAKPOINT_R) in arch_validate_hwbkpt_settings()
153 if (bp->attr.bp_type & HW_BREAKPOINT_W) in arch_validate_hwbkpt_settings()
Dptrace.c990 arch_bp_generic_fields(hw_brk.type, &attr.bp_type); in ptrace_set_debugreg()
1008 &attr.bp_type); in ptrace_set_debugreg()
1453 arch_bp_generic_fields(brk.type, &attr.bp_type); in ppc_set_hwdebug()
/linux-4.4.14/samples/hw_breakpoint/
Ddata_breakpoint.c61 attr.bp_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in hw_break_module_init()
/linux-4.4.14/tools/perf/tests/
Dbp_signal_overflow.c83 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
Dbp_signal.c70 pe.bp_type = HW_BREAKPOINT_X; in bp_event()
Dattr.c119 WRITE_ASS(bp_type, PRIu32); in store_event()
Dparse-events.c127 evsel->attr.bp_type); in test__checkevent_breakpoint()
141 HW_BREAKPOINT_X == evsel->attr.bp_type); in test__checkevent_breakpoint_x()
155 HW_BREAKPOINT_R == evsel->attr.bp_type); in test__checkevent_breakpoint_r()
170 HW_BREAKPOINT_W == evsel->attr.bp_type); in test__checkevent_breakpoint_w()
185 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->attr.bp_type); in test__checkevent_breakpoint_rw()
1228 evsel->attr.bp_type); in test__checkevent_breakpoint_len()
1243 evsel->attr.bp_type); in test__checkevent_breakpoint_len_w()
/linux-4.4.14/include/linux/
Dhw_breakpoint.h38 return bp->attr.bp_type; in hw_breakpoint_type()
/linux-4.4.14/arch/x86/kernel/
Dptrace.c599 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local
601 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields()
604 attr->bp_type = bp_type; in ptrace_fill_bp_fields()
Dkgdb.c230 bp->attr.bp_type = breakinfo[breakno].type; in kgdb_correct_hw_break()
671 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
Dhw_breakpoint.c243 switch (bp->attr.bp_type) { in arch_build_bp_info()
/linux-4.4.14/arch/sh/kernel/
Dhw_breakpoint.c201 switch (bp->attr.bp_type) { in arch_build_bp_info()
Dptrace_32.c91 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
/linux-4.4.14/include/uapi/linux/
Dperf_event.h344 __u32 bp_type; member
/linux-4.4.14/tools/perf/util/
Dparse-events.c676 if (attr->bp_type & bit) \ in parse_breakpoint_type()
679 attr->bp_type |= bit; \ in parse_breakpoint_type()
699 if (!attr->bp_type) /* Default */ in parse_breakpoint_type()
700 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type()
718 if (attr.bp_type == HW_BREAKPOINT_X) in parse_events_add_breakpoint()
Devsel.c381 int r = __perf_evsel__bp_name(bf, size, attr->bp_addr, attr->bp_type); in perf_evsel__bp_name()
1272 PRINT_ATTRf(bp_type, p_unsigned); in perf_event_attr__fprintf()
Dpython.c625 &attr.wakeup_events, &attr.bp_type, in pyrf_evsel__init()
Dsession.c539 bswap_field_32(bp_type); in perf_event__attr_swap()
/linux-4.4.14/drivers/misc/
Dkgdbts.c230 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument
239 sprintf(scratch_buf, "%s,%lx,%i", bp_type, addr, in break_helper()
/linux-4.4.14/arch/arm/kernel/
Dptrace.c465 attr.bp_type = type; in ptrace_hbp_create()
573 attr.bp_type = gen_type; in ptrace_sethbpregs()
Dhw_breakpoint.c526 switch (bp->attr.bp_type) { in arch_build_bp_info()
/linux-4.4.14/arch/arm64/kernel/
Dptrace.c211 attr.bp_type = type; in ptrace_hbp_create()
253 attr->bp_type = type; in ptrace_hbp_fill_attr_ctrl()
Dhw_breakpoint.c397 switch (bp->attr.bp_type) { in arch_build_bp_info()