diff options
author | Alexei Starovoitov <ast@kernel.org> | 2024-03-20 09:05:34 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-03-20 09:05:34 +0300 |
commit | 2e244a72cd489e9b8d4c779c0674c80cf92b6aab (patch) | |
tree | 53411f9aa32fbcae919dc97e705a7598893d5156 /Documentation/hwmon/max6620.rst | |
parent | f803bcf9208a2540acb4c32bdc3616673169f490 (diff) | |
parent | 51146ff0fae309a558bc8ab6cbf6cfda17356993 (diff) | |
download | linux-2e244a72cd489e9b8d4c779c0674c80cf92b6aab.tar.xz |
Merge branch 'bpf-raw-tracepoint-support-for-bpf-cookie'
Andrii Nakryiko says:
====================
BPF raw tracepoint support for BPF cookie
Add ability to specify and retrieve BPF cookie for raw tracepoint programs.
Both BTF-aware (SEC("tp_btf")) and non-BTF-aware (SEC("raw_tp")) are
supported, as they are exactly the same at runtime.
This issue recently came up in production use cases, where custom tried to
switch from slower classic tracepoints to raw tracepoints and ran into this
limitation. Luckily, it's not that hard to support this for raw_tp programs.
v2->v3:
- s/bpf_raw_tp_open/bpf_raw_tracepoint_open_opts/ (Alexei, Eduard);
v1->v2:
- fixed type definition for stubs of bpf_probe_{register,unregister};
- added __u32 :u32 and aligned raw_tp fields (Jiri);
- added Stanislav's ack.
====================
Link: https://lore.kernel.org/r/20240319233852.1977493-1-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Documentation/hwmon/max6620.rst')
0 files changed, 0 insertions, 0 deletions