Skip to content

Commit

Permalink
encore-perfcommon: Disable perf_event_paranoid and debug_locks
Browse files Browse the repository at this point in the history
Signed-off-by: Rem01Gaming <[email protected]>
  • Loading branch information
Rem01Gaming committed Sep 18, 2024
1 parent d67161f commit 4803336
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion module/system/bin/encore-perfcommon
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ for thermal in /sys/class/thermal/thermal_zone*; do
apply "step_wise" ${thermal}/policy
done

# Stop tracing
# Stop tracing and debugging
stop traced
apply 0 /sys/kernel/tracing/tracing_on
apply 0 /proc/sys/kernel/perf_event_paranoid
apply 0 /proc/sys/kernel/debug_locks

# Kill logd
if [ $(cat /data/encore/kill_logd) -eq 1 ]; then
Expand Down

0 comments on commit 4803336

Please sign in to comment.