Loading cmds/atrace/atrace.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading
cmds/atrace/atrace.cpp +7 −5 Original line number Diff line number Diff line Loading @@ -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 { Loading