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

run without root permission #66

Closed
wants to merge 3 commits into from
Closed

run without root permission #66

wants to merge 3 commits into from

Conversation

harp-intel
Copy link
Contributor

@harp-intel harp-intel commented Apr 16, 2024

This is an experimental PR that allows running perf-collect as a regular, non-root, user.

The caveat is that a 'root' user must pre-configure the system before running perf-collect. There are three configuration items:

  • sysctl -w kernel.perf_event_paranoid=0
  • sysctl -w kernel.nmi_watchdog=0
  • write '125' to all perf_event_mux_interval_ms files found under /sys/devices/*.
    for i in $(find /sys/devices -name perf_event_mux_interval_ms); do echo 125 > $i done

@harp-intel
Copy link
Contributor Author

changes merged into master and release 1.4.0

@harp-intel harp-intel closed this Jun 26, 2024
@harp-intel harp-intel deleted the notroot branch August 28, 2024 20:08
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

Successfully merging this pull request may close these issues.

1 participant