Skip to content

PerfKvmCounter::attach recieved error EACCESS #1

@fabian-thomas

Description

@fabian-thomas
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions