op_config.h
Go to the documentation of this file.00001
00015 #ifndef OP_CONFIG_H
00016 #define OP_CONFIG_H
00017
00018 #if defined(__cplusplus)
00019 extern "C" {
00020 #endif
00021
00026 void init_op_config_dirs(char const * session_dir);
00027
00028 #define OP_SESSION_DIR_DEFAULT "/var/lib/oprofile/"
00029
00030
00031
00032
00033
00034 extern char op_session_dir[];
00035 extern char op_samples_dir[];
00036 extern char op_samples_current_dir[];
00037 extern char op_lock_file[];
00038 extern char op_log_file[];
00039 extern char op_pipe_file[];
00040 extern char op_dump_status[];
00041
00042
00043 #ifndef DEBUGDIR
00044 #define DEBUGDIR "/usr/lib/debug"
00045 #endif
00046
00047 #define OPD_MAGIC "DAE\n"
00048 #define OPD_VERSION 0x12
00049
00050 #define OP_MIN_CPU_BUF_SIZE 2048
00051 #define OP_MAX_CPU_BUF_SIZE 131072
00052
00053 #if defined(__cplusplus)
00054 }
00055 #endif
00056
00057 #endif