aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorDaniel Xu <[email protected]>2024-06-12 09:58:30 -0600
committerAlexei Starovoitov <[email protected]>2024-06-12 11:01:31 -0700
commit2b8dd87332cd2782b5b3f0c423bd6693e487ed30 (patch)
tree0a2fba86be896a371f7e8f39098b7eed0f695b60 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parentac42f636dc11b2e8d6dea9dd5bb10a39c7bec342 (diff)
bpf: Make bpf_session_cookie() kfunc return long *
We will soon be generating kfunc prototypes from BTF. As part of that, we need to align the manual signatures in bpf_kfuncs.h with the actual kfunc definitions. There is currently a conflicting signature for bpf_session_cookie() w.r.t. return type. The original intent was to return long * and not __u64 *. You can see evidence of that intent in a3a5113393cc ("selftests/bpf: Add kprobe session cookie test"). Fix conflict by changing kfunc definition. Fixes: 5c919acef851 ("bpf: Add support for kprobe session cookie") Signed-off-by: Daniel Xu <[email protected]> Link: https://lore.kernel.org/r/7043e1c251ab33151d6e3830f8ea1902ed2604ac.1718207789.git.dxu@dxuuu.xyz Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions