Home
last modified time | relevance | path

Searched refs:trace_filename (Results 1 – 1 of 1) sorted by relevance

/frameworks/libs/binary_translation/base/
Dtracing.cc37 int TraceToFile(std::string trace_filename) { in TraceToFile() argument
38 if (trace_filename == "1") { in TraceToFile()
43 if (trace_filename == "2") { in TraceToFile()
49 if (trace_filename.at(0) != '/') { in TraceToFile()
55 trace_filename = std::string(app_private_dir) + "/" + trace_filename; in TraceToFile()
61 std::string dir = Dirname(trace_filename); in TraceToFile()
73 int fd = open(trace_filename.c_str(), O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, S_IWUSR); in TraceToFile()
75 ALOGE("not tracing - failed to open output file \"%s\"", trace_filename.c_str()); in TraceToFile()
79 ALOGD("tracing to \"%s\"", trace_filename.c_str()); in TraceToFile()