tools/bpf/bpf_dbg.c
135
static struct bpf_regs bpf_regs[BPF_MAXINSNS + 1];
tools/bpf/bpf_dbg.c
136
static struct bpf_regs bpf_curr;
tools/bpf/bpf_dbg.c
438
static void bpf_dump_curr(struct bpf_regs *r, struct sock_filter *f)
tools/bpf/bpf_dbg.c
577
memset(bpf_regs, 0, sizeof(bpf_regs));
tools/bpf/bpf_dbg.c
583
memcpy(&bpf_regs[bpf_regs_len++], &bpf_curr, sizeof(bpf_curr));
tools/bpf/bpf_dbg.c
594
memcpy(&bpf_curr, &bpf_regs[index], sizeof(bpf_curr));
tools/bpf/bpf_dbg.c
626
static void set_return(struct bpf_regs *r)
tools/bpf/bpf_dbg.c
632
static void bpf_single_step(struct bpf_regs *r, struct sock_filter *f,
tools/bpf/bpf_dbg.c
854
static bool bpf_handle_breakpoint(struct bpf_regs *r, struct sock_filter *f,