Closed OlivierNicole closed 1 year ago
On my system, unless using sudo the perf_event_open syscall fails with “Permission denied”. A quick search suggests this might be due to the exclude_kernel = 0 and exclude_hv = 0 attributes in the C stub.
sudo
perf_event_open
exclude_kernel = 0
exclude_hv = 0
We should probably update the documentation and explain the environment for using some of the features offered by `perf' indeed.
Fixed by #39 which explains required privileges when we use Bechamel_perf.
Bechamel_perf
On my system, unless using
sudo
theperf_event_open
syscall fails with “Permission denied”. A quick search suggests this might be due to theexclude_kernel = 0
andexclude_hv = 0
attributes in the C stub.