Searched refs:bp_type (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/kernel/debug/kdb/
H A Dkdb_bp.c42 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 Dkdb_private.h157 unsigned int bp_type:4; /* Uses hardware register */ member in struct:_kdb_bp
/linux-master/kernel/events/
H A Dhw_breakpoint.c291 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 Dhw_breakpoint_test.c41 attr.bp_type = HW_BREAKPOINT_RW;
/linux-master/arch/xtensa/kernel/
H A Dptrace.c371 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 Dhw_breakpoint.c56 switch (attr->bp_type) {
/linux-master/samples/hw_breakpoint/
H A Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W;
/linux-master/tools/perf/tests/
H A Dbp_account.c51 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
93 attr_mod.bp_type = HW_BREAKPOINT_X;
H A Dwp.c45 attr->bp_type = wp_type;
64 pr_debug("failed opening event %x\n", attr.bp_type);
H A Dbp_signal_overflow.c89 pe.bp_type = HW_BREAKPOINT_X;
H A Dbp_signal.c112 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
H A Dattr.c136 WRITE_ASS(bp_type, PRIu32);
H A Dsigtrap.c44 .bp_type = HW_BREAKPOINT_RW,
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c133 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 Dhw_breakpoint.h49 return bp->attr.bp_type;
/linux-master/arch/powerpc/kernel/
H A Dhw_breakpoint.c197 if (attr->bp_type & HW_BREAKPOINT_R)
199 if (attr->bp_type & HW_BREAKPOINT_W)
/linux-master/arch/sh/kernel/
H A Dhw_breakpoint.c199 switch (attr->bp_type) {
/linux-master/tools/testing/selftests/perf_events/
H A Dsigtrap_threads.c58 .bp_type = HW_BREAKPOINT_RW,
/linux-master/arch/x86/kernel/
H A Dptrace.c514 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 Dkgdb.c214 bp->attr.bp_type = breakinfo[breakno].type;
652 attr.bp_type = HW_BREAKPOINT_W;
H A Dhw_breakpoint.c346 switch (attr->bp_type) {
/linux-master/tools/perf/bench/
H A Dbreakpoint.c58 attr.bp_type = HW_BREAKPOINT_RW;
/linux-master/drivers/misc/
H A Dkgdbts.c231 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 Dptrace.c424 attr.bp_type = type;
532 attr.bp_type = gen_type;
/linux-master/arch/loongarch/kernel/
H A Dkgdb.c650 bp->attr.bp_type = breakinfo[i].type;
691 attr.bp_type = HW_BREAKPOINT_W;

Completed in 236 milliseconds

12