[0d0e60]: daemon / opd_stats.h Maximize Restore History

Download this file

opd_stats.h    31 lines (25 with data), 820 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @file daemon/opd_stats.h
* Management of daemon statistics
*
* @remark Copyright 2002 OProfile authors
* @remark Read the file COPYING
*
* @author John Levon
* @author Philippe Elie
*/
#ifndef OPD_STATS_H
#define OPD_STATS_H
extern unsigned long opd_stats[];
enum { OPD_SAMPLES, /* nr. samples */
OPD_KERNEL, /* nr. kernel samples */
OPD_PROCESS, /* nr. userspace samples */
OPD_NO_CTX, /* nr. samples lost due to not knowing if in the kernel or not */
OPD_LOST_KERNEL, /* nr. kernel samples lost */
OPD_LOST_SAMPLEFILE, /**< nr samples for which sample file can't be opened */
OPD_DUMP_COUNT, /* nr. of times buffer is read */
OPD_DANGLING_CODE, /* nr. partial code notifications (buffer overflow */
OPD_MAX_STATS /* end of stats */
};
void opd_print_stats(void);
#endif /* OPD_STATS_H */