#include "opd_stats.h"
#include "opd_extended.h"
#include "oprofiled.h"
#include "op_get_time.h"
#include <dirent.h>
#include <stdlib.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
static void | print_if (char const *fmt, char const *path, char const *filename, int force) |
void | opd_print_stats (void) |
Variables | |
unsigned long | opd_stats [OPD_MAX_STATS] |
Management of daemon statistics
Definition in file opd_stats.c.
void opd_print_stats | ( | void | ) |
opd_print_stats - print out latest statistics
Definition at line 38 of file opd_stats.c.
References op_get_time(), OPD_DANGLING_CODE, OPD_DUMP_COUNT, opd_ext_print_stats(), OPD_KERNEL, OPD_LOST_KERNEL, OPD_LOST_NO_MAPPING, OPD_LOST_SAMPLEFILE, OPD_NO_APP_KERNEL_SAMPLE, OPD_NO_CTX, OPD_SAMPLES, opd_stats, and print_if().
Referenced by opd_26_exit(), opd_alarm(), and opd_sigterm().
static void print_if | ( | char const * | fmt, | |
char const * | path, | |||
char const * | filename, | |||
int | force | |||
) | [static] |
print_if - print an integer value read from file filename, do nothing if the value read == -1 except if force is non-zero
Definition at line 28 of file opd_stats.c.
References opd_read_fs_int().
Referenced by opd_print_stats().
unsigned long opd_stats[OPD_MAX_STATS] |
Definition at line 22 of file opd_stats.c.
Referenced by enough_remaining(), opd_26_init(), opd_do_samples(), opd_print_stats(), opd_process_samples(), opd_put_sample(), process_spu_samples(), sfile_find(), sfile_log_arc(), and sfile_log_sample_count().