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 | 328 const char *trace_path = "/data/misc/anrd/"; in dump_anrd_trace() local 339 if (stat(trace_path, &st) == 0) { in dump_anrd_trace() 342 MYLOGE("Failed to find: %s\n", trace_path); in dump_anrd_trace() 356 stat(trace_path, &st); in dump_anrd_trace() 360 MYLOGE("Failed to stat %s or trace creation timeout\n", trace_path); in dump_anrd_trace() 365 if (!(trace_dir = opendir(trace_path))) { in dump_anrd_trace() 366 MYLOGE("Can't open trace file under %s\n", trace_path); in dump_anrd_trace() 373 sprintf(path, "%s%s", trace_path, trace->d_name); in dump_anrd_trace() 385 sprintf(path, "%s%s", trace_path, buf); in dump_anrd_trace() 411 MYLOGE("Can't stats any trace file under %s\n", trace_path); in dump_anrd_trace()
|