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

Commit 9794f903 authored by Jamie Gennis's avatar Jamie Gennis Committed by Android (Google) Code Review
Browse files

Merge "atrace: fix tracing on user builds" into jb-mr2-dev

parents caa81f0e 6f6f3f71
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -433,8 +433,10 @@ static bool setKernelTraceFuncs(const char* funcs)

    if (funcs == NULL || funcs[0] == '\0') {
        // Disable kernel function tracing.
        if (fileIsWritable(k_currentTracerPath)) {
            ok &= writeStr(k_currentTracerPath, "nop");
        if (fileExists(k_ftraceFilterPath)) {
        }
        if (fileIsWritable(k_ftraceFilterPath)) {
            ok &= truncateFile(k_ftraceFilterPath);
        }
    } else {