Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Dutils.cpp291 char cmdpath[255]; in __for_each_pid() local
300 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/cmdline", pid); in __for_each_pid()
301 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()
311 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/comm", pid); in __for_each_pid()
312 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()