Searched defs:dump_traces_path (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 42 static const char *dump_traces_path = NULL; variable 114 if (dump_traces_path != NULL) { 115 dump_file("VM TRACES JUST NOW", dump_traces_path); 348 dump_traces_path = dump_traces();
|
H A D | utils.c | 500 static char dump_traces_path[PATH_MAX]; local 501 strlcpy(dump_traces_path, traces_path, sizeof(dump_traces_path)); 502 strlcat(dump_traces_path, ".bugreport", sizeof(dump_traces_path)); 503 if (rename(traces_path, dump_traces_path)) { 504 fprintf(stderr, "rename(%s, %s): %s\n", traces_path, dump_traces_path, strerror(errno)); 507 result = dump_traces_path;
|
Completed in 43 milliseconds