Searched refs:smaps (Results 1 - 3 of 3) sorted by relevance

/systemd/src/bootchart/
H A Dstore.c463 if (!ps->smaps) {
464 sprintf(filename, "%d/smaps", pid);
468 ps->smaps = fdopen(fd, "re");
469 if (!ps->smaps) {
473 setvbuf(ps->smaps, smaps_buf, _IOFBF, sizeof(smaps_buf));
475 rewind(ps->smaps);
480 if (fgets(buf, sizeof(buf), ps->smaps) == NULL) {
483 if (fread(buf, 1, 28 * 15, ps->smaps) != (28 * 15)) {
492 rewind(ps->smaps);
499 if (fgets(buf, sizeof(buf), ps->smaps)
[all...]
H A Dbootchart.h83 FILE *smaps; member in struct:ps_struct
H A Dbootchart.c463 ps->smaps = safe_fclose(ps->smaps);

Completed in 776 milliseconds