Searched refs:WriteStrToFile (Results 1 – 1 of 1) sorted by relevance
118 static bool WriteStrToFile(const string& filename, const std::string& str) in WriteStrToFile() function138 return WriteStrToFile(path, enabled ? "1" : "0"); in SetFtraceEnabled()211 if (!WriteStrToFile(CURRENT_TRACER_PATH, "nop")) { in SetBufferSize()214 return WriteStrToFile(BUFFER_SIZE_PATH, to_string(bufferSize)); in SetBufferSize()244 return WriteStrToFile(TRACE_CLOCK_PATH, newClock); in SetClock()