Diff of /daemon/liblegacy/opd_24_stats.c [9871f0] .. [0d0e60]  Maximize  Restore

Switch to unified view

a/daemon/liblegacy/opd_24_stats.c b/daemon/liblegacy/opd_24_stats.c
...
...
29
    printf("Nr. kernel samples: %lu\n", opd_24_stats[OPD_KERNEL]);
29
    printf("Nr. kernel samples: %lu\n", opd_24_stats[OPD_KERNEL]);
30
    printf("Nr. modules samples: %lu\n", opd_24_stats[OPD_MODULE]);
30
    printf("Nr. modules samples: %lu\n", opd_24_stats[OPD_MODULE]);
31
    printf("Nr. modules samples lost: %lu\n", opd_24_stats[OPD_LOST_MODULE]);
31
    printf("Nr. modules samples lost: %lu\n", opd_24_stats[OPD_LOST_MODULE]);
32
    printf("Nr. samples lost due to no process information: %lu\n",
32
    printf("Nr. samples lost due to no process information: %lu\n",
33
        opd_24_stats[OPD_LOST_PROCESS]);
33
        opd_24_stats[OPD_LOST_PROCESS]);
34
  printf("Nr. samples lost due to sample file open failure: %lu\n",
35
      opd_24_stats[OPD_LOST_SAMPLEFILE]);
34
    printf("Nr. process samples in user-space: %lu\n", opd_24_stats[OPD_PROCESS]);
36
    printf("Nr. process samples in user-space: %lu\n", opd_24_stats[OPD_PROCESS]);
35
    printf("Nr. samples lost due to no map information: %lu\n",
37
    printf("Nr. samples lost due to no map information: %lu\n",
36
        opd_24_stats[OPD_LOST_MAP_PROCESS]);
38
        opd_24_stats[OPD_LOST_MAP_PROCESS]);
37
    if (opd_24_stats[OPD_PROC_QUEUE_ACCESS]) {
39
    if (opd_24_stats[OPD_PROC_QUEUE_ACCESS]) {
38
        printf("Average depth of search of proc queue: %f\n",
40
        printf("Average depth of search of proc queue: %f\n",
...
...
51
    }
53
    }
52
    printf("Nr. sample dumps: %lu\n", opd_24_stats[OPD_DUMP_COUNT]);
54
    printf("Nr. sample dumps: %lu\n", opd_24_stats[OPD_DUMP_COUNT]);
53
    printf("Nr. samples total: %lu\n", opd_24_stats[OPD_SAMPLES]);
55
    printf("Nr. samples total: %lu\n", opd_24_stats[OPD_SAMPLES]);
54
    printf("Nr. notifications: %lu\n", opd_24_stats[OPD_NOTIFICATIONS]);
56
    printf("Nr. notifications: %lu\n", opd_24_stats[OPD_NOTIFICATIONS]);
55
    printf("Nr. kernel note buffer overflow: %u\n",
57
    printf("Nr. kernel note buffer overflow: %u\n",
56
           opd_read_fs_int(OP_MOUNT, "note_buffer_overflow"));
58
           opd_read_fs_int(OP_MOUNT, "note_buffer_overflow", 0));
57
    printf("Nr. kernel samples buffer overflow: %u\n",
59
    printf("Nr. kernel samples buffer overflow: %u\n",
58
           opd_read_fs_int(OP_MOUNT, "buffer_overflow"));
60
           opd_read_fs_int(OP_MOUNT, "buffer_overflow", 0));
59
    fflush(stdout);
61
    fflush(stdout);
60
}
62
}

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks