op_config_24.h File Reference

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

Go to the source code of this file.

Defines

#define OP_MOUNT   "/proc/sys/dev/oprofile/"
#define OP_HASH_MAP_NR   4093
#define POOL_SIZE   65536
#define NR_CPUS   32



#define OP_DEFAULT_BUF_SIZE   65536
#define OP_PRE_WATERMARK(buffer_size)
#define OP_MIN_PRE_WATERMARK   8192
#define OP_MAX_BUF_SIZE   1048576
#define OP_MIN_BUF_SIZE   (32768 + OP_PRE_WATERMARK(32768))
#define OP_DEFAULT_NOTE_SIZE   16384
#define OP_PRE_NOTE_WATERMARK(note_size)
#define OP_MIN_NOTE_PRE_WATERMARK   512
#define OP_MAX_NOTE_TABLE_SIZE   1048576
#define OP_MIN_NOTE_TABLE_SIZE   (1024 + OP_PRE_NOTE_WATERMARK(1024))
#define OP_MAX_RTC_COUNT   4096
#define OP_MIN_RTC_COUNT   2

Variables

char op_device []
char op_note_device []
char op_hash_device []

Detailed Description

Parameters a user may want to change

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

Definition in file op_config_24.h.


Define Documentation

#define NR_CPUS   32

maximum number of cpus present in the box

Definition at line 76 of file op_config_24.h.

Referenced by opd_close_image_samples_files(), and opd_new_image().

#define OP_DEFAULT_BUF_SIZE   65536

65536 * sizeof(op_sample)

Definition at line 25 of file op_config_24.h.

Referenced by opd_24_init().

#define OP_DEFAULT_NOTE_SIZE   16384

16384 * sizeof(op_note) = 273680 bytes default

Definition at line 42 of file op_config_24.h.

Referenced by opd_24_init().

#define OP_HASH_MAP_NR   4093

nr entries in hash map. This is the maximum number of name components allowed. Must be a prime number

Definition at line 69 of file op_config_24.h.

Referenced by get_from_pool(), opd_cleanup_hash_name(), and opd_handle_mapping().

#define OP_MAX_BUF_SIZE   1048576

maximum number of entry in samples eviction buffer

Definition at line 37 of file op_config_24.h.

Referenced by oprof_start::oprof_start(), and oprof_start::record_config().

#define OP_MAX_NOTE_TABLE_SIZE   1048576

maximum number of entry in note buffer

Definition at line 54 of file op_config_24.h.

Referenced by oprof_start::oprof_start(), and oprof_start::record_config().

#define OP_MAX_RTC_COUNT   4096

maximum sampling rate when using RTC

Definition at line 59 of file op_config_24.h.

Referenced by oprof_start::max_perf_count().

#define OP_MIN_BUF_SIZE   (32768 + OP_PRE_WATERMARK(32768))

minimum number of entry in samples eviction buffer

Definition at line 39 of file op_config_24.h.

Referenced by oprof_start::oprof_start(), and oprof_start::record_config().

#define OP_MIN_NOTE_PRE_WATERMARK   512

minimal note buffer water mark before we try to wakeup daemon

Definition at line 52 of file op_config_24.h.

#define OP_MIN_NOTE_TABLE_SIZE   (1024 + OP_PRE_NOTE_WATERMARK(1024))

minimum number of entry in note buffer

Definition at line 56 of file op_config_24.h.

Referenced by oprof_start::oprof_start(), and oprof_start::record_config().

#define OP_MIN_PRE_WATERMARK   8192

minimal buffer water mark before we try to wakeup daemon

Definition at line 35 of file op_config_24.h.

#define OP_MIN_RTC_COUNT   2

minimum sampling rate when using RTC

Definition at line 61 of file op_config_24.h.

#define OP_MOUNT   "/proc/sys/dev/oprofile/"

Definition at line 16 of file op_config_24.h.

Referenced by opd_24_init(), and opd_print_24_stats().

#define OP_PRE_NOTE_WATERMARK ( note_size   ) 
Value:
(((note_size) / 32) < OP_MIN_NOTE_PRE_WATERMARK \
        ? OP_MIN_NOTE_PRE_WATERMARK     \
        : (note_size) / 32)

we don't try to wake-up daemon until it remains more than this free entry in note buffer

Definition at line 47 of file op_config_24.h.

#define OP_PRE_WATERMARK ( buffer_size   ) 
Value:
(((buffer_size) / 8) < OP_MIN_PRE_WATERMARK \
        ? OP_MIN_PRE_WATERMARK          \
        : (buffer_size) / 8)

we don't try to wake-up daemon until it remains more than this free entry in eviction buffer

Definition at line 30 of file op_config_24.h.

#define POOL_SIZE   65536

size of string pool in bytes

Definition at line 72 of file op_config_24.h.


Variable Documentation

char op_device[]

Definition at line 31 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().

Definition at line 33 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().

Definition at line 32 of file op_config.c.

Referenced by init_op_config_dirs(), and op_open_files().


Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1