aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRoman Gushchin <[email protected]>2018-08-02 14:27:20 -0700
committerDaniel Borkmann <[email protected]>2018-08-03 00:47:32 +0200
commitd7bf2c10af053191e931b58704cd862fccb7f9de (patch)
tree825c4684143951754d5490aec16495733e0c6a48 /tools/perf/scripts/python/export-to-sqlite.py
parentaa0ad5b0391e268bdecf6cda31268388844f8afd (diff)
bpf: allocate cgroup storage entries on attaching bpf programs
If a bpf program is using cgroup local storage, allocate a bpf_cgroup_storage structure automatically on attaching the program to a cgroup and save the pointer into the corresponding bpf_prog_list entry. Analogically, release the cgroup local storage on detaching of the bpf program. Signed-off-by: Roman Gushchin <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Daniel Borkmann <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions