Lines Matching refs:filename
68 int ReadIo(char *filename, AppSample *sample) {
73 file = fopen(filename, "r");
93 int ReadStatForName(char *filename, AppData *app) {
97 file = fopen(filename, "r");
114 int ReadStat(char *filename, AppSample *sample) {
118 file = fopen(filename, "r");
148 int ReadCmdline(char *filename, AppData *app) {
153 file = fopen(filename, "r");
170 char filename[64];
185 sprintf(filename, PID_STAT_FILE, pid);
186 ReadStatForName(filename, data);
187 sprintf(filename, PID_CMDLINE_FILE, pid);
188 ReadCmdline(filename, data);
197 sprintf(filename, PID_STAT_FILE, pid);
198 ReadStat(filename, sample);
200 sprintf(filename, PID_IO_FILE, pid);
201 ReadIo(filename, sample);