Home
last modified time | relevance | path

Searched refs:link_name (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DSection.cpp745 char link_name[LINK_NAME_LEN]; in BlockingCall() local
753 snprintf(link_name, LINK_NAME_LEN, "/proc/%d/exe", pid); in BlockingCall()
755 if (stat(link_name, &fileStat) != OK) { in BlockingCall()
758 ssize_t exe_name_len = readlink(link_name, exe_name, EXE_NAME_LEN); in BlockingCall()
760 ALOGE("[%s] Can't read '%s': %s", name.string(), link_name, strerror(errno)); in BlockingCall()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2097 const std::string link_name = android::base::StringPrintf("/proc/%d/exe", pid); in DumpTraces() local
2099 if (!android::base::Readlink(link_name, &exe)) { in DumpTraces()