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

Rename "mount.sh" script to "setup.sh" #3

Open
Abhijit-Mane opened this issue Oct 5, 2018 · 0 comments
Open

Rename "mount.sh" script to "setup.sh" #3

Abhijit-Mane opened this issue Oct 5, 2018 · 0 comments

Comments

@Abhijit-Mane
Copy link
Member

Abhijit-Mane commented Oct 5, 2018

In this script, we do 2 things: -

  1. For running splat as non-root, some commands need to be run one time as root
    Enable read/write access to /sys/kernel/debug/tracing

    /usr/bin/sudo mount -o remount,mode=755 /sys/kernel/debug

  2. Enable any user to collect system-wide events: -

    /usr/bin/sudo sysctl kernel.perf_event_paranoid=-1

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