third_party_libbpf/include/uapi/linux
Jiri Olsa 97e2a9c9a1 bpf: Add bpf_get_func_ip helper for tracing programs
Adding bpf_get_func_ip helper for BPF_PROG_TYPE_TRACING programs,
specifically for all trampoline attach types.

The trampoline's caller IP address is stored in (ctx - 8) address.
so there's no reason to actually call the helper, but rather fixup
the call instruction and return [ctx - 8] value directly.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210714094400.396467-4-jolsa@kernel.org
2021-07-16 17:05:44 -07:00
..
bpf_common.h mirror uapi/linux/bpf_common.h file (#2) 2018-10-12 12:57:55 -07:00
bpf.h bpf: Add bpf_get_func_ip helper for tracing programs 2021-07-16 17:05:44 -07:00
btf.h bpf: Add BTF_KIND_FLOAT to uapi 2021-03-05 14:15:26 -08:00
if_link.h Revert "GTP: add support for flow based tunneling API" 2021-03-03 08:35:13 -08:00
if_xdp.h xsk: Add new statistics 2020-07-28 14:03:17 -07:00
netlink.h sync with latest bpf-next (#6) 2019-01-03 12:44:33 -08:00
pkt_cls.h include: initial sync of pkt_cls.h and pkt_sched.h 2021-07-16 14:22:07 -07:00
pkt_sched.h include: initial sync of pkt_cls.h and pkt_sched.h 2021-07-16 14:22:07 -07:00