opd_stats.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  {
  OPD_SAMPLES, OPD_KERNEL, OPD_PROCESS, OPD_NO_CTX,
  OPD_LOST_KERNEL, OPD_LOST_SAMPLEFILE, OPD_LOST_NO_MAPPING, OPD_DUMP_COUNT,
  OPD_DANGLING_CODE, OPD_NO_APP_KERNEL_SAMPLE, OPD_MAX_STATS
}

Functions

void opd_print_stats (void)

Variables

unsigned long opd_stats []

Detailed Description

Management of daemon statistics

Remarks:
Copyright 2002 OProfile authors
Read the file COPYING
Author:
John Levon
Philippe Elie

Definition in file opd_stats.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
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_LOST_NO_MAPPING 

nr samples lost due to no mapping

OPD_DUMP_COUNT 

nr. of times buffer is read

OPD_DANGLING_CODE 

nr. partial code notifications (buffer overflow

OPD_NO_APP_KERNEL_SAMPLE 

nr. user ctx kernel samples dropped due to no app cookie available

OPD_MAX_STATS 

end of stats

Definition at line 17 of file opd_stats.h.


Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

unsigned long opd_stats[]

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1