Skip to content

Commit

Permalink
also allow users in tracing group rw access to uprobe events
Browse files Browse the repository at this point in the history
  • Loading branch information
milianw committed Aug 15, 2016
1 parent d0874a1 commit b589e90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions perf-init
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ sudo mount -o remount,mode=755 /sys/kernel/debug
sudo mount -o remount,mode=755 /sys/kernel/debug/tracing
echo "0" | sudo tee /proc/sys/kernel/kptr_restrict
echo "-1" | sudo tee /proc/sys/kernel/perf_event_paranoid
sudo chown root:tracing /sys/kernel/debug/tracing/uprobe_events
sudo chmod g+rw /sys/kernel/debug/tracing/uprobe_events

0 comments on commit b589e90

Please sign in to comment.