toru/h2olog

Use a constant length to read from BPF

Closed this issue · 1 comments

toru commented

Sadly the current use of bpf_probe_read() will not pass the BPF verifier on certain kernel versions. Related issue: iovisor/bcc#1260

Use MAX_STR_LEN or sizeof(header_foo) for the time being.

toru commented

This was handled a while ago in the Python version.