operf_stats.h File Reference

#include <string>
Include dependency graph for operf_stats.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OPERF_INDEX_OF_FIRST_LOST_STAT   3
#define OPERF_WARN_LOST_SAMPLES_THRESHOLD   0.0001

Enumerations

enum  {
  OPERF_SAMPLES, OPERF_KERNEL, OPERF_PROCESS, OPERF_INVALID_CTX,
  OPERF_LOST_KERNEL, OPERF_LOST_SAMPLEFILE, OPERF_LOST_NO_MAPPING, OPERF_NO_APP_KERNEL_SAMPLE,
  OPERF_NO_APP_USER_SAMPLE, OPERF_BT_LOST_NO_MAPPING, OPERF_LOST_INVALID_HYPERV_ADDR, OPERF_RECORD_LOST_SAMPLE,
  OPERF_MAX_STATS
}

Functions

void operf_print_stats (std::string sampledir, char *starttime, bool throttled)

Variables

unsigned long operf_stats []

Detailed Description

Management of operf statistics

Remarks:
Copyright 2012 OProfile authors
Read the file COPYING

Created on: June 11, 2012

Author:
Maynard Johnson (C) Copyright IBM Corp. 2012

Definition in file operf_stats.h.


Define Documentation

#define OPERF_INDEX_OF_FIRST_LOST_STAT   3

Definition at line 34 of file operf_stats.h.

Referenced by operf_print_stats().

#define OPERF_WARN_LOST_SAMPLES_THRESHOLD   0.0001

Definition at line 39 of file operf_stats.h.

Referenced by operf_print_stats().


Enumeration Type Documentation

anonymous enum
Enumerator:
OPERF_SAMPLES 

nr. samples

OPERF_KERNEL 

nr. kernel samples

OPERF_PROCESS 

nr. userspace samples

OPERF_INVALID_CTX 

nr. samples lost due to sample address not in expected range for domain

OPERF_LOST_KERNEL 

nr. kernel samples lost

OPERF_LOST_SAMPLEFILE 

nr samples for which sample file can't be opened

OPERF_LOST_NO_MAPPING 

nr samples lost due to no mapping

OPERF_NO_APP_KERNEL_SAMPLE 

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

OPERF_NO_APP_USER_SAMPLE 

nr. user samples dropped due to no app context available

OPERF_BT_LOST_NO_MAPPING 

nr. backtrace samples dropped due to no mapping

OPERF_LOST_INVALID_HYPERV_ADDR 

nr. hypervisor samples dropped due to address out-of-range

OPERF_RECORD_LOST_SAMPLE 

nr. samples lost reported by perf_events kernel

OPERF_MAX_STATS 

end of stats

Definition at line 20 of file operf_stats.h.


Function Documentation

void operf_print_stats ( std::string  sampledir,
char *  starttime,
bool  throttled 
)

Variable Documentation

unsigned long operf_stats[]

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1