diff options
author | Hou Tao <houtao1@huawei.com> | 2022-09-21 10:00:34 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2022-09-23 02:41:27 +0300 |
commit | f5eb23b91c41a7ffc7ca7fe14f3c512360f02937 (patch) | |
tree | 677bbc203300071dd695026cf5e2a14fef4335e7 /tools/perf/scripts/python | |
parent | b780d1671cf933caa3f67160f73261f10750f1a9 (diff) | |
download | linux-f5eb23b91c41a7ffc7ca7fe14f3c512360f02937.tar.xz |
selftests/bpf: Destroy the skeleton when CONFIG_PREEMPT is off
Destroy the created skeleton when CONFIG_PREEMPT is off, else will be
resource leak.
Fixes: 73b97bc78b32 ("selftests/bpf: Test concurrent updates on bpf_task_storage_busy")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20220921070035.2016413-2-houtao@huaweicloud.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions