Lines Matching refs:ctx
23 static void update(void *ctx, __u64 *res)
28 *res |= bpf_get_attach_cookie(ctx);
32 int handle_kprobe(struct pt_regs *ctx)
34 update(ctx, &kprobe_res);
39 int handle_kretprobe(struct pt_regs *ctx)
41 update(ctx, &kretprobe_res);
46 int handle_uprobe(struct pt_regs *ctx)
48 update(ctx, &uprobe_res);
53 int handle_uretprobe(struct pt_regs *ctx)
55 update(ctx, &uretprobe_res);
65 int handle_tp1(struct pt_regs *ctx)
67 update(ctx, &tp_res);
71 int handle_tp2(struct pt_regs *ctx)
73 update(ctx, &tp_res);
77 int handle_tp3(void *ctx)
79 update(ctx, &tp_res);
84 int handle_pe(struct pt_regs *ctx)
86 update(ctx, &pe_res);
93 update(ctx, &fentry_res);
100 update(ctx, &fexit_res);
107 update(ctx, &fmod_ret_res);
117 update(ctx, &lsm_res);