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
When a page is not physically in memory and we try to read it with bpf_probe_read_user, we get EFAULT
We can try doing couple of things:
If we hit an issue - try to continue unwinding and reading symbols, replace failed frame with some sort of "Failed" string
Notify userspace about unavailable memory region, and userspace can try to read from the region by using /proc/pid/mem. This works OK during tests under no swap pressure, not sure how it will work under pressure, need tests.
This should only be enabled for dev/debug environments, we should not mess with page swapping in prod.
When a page is not physically in memory and we try to read it with
bpf_probe_read_user
, we get EFAULTWe can try doing couple of things:
/proc/pid/mem
. This works OK during tests under no swap pressure, not sure how it will work under pressure, need tests.This should only be enabled for dev/debug environments, we should not mess with page swapping in prod.
A python test to force a page to swap
The text was updated successfully, but these errors were encountered: