From 517762deca22624e9d27594e6868d0f7f8859cfa Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Mon, 30 Aug 2021 12:43:56 -0700 Subject: [PATCH] sync: auto-generate latest BPF helpers Latest changes to BPF helper definitions. --- src/bpf_helper_defs.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h index 3e44468..00929fa 100644 --- a/src/bpf_helper_defs.h +++ b/src/bpf_helper_defs.h @@ -4033,4 +4033,14 @@ static __u64 (*bpf_get_func_ip)(void *ctx) = (void *) 173; */ static __u64 (*bpf_get_attach_cookie)(void *ctx) = (void *) 174; +/* + * bpf_task_pt_regs + * + * Get the struct pt_regs associated with **task**. + * + * Returns + * A pointer to struct pt_regs. + */ +static long (*bpf_task_pt_regs)(struct task_struct *task) = (void *) 175; +