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

Commit 14681db0 authored by Wei Wang's avatar Wei Wang
Browse files

atrace.rc: enable schedstats by default

Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and
stat_runtime require the kernel parameter schedstats=enable

Bug: 73652288
Test: build
Change-Id: I9e40742d7e328561aca00fd4989f3513382a747f
parent a92749eb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@ on post-fs
    chmod 0222 /sys/kernel/debug/tracing/trace_marker
    chmod 0222 /sys/kernel/tracing/trace_marker

# Scheduler tracepoints require schedstats=enable
    write /proc/sys/kernel/sched_schedstats 1

# Grant unix world read/write permissions to kernel tracepoints.
# Access control to these files is now entirely in selinux policy.
    chmod 0666 /sys/kernel/debug/tracing/trace_clock