Re: [PATCH v5 bpf-next 09/10] bpf: wire up sleepable bpf_get_stack() and bpf_get_task_stack() helpers

Andi Kleen
2024-08-13T01:05:40Z

On Mon, Aug 12, 2024 at 05:29:31PM -0700, Andrii Nakryiko wrote:
> Add sleepable implementations of bpf_get_stack() and
> bpf_get_task_stack() helpers and allow them to be used from sleepable
> BPF program (e.g., sleepable uprobes).

Is missing the header actually a real problem you saw?

I presume the user tools do have a fallback to read the
build by themselves if it happens