mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Android service iorapd uses mm tracing to check what files are being loaded by an app during launch. It then compiles the traces to perform madvise syscalls to speedup app launch. This, however, enforces tracepoints to be enabled for whole kernel which effects with much larger image size and some performance penalties. It turns out that tracing can be disabled by passing NOTRACE flag. To make use of this flag pass it globally and undef where needed to make tracing work, also, keep mm tracing in place for iorapd. Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com> Signed-off-by: alanndz <alanndz7@gmail.com> Signed-off-by: azrim <mirzaspc@gmail.com>