Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add veristat.cfg for meta BPF objs #252

Merged

Conversation

davemarchevsky
Copy link
Contributor

This PR adds a veristat_meta.cfg to this repository, meant to be used with the tarball of meta bpf objs.

run_selftests.sh is modified to use veristat.cfg files via veristat's -f flag. See individual commit summaries for more detail.

The config in this patch denylists three BPF objects which we know won't
work with veristat for various reasons.

Nothing uses the config as of this patch - further patches will use it.

Signed-off-by: Dave Marchevsky <[email protected]>
This patch adds a VERISTAT_CFG_FILE var to
run_veristat.{meta,kernel}.cfg which points to appropariate config file.
run_selftests.sh uses this with veristat's -f flag to read the config.

For meta bpf objs, this change results in the three bpf objects added in
the previous patch being ignored.

For kernel bpf objs, this patch should not have a functional effect.
Previously, VERISTAT_OBJECTS_GLOB for kernel bpf objs was using awk to
essentially do "look at allowlisted BPF objs in this veristat.cfg,
ignore comments". Using a broad glob and feeding the veristat.cfg
to veristat itself has the same effect.

Signed-off-by: Dave Marchevsky <[email protected]>
@anakryiko
Copy link
Contributor

Great, thank you!

@anakryiko anakryiko merged commit 09d657e into kernel-patches:master Nov 13, 2023
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants