Searched refs:dump_traces_path (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 652 static char dump_traces_path[PATH_MAX]; in dump_traces() local 653 strlcpy(dump_traces_path, traces_path, sizeof(dump_traces_path)); in dump_traces() 654 strlcat(dump_traces_path, ".bugreport", sizeof(dump_traces_path)); in dump_traces() 655 if (rename(traces_path, dump_traces_path)) { in dump_traces() 656 fprintf(stderr, "rename(%s, %s): %s\n", traces_path, dump_traces_path, strerror(errno)); in dump_traces() 659 result = dump_traces_path; in dump_traces()
|
D | dumpstate.c | 43 static const char *dump_traces_path = NULL; variable 176 if (dump_traces_path != NULL) { in dumpstate() 177 dump_file("VM TRACES JUST NOW", dump_traces_path); in dumpstate() 487 dump_traces_path = dump_traces(); in main()
|