/linux-master/kernel/debug/kdb/ |
H A D | kdb_bp.c | 42 if (bp->bp_type < 0 || bp->bp_type > 4) 45 return kdb_rwtypes[bp->bp_type]; 56 bp->bp_type = BP_ACCESS_WATCHPOINT; 58 bp->bp_type = BP_WRITE_WATCHPOINT; 60 bp->bp_type = BP_HARDWARE_BREAKPOINT; 97 if (!bp->bp_type) 102 bp->bp_type); 145 if (!bp->bp_type) 150 bp->bp_type); [all...] |
H A D | kdb_private.h | 157 unsigned int bp_type:4; /* Uses hardware register */ member in struct:_kdb_bp
|
/linux-master/kernel/events/ |
H A D | hw_breakpoint.c | 291 static inline enum bp_type_idx find_slot_idx(u64 bp_type) argument 293 if (bp_type & HW_BREAKPOINT_RW) 339 if (find_slot_idx(iter->attr.bp_type) != type) 572 static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type) argument 583 if (bp_type == HW_BREAKPOINT_EMPTY || 584 bp_type == HW_BREAKPOINT_INVALID) 587 type = find_slot_idx(bp_type); 601 int ret = __reserve_bp_slot(bp, bp->attr.bp_type); 607 static void __release_bp_slot(struct perf_event *bp, u64 bp_type) argument 612 type = find_slot_idx(bp_type); [all...] |
H A D | hw_breakpoint_test.c | 41 attr.bp_type = HW_BREAKPOINT_RW;
|
/linux-master/arch/xtensa/kernel/ |
H A D | ptrace.c | 371 if (bp->attr.bp_type & HW_BREAKPOINT_X) { 395 attr.bp_type = type; 435 if (bp->attr.bp_type & HW_BREAKPOINT_R) 437 if (bp->attr.bp_type & HW_BREAKPOINT_W) 456 int bp_type = 0; local 468 bp_type |= HW_BREAKPOINT_R; 470 bp_type |= HW_BREAKPOINT_W; 473 bp_type = HW_BREAKPOINT_X; 478 bp_type ? bp_type [all...] |
H A D | hw_breakpoint.c | 56 switch (attr->bp_type) {
|
/linux-master/samples/hw_breakpoint/ |
H A D | data_breakpoint.c | 52 attr.bp_type = HW_BREAKPOINT_W;
|
/linux-master/tools/perf/tests/ |
H A D | bp_account.c | 51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; 93 attr_mod.bp_type = HW_BREAKPOINT_X;
|
H A D | wp.c | 45 attr->bp_type = wp_type; 64 pr_debug("failed opening event %x\n", attr.bp_type);
|
H A D | bp_signal_overflow.c | 89 pe.bp_type = HW_BREAKPOINT_X;
|
H A D | bp_signal.c | 112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
|
H A D | attr.c | 136 WRITE_ASS(bp_type, PRIu32);
|
H A D | sigtrap.c | 44 .bp_type = HW_BREAKPOINT_RW,
|
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-noadv.c | 133 arch_bp_generic_fields(hw_brk.type, &attr.bp_type); 152 &attr.bp_type); 241 arch_bp_generic_fields(brk.type, &attr.bp_type);
|
/linux-master/include/linux/ |
H A D | hw_breakpoint.h | 49 return bp->attr.bp_type;
|
/linux-master/arch/powerpc/kernel/ |
H A D | hw_breakpoint.c | 197 if (attr->bp_type & HW_BREAKPOINT_R) 199 if (attr->bp_type & HW_BREAKPOINT_W)
|
/linux-master/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 199 switch (attr->bp_type) {
|
/linux-master/tools/testing/selftests/perf_events/ |
H A D | sigtrap_threads.c | 58 .bp_type = HW_BREAKPOINT_RW,
|
/linux-master/arch/x86/kernel/ |
H A D | ptrace.c | 514 int err, bp_len, bp_type; local 516 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); 519 attr->bp_type = bp_type;
|
H A D | kgdb.c | 214 bp->attr.bp_type = breakinfo[breakno].type; 652 attr.bp_type = HW_BREAKPOINT_W;
|
H A D | hw_breakpoint.c | 346 switch (attr->bp_type) {
|
/linux-master/tools/perf/bench/ |
H A D | breakpoint.c | 58 attr.bp_type = HW_BREAKPOINT_RW;
|
/linux-master/drivers/misc/ |
H A D | kgdbts.c | 231 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) argument 240 sprintf(scratch_buf, "%s,%lx,%i", bp_type, addr,
|
/linux-master/arch/arm/kernel/ |
H A D | ptrace.c | 424 attr.bp_type = type; 532 attr.bp_type = gen_type;
|
/linux-master/arch/loongarch/kernel/ |
H A D | kgdb.c | 650 bp->attr.bp_type = breakinfo[i].type; 691 attr.bp_type = HW_BREAKPOINT_W;
|