Closed derickson2402 closed 2 years ago
I haven't been able to find anything online regarding this... I'm still not sure what's even causing the issue. I guess it's possible that perf
is not actually gaining --privileged
status? Need to verify this.
Marking this as wontfix and closing. I reopened #6 instead.
Somewhere between adding #6 and adding #2,
perf
was not tested very thoroughly. Perf is working (although has a now-resolved issue with privileges), but when redirecting file input to the program being recordedperf
just outputs gibberish. I think this has to do with the translation from my macOS host to the container, and maybeperf
doesn't handle it right since it is monitoring low-level kernel calls.Temporary workaround: specify
--privileged
forCAEN_ARGS
, and just launch a bash shell. When the file is redirected from inside the container, it will work correctly.May be related to #21 , where piping into/out-of the container is not always working right