Lines Matching defs:pid
169 * Any graphics memory reported in /proc/pid/smaps is not included here.
171 static int read_memtrack_memory(struct memtrack_proc* p, int pid,
174 int err = memtrack_proc_get(p, pid);
205 * Retrieves the graphics memory that is unaccounted for in /proc/pid/smaps.
207 static int read_memtrack_memory(int pid, struct graphics_memory_pss* graphics_mem)
219 int err = read_memtrack_memory(p, pid, graphics_mem);
420 static void load_maps(int pid, stats_t* stats)
425 sprintf(tmp, "/proc/%d/smaps", pid);
434 jint pid, jobject object)
439 load_maps(pid, stats);
442 if (read_memtrack_memory(pid, &graphics_mem) == 0) {
498 static jlong android_os_Debug_getPssPid(JNIEnv *env, jobject clazz, jint pid, jlongArray outUss,
511 if (read_memtrack_memory(pid, &graphics_mem) == 0) {
515 sprintf(tmp, "/proc/%d/smaps", pid);
933 jint pid, jstring fileName)
955 dump_backtrace_to_file(pid, fd);