diff options
author | Alexei Starovoitov <[email protected]> | 2024-08-06 08:38:17 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-08-06 09:01:42 -0700 |
commit | 6e083ab095cabc5fdb5c980420fe43af7753b2dd (patch) | |
tree | 64abe593d79ffc6b01fdb2a4ff40fb5d3cb33a54 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 3d650ab5e7d9c4d7306e4c116f8aa9980bf13295 (diff) | |
parent | 2b399b9b1f995d71f53e94a41e5717db46c39459 (diff) |
Merge branch 'bpf-introduce-new-vfs-based-bpf-kfuncs'
Matt Bobrowski says:
====================
bpf: introduce new VFS based BPF kfuncs
G'day!
A respin based off v3, which can be found here [0]. Original
motivations for introducing this suite of BPF kfuncs can be found here
[1].
The primary difference in this version of the patch series is that the
suite of VFS related BPF kfuncs added can be used from both sleepable
and non-sleepable BPF LSM program types. IOW, the KF_SLEEPABLE
annotation has been removed from all of them.
Changes sinve v3:
* KF_SLEEPABLE annotation has been dropped from all newly introduced
VFS related BPF kfuncs. This includes bpf_get_task_exe_file(),
bpf_put_file(), and bpf_path_d_path(). Both negative and positive
selftests backing these new BPF kfuncs have also been updated
accordingly.
* buf__sz conditional in bpf_path_d_path() has been updated from
buf__sz <= 0, to !buf__sz.
* Syntax issues as reported so here [2] have been corrected.
[0] https://lore.kernel.org/bpf/[email protected]/
[1] https://lore.kernel.org/bpf/[email protected]/#t
[2] https://netdev.bots.linux.dev/static/nipa/874023/13742510/checkpatch/stdout
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions