/linux-4.1.27/kernel/debug/kdb/ |
D | kdb_bp.c | 42 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 …]
|
D | kdb_private.h | 159 unsigned int bp_type:4; /* Uses hardware register */ member
|
/linux-4.1.27/kernel/events/ |
D | hw_breakpoint.c | 90 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.1.27/tools/perf/tests/attr/ |
D | base-stat | 36 bp_type=0
|
D | base-record | 36 bp_type=0
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 151 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()
|
D | ptrace.c | 990 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.1.27/samples/hw_breakpoint/ |
D | data_breakpoint.c | 61 attr.bp_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R; in hw_break_module_init()
|
/linux-4.1.27/tools/perf/tests/ |
D | bp_signal_overflow.c | 83 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
|
D | bp_signal.c | 70 pe.bp_type = HW_BREAKPOINT_X; in bp_event()
|
D | attr.c | 119 WRITE_ASS(bp_type, PRIu32); in store_event()
|
D | parse-events.c | 123 evsel->attr.bp_type); in test__checkevent_breakpoint() 137 HW_BREAKPOINT_X == evsel->attr.bp_type); in test__checkevent_breakpoint_x() 151 HW_BREAKPOINT_R == evsel->attr.bp_type); in test__checkevent_breakpoint_r() 166 HW_BREAKPOINT_W == evsel->attr.bp_type); in test__checkevent_breakpoint_w() 181 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->attr.bp_type); in test__checkevent_breakpoint_rw() 1187 evsel->attr.bp_type); in test__checkevent_breakpoint_len() 1202 evsel->attr.bp_type); in test__checkevent_breakpoint_len_w()
|
/linux-4.1.27/include/linux/ |
D | hw_breakpoint.h | 38 return bp->attr.bp_type; in hw_breakpoint_type()
|
/linux-4.1.27/tools/perf/util/ |
D | parse-events.c | 485 if (attr->bp_type & bit) \ in parse_breakpoint_type() 488 attr->bp_type |= bit; \ in parse_breakpoint_type() 508 if (!attr->bp_type) /* Default */ in parse_breakpoint_type() 509 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type() 527 if (attr.bp_type == HW_BREAKPOINT_X) in parse_events_add_breakpoint()
|
D | session.c | 446 attr->bp_type = bswap_32(attr->bp_type); in perf_event__attr_swap()
|
D | evsel.c | 366 int r = __perf_evsel__bp_name(bf, size, attr->bp_addr, attr->bp_type); in perf_evsel__bp_name() 1117 PRINT_ATTRf(bp_type, p_unsigned); in perf_event_attr__fprintf()
|
D | python.c | 577 &attr.wakeup_events, &attr.bp_type, in pyrf_evsel__init()
|
/linux-4.1.27/arch/x86/kernel/ |
D | ptrace.c | 601 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local 603 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields() 606 attr->bp_type = bp_type; in ptrace_fill_bp_fields()
|
D | kgdb.c | 230 bp->attr.bp_type = breakinfo[breakno].type; in kgdb_correct_hw_break() 666 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
D | hw_breakpoint.c | 238 switch (bp->attr.bp_type) { in arch_build_bp_info()
|
/linux-4.1.27/arch/sh/kernel/ |
D | hw_breakpoint.c | 201 switch (bp->attr.bp_type) { in arch_build_bp_info()
|
D | ptrace_32.c | 91 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
|
/linux-4.1.27/include/uapi/linux/ |
D | perf_event.h | 338 __u32 bp_type; member
|
/linux-4.1.27/drivers/misc/ |
D | kgdbts.c | 230 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.1.27/arch/arm/kernel/ |
D | ptrace.c | 465 attr.bp_type = type; in ptrace_hbp_create() 573 attr.bp_type = gen_type; in ptrace_sethbpregs()
|
D | hw_breakpoint.c | 527 switch (bp->attr.bp_type) { in arch_build_bp_info()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | ptrace.c | 211 attr.bp_type = type; in ptrace_hbp_create() 253 attr->bp_type = type; in ptrace_hbp_fill_attr_ctrl()
|
D | hw_breakpoint.c | 395 switch (bp->attr.bp_type) { in arch_build_bp_info()
|