Home
last modified time | relevance | path

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

/system/core/toolbox/
Dtop.c56 struct proc_info { struct
57 struct proc_info *next; argument
79 struct proc_info **array; argument
87 static struct proc_info **old_procs, **new_procs;
89 static struct proc_info *free_procs;
96 static struct proc_info *alloc_proc(void);
97 static void free_proc(struct proc_info *proc);
99 static int read_stat(char *filename, struct proc_info *proc);
100 static void read_policy(int pid, struct proc_info *proc);
101 static void add_proc(int proc_num, struct proc_info *proc);
[all …]
/system/extras/procrank/
Dprocrank.c29 struct proc_info { struct
180 struct proc_info **procs; in main()
245 procs = calloc(num_procs, sizeof(struct proc_info*)); in main()
252 procs[i] = malloc(sizeof(struct proc_info)); in main()
541 (*((struct proc_info**)a))->usage.field, \
542 (*((struct proc_info**)b))->usage.field \
/system/extras/memtrack/
Dmemtrack.cpp336 ProcessInfo proc_info; in main() local
353 proc_info.scan(); in main()
362 proc_info.dumpToLog(); in main()
/system/core/libbacktrace/
DBacktraceOffline.h85 bool FindProcInfo(unw_addr_space_t addr_space, uint64_t ip, unw_proc_info_t* proc_info,
DBacktraceOffline.cpp68 static int FindProcInfo(unw_addr_space_t addr_space, unw_word_t ip, unw_proc_info* proc_info, in FindProcInfo() argument
71 bool result = backtrace->FindProcInfo(addr_space, ip, proc_info, need_unwind_info); in FindProcInfo()
228 unw_proc_info_t* proc_info, int need_unwind_info) { in FindProcInfo() argument
266 int ret = dwarf_search_unwind_table(addr_space, ip, &di, proc_info, need_unwind_info, this); in FindProcInfo()
276 int ret = dwarf_search_unwind_table(addr_space, ip, &di, proc_info, need_unwind_info, this); in FindProcInfo()