diff options
author | Jason Xing <kerneljasonxing@gmail.com> | 2025-02-04 13:11:54 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-02-06 21:18:04 -0800 |
commit | 003be25ab99cf9d1f57952737d1ea05e866fda43 (patch) | |
tree | 41f9fec78a8c0c7d1218956593d34a8451723512 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0abff462d802a352c87b7f5e71b442b09bf9cfff (diff) |
selftests/bpf: Correct the check of join cgroup
Use ASSERT_OK_FD to check the return value of join cgroup,
or else this test will pass even if the fd < 0. ASSERT_OK_FD
can print the error message to the console.
Suggested-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Jason Xing <kerneljasonxing@gmail.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/all/6d62bd77-6733-40c7-b240-a1aeff55566c@linux.dev/
Link: https://patch.msgid.link/20250204051154.57655-1-kerneljasonxing@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions