Searched refs:anr_traces_dir (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
D | utils.c | 391 char anr_traces_dir[PATH_MAX]; in dump_traces() local 392 strlcpy(anr_traces_dir, traces_path, sizeof(anr_traces_dir)); in dump_traces() 393 char *slash = strrchr(anr_traces_dir, '/'); in dump_traces() 396 if (!mkdir(anr_traces_dir, 0775)) { in dump_traces() 397 chown(anr_traces_dir, AID_SYSTEM, AID_SYSTEM); in dump_traces() 398 chmod(anr_traces_dir, 0775); in dump_traces() 400 fprintf(stderr, "mkdir(%s): %s\n", anr_traces_dir, strerror(errno)); in dump_traces()
|