Searched defs:traces_path (Results 1 - 1 of 1) sorted by relevance

/frameworks/native/cmds/dumpstate/
H A Dutils.cpp1004 char traces_path[PROPERTY_VALUE_MAX] = ""; local
1005 property_get("dalvik.vm.stack-trace-file", traces_path, "");
1006 if (!traces_path[0]) return NULL;
1010 strlcpy(anr_traces_path, traces_path, sizeof(anr_traces_path));
1012 if (rename(traces_path, anr_traces_path) && errno != ENOENT) {
1013 MYLOGE("rename(%s, %s): %s\n", traces_path, anr_traces_path, strerror(errno));
1018 int fd = TEMP_FAILURE_RETRY(open(traces_path, O_CREAT | O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC,
1021 MYLOGE("%s: %s\n", traces_path, strerror(errno));
1026 MYLOGE("fchmod on %s failed: %s\n", traces_path, strerror(errno));
1049 wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRIT
[all...]

Completed in 40 milliseconds