I am trying to run perf record in a virtme-ng vm with --rw as a passed in option so that I can save the perf.data file onto the host file system however it fails with:
failed to write perf data, error: Bad address
failed to write perf data, error: Invalid argument
I've tried many different paths and all return this error.