Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PerfKvmCounter::attach recieved error EACCESS #1

Closed
fabian-thomas opened this issue Jun 14, 2023 · 0 comments
Closed

PerfKvmCounter::attach recieved error EACCESS #1

fabian-thomas opened this issue Jun 14, 2023 · 0 comments

Comments

@fabian-thomas
Copy link
Collaborator

fabian-thomas commented Jun 14, 2023

This error may be caused by a too restrictive setting
  in the file '/proc/sys/kernel/perf_event_paranoid'
  The default value was changed to 2 in kernel 4.6
  A value greater than 1 prevents gem5 from making
  the syscall to perf_event_open

This can be fixed by running one of the following commands:

sudo sysctl -w kernel.perf_event_paranoid=1
make fix_perf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant