op_config_24.h

Go to the documentation of this file.
00001 
00013 #ifndef OP_CONFIG_24_H
00014 #define OP_CONFIG_24_H
00015 
00016 #define OP_MOUNT "/proc/sys/dev/oprofile/"
00017 
00018 extern char op_device[];
00019 extern char op_note_device[];
00020 extern char op_hash_device[];
00021 
00025 #define OP_DEFAULT_BUF_SIZE 65536
00026 
00030 #define OP_PRE_WATERMARK(buffer_size)           \
00031     (((buffer_size) / 8) < OP_MIN_PRE_WATERMARK \
00032         ? OP_MIN_PRE_WATERMARK          \
00033         : (buffer_size) / 8)
00034 
00035 #define OP_MIN_PRE_WATERMARK 8192
00036 
00037 #define OP_MAX_BUF_SIZE 1048576
00038 
00039 #define OP_MIN_BUF_SIZE (32768 + OP_PRE_WATERMARK(32768))
00040 
00042 #define OP_DEFAULT_NOTE_SIZE 16384
00043 
00047 #define OP_PRE_NOTE_WATERMARK(note_size)        \
00048     (((note_size) / 32) < OP_MIN_NOTE_PRE_WATERMARK \
00049         ? OP_MIN_NOTE_PRE_WATERMARK     \
00050         : (note_size) / 32)
00051 
00052 #define OP_MIN_NOTE_PRE_WATERMARK 512
00053 
00054 #define OP_MAX_NOTE_TABLE_SIZE  1048576
00055 
00056 #define OP_MIN_NOTE_TABLE_SIZE  (1024 + OP_PRE_NOTE_WATERMARK(1024))
00057 
00059 #define OP_MAX_RTC_COUNT    4096
00060 
00061 #define OP_MIN_RTC_COUNT    2
00062 
00069 #define OP_HASH_MAP_NR 4093
00070 
00072 #define POOL_SIZE 65536
00073 
00074 #ifndef NR_CPUS
00075 
00076 #define NR_CPUS 32
00077 #endif
00078 
00079 #endif /* OP_CONFIG_24_H */

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1