Searched refs:traces_path (Results 1 - 1 of 1) sorted by relevance
/frameworks/native/cmds/dumpstate/ |
H A D | utils.cpp | 1007 char traces_path[PROPERTY_VALUE_MAX] = ""; local 1008 property_get("dalvik.vm.stack-trace-file", traces_path, ""); 1009 if (!traces_path[0]) return NULL; 1013 strlcpy(anr_traces_path, traces_path, sizeof(anr_traces_path)); 1015 if (rename(traces_path, anr_traces_path) && errno != ENOENT) { 1016 MYLOGE("rename(%s, %s): %s\n", traces_path, anr_traces_path, strerror(errno)); 1021 int fd = TEMP_FAILURE_RETRY(open(traces_path, O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC, 1024 MYLOGE("%s: %s\n", traces_path, strerror(errno)); 1029 MYLOGE("fchmod on %s failed: %s\n", traces_path, strerror(errno)); 1052 wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRIT [all...] |
Completed in 45 milliseconds