Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 982e4515 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "atrace.rc: tracing should be disabled by default."

am: cbd4cc73

* commit 'cbd4cc73':
  atrace.rc: tracing should be disabled by default.
parents f15194ae cbd4cc73
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -51,6 +51,9 @@ on boot
    chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_locked/enable
    chmod 0664 /sys/kernel/debug/tracing/events/binder/binder_unlock/enable

    # Tracing disabled by default
    write /sys/kernel/debug/tracing/tracing_on 0

# Allow only the shell group to read and truncate the kernel trace.
    chown root shell /sys/kernel/debug/tracing/trace
    chmod 0660 /sys/kernel/debug/tracing/trace