aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Vernet <[email protected]>2023-04-10 23:16:31 -0500
committerAlexei Starovoitov <[email protected]>2023-04-12 12:57:54 -0700
commit1d71283987c729dceccce834a864c27301ba155e (patch)
treec0c136a59b58c940a30c09783288b1cedb35624e /tools/perf/scripts/python
parent10fd5f70c397782a97f411f25bfb312ea92b55bc (diff)
bpf: Make bpf_cgroup_acquire() KF_RCU | KF_RET_NULL
struct cgroup is already an RCU-safe type in the verifier. We can therefore update bpf_cgroup_acquire() to be KF_RCU | KF_RET_NULL, and subsequently remove bpf_cgroup_kptr_get(). This patch does the first of these by updating bpf_cgroup_acquire() to be KF_RCU | KF_RET_NULL, and also updates selftests accordingly. Signed-off-by: David Vernet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions