Go to the source code of this file.
Enumerations | |
enum | { OPD_KERNEL, OPD_MODULE, OPD_LOST_MODULE, OPD_LOST_PROCESS, OPD_PROCESS, OPD_LOST_MAP_PROCESS, OPD_LOST_SAMPLEFILE, OPD_PROC_QUEUE_ACCESS, OPD_PROC_QUEUE_DEPTH, OPD_DUMP_COUNT, OPD_MAP_ARRAY_ACCESS, OPD_MAP_ARRAY_DEPTH, OPD_IMAGE_HASH_ACCESS, OPD_IMAGE_HASH_DEPTH, OPD_SAMPLES, OPD_NOTIFICATIONS, OPD_MAX_STATS } |
Functions | |
void | opd_print_24_stats (void) |
Variables | |
unsigned long | opd_24_stats [] |
Management of daemon statistics
Definition in file opd_24_stats.h.
anonymous enum |
OPD_KERNEL |
nr kernel samples |
OPD_MODULE |
nr module samples |
OPD_LOST_MODULE |
nr samples in module for which modules can not be located |
OPD_LOST_PROCESS |
nr samples for which process info couldn't be accessed |
OPD_PROCESS |
nr userspace samples |
OPD_LOST_MAP_PROCESS |
nr samples for which map info couldn't be accessed |
OPD_LOST_SAMPLEFILE |
nr samples for which sample file can't be opened |
OPD_PROC_QUEUE_ACCESS |
nr accesses of proc queue |
OPD_PROC_QUEUE_DEPTH |
cumulative depth of proc queue accesses |
OPD_DUMP_COUNT |
nr of times buffer is read |
OPD_MAP_ARRAY_ACCESS |
nr accesses of map array |
OPD_MAP_ARRAY_DEPTH |
cumulative depth of map array accesses |
OPD_IMAGE_HASH_ACCESS | |
OPD_IMAGE_HASH_DEPTH |
cumulative depth of image search |
OPD_SAMPLES |
nr distinct samples |
OPD_NOTIFICATIONS |
nr notifications |
OPD_MAX_STATS |
end of stats |
Definition at line 17 of file opd_24_stats.h.
void opd_print_24_stats | ( | void | ) |
opd_print_24_stats - print out latest statistics
Definition at line 24 of file opd_24_stats.c.
References op_get_time(), OP_MOUNT, opd_24_stats, OPD_DUMP_COUNT, opd_get_nr_images(), opd_get_nr_procs(), OPD_IMAGE_HASH_ACCESS, OPD_IMAGE_HASH_DEPTH, OPD_KERNEL, OPD_LOST_MAP_PROCESS, OPD_LOST_MODULE, OPD_LOST_PROCESS, OPD_LOST_SAMPLEFILE, OPD_MAP_ARRAY_ACCESS, OPD_MAP_ARRAY_DEPTH, OPD_MODULE, OPD_NOTIFICATIONS, OPD_PROC_QUEUE_ACCESS, OPD_PROC_QUEUE_DEPTH, OPD_PROCESS, opd_read_fs_int(), and OPD_SAMPLES.
Referenced by opd_24_exit(), opd_alarm(), and opd_sigterm().
unsigned long opd_24_stats[] |
Definition at line 22 of file opd_24_stats.c.
Referenced by opd_24_init(), opd_do_notes(), opd_do_samples(), opd_drop_module_sample(), opd_find_image(), opd_get_proc(), opd_handle_kernel_sample(), opd_handle_module_sample(), opd_lookup_maps(), opd_print_24_stats(), opd_put_image_sample(), and opd_put_sample().