You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The size of super_block is likely way too big (1216 bytes) to be stored on the stack, causing the llvm codegen to give up. You will unfortunately probably have to bpf_probe_read step by step until #188 is fixed.
Thanks for the code and explanation; that actually helps me understand the role of bpf_probe_read() much better -- it's to put things on the BPF stack (and satisfy the "expected=fp" messages)... Although maybe I don't need to learn it in the long term, if #188 is fixed.
Is there a way for bpf_probe_read() to check sizeof and the stack and print a better error for this?
Same program as #209, still trying to exclude non-storage-device I/O. Attaching this to vfs_read():
... was hoping something out of the super_block could identify if this was a storage-backed FS or not.
The text was updated successfully, but these errors were encountered: