Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

set bpf/syscall logging to debug #57

Merged
merged 1 commit into from Sep 9, 2022
Merged

Conversation

rc-vbundage
Copy link
Contributor

The syscall.rs of the bpf library is very spammy on info dumping logs during retries when the system kernel does not support eBPF. The output logged isn't useful for troubleshooting outside a debug context.

Example:

sys_bpf(); cmd: 5; errno: 22; arg_bpf_attr: SizedBpfAttr { bpf_attr: BpfAttr: [2, 0, 0, 0, 2, 0, 0, 0, 64, 44, 106, 1, 0, 0, 0, 0, 160, 223, 115, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 208, 4, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], size: 48 }

@rc-vbundage rc-vbundage merged commit 4f2ae2d into main Sep 9, 2022
@rc-vbundage rc-vbundage deleted the more-info-to-debug-logging branch September 9, 2022 21:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants