diff options
author | Pu Lehui <pulehui@huawei.com> | 2022-09-21 13:46:04 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2022-09-21 20:57:13 +0300 |
commit | d2aa993b7d9de6deeb1df6c9a6b9b6193c337cc6 (patch) | |
tree | e8574ca67a8330dd337d3144d940f6b868e593b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bdcee1b0b0834d031c76a12209840afe949b048a (diff) | |
download | linux-d2aa993b7d9de6deeb1df6c9a6b9b6193c337cc6.tar.xz |
selftests/bpf: Adapt cgroup effective query uapi change
The attach flags is meaningless for effective query and
its value will always be set as 0 during effective query.
Root cg's effective progs is always its attached progs,
so we use non-effective query to get its progs count and
attach flags. And we don't need the remain attach flags
check.
Fixes: b79c9fc9551b ("bpf: implement BPF_PROG_QUERY for BPF_LSM_CGROUP")
Signed-off-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/r/20220921104604.2340580-4-pulehui@huaweicloud.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions