Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
Dutils.cpp277 char cmdpath[255]; in __for_each_pid() local
286 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/cmdline", pid); in __for_each_pid()
287 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()
297 snprintf(cmdpath, sizeof(cmdpath), "/proc/%d/comm", pid); in __for_each_pid()
298 if ((fd = TEMP_FAILURE_RETRY(open(cmdpath, O_RDONLY | O_CLOEXEC))) >= 0) { in __for_each_pid()