Searched refs:dump_traces_path (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 762 static char dump_traces_path[PATH_MAX]; local 763 strlcpy(dump_traces_path, traces_path, sizeof(dump_traces_path)); 764 strlcat(dump_traces_path, ".bugreport", sizeof(dump_traces_path)); 765 if (rename(traces_path, dump_traces_path)) { 766 fprintf(stderr, "rename(%s, %s): %s\n", traces_path, dump_traces_path, strerror(errno)); 769 result = dump_traces_path;
|
H A D | dumpstate.c | 44 static const char *dump_traces_path = NULL; variable 354 if (dump_traces_path != NULL) { 355 dump_file("VM TRACES JUST NOW", dump_traces_path); 667 dump_traces_path = dump_traces();
|
Completed in 380 milliseconds