Searched refs:trace_path (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/libs/binder/tests/ |
D | schd-dbg.cpp | 45 string trace_path = "/sys/kernel/debug/tracing"; variable 58 file.open(trace_path + "/tracing_on", ios::in); in traceIsOn() 67 file.open(trace_path + "/tracing_on", ios::out | ios::trunc); in traceStop() 239 cout << "log:" + trace_path + "/trace" << endl; in add_time() 462 cout << "check " << trace_path + "/tracing_on" << endl; in main()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 216 const char *trace_path = "/data/misc/anrd/"; in dump_anrd_trace() local 227 if (stat(trace_path, &st) == 0) { in dump_anrd_trace() 230 MYLOGE("Failed to find: %s\n", trace_path); in dump_anrd_trace() 244 stat(trace_path, &st); in dump_anrd_trace() 248 MYLOGE("Failed to stat %s or trace creation timeout\n", trace_path); in dump_anrd_trace() 253 if (!(trace_dir = opendir(trace_path))) { in dump_anrd_trace() 254 MYLOGE("Can't open trace file under %s\n", trace_path); in dump_anrd_trace() 261 sprintf(path, "%s%s", trace_path, trace->d_name); in dump_anrd_trace() 273 sprintf(path, "%s%s", trace_path, buf); in dump_anrd_trace() 299 MYLOGE("Can't stats any trace file under %s\n", trace_path); in dump_anrd_trace()
|