Upstream | cc2ee17 | 1970-01-12 13:46:40 +0000 | [diff] [blame^] | 1 | /** |
| 2 | * @file op_config.h |
| 3 | * |
| 4 | * Parameters a user may want to change. See |
| 5 | * also op_config_24.h |
| 6 | * |
| 7 | * @remark Copyright 2002 OProfile authors |
| 8 | * @remark Read the file COPYING |
| 9 | * |
| 10 | * @author John Levon |
| 11 | * @author Philippe Elie |
| 12 | */ |
| 13 | |
| 14 | #ifndef OP_CONFIG_H |
| 15 | #define OP_CONFIG_H |
| 16 | |
| 17 | /* various paths, duplicated in opcontrol */ |
| 18 | #define OP_BASE_DIR "/var/lib/oprofile/" |
| 19 | #define OP_SAMPLES_DIR OP_BASE_DIR "samples/" |
| 20 | #define OP_SAMPLES_CURRENT_DIR OP_SAMPLES_DIR "current/" |
| 21 | #define OP_LOCK_FILE OP_BASE_DIR "lock" |
| 22 | #define OP_LOG_FILE OP_BASE_DIR "oprofiled.log" |
| 23 | #define OP_DUMP_STATUS OP_BASE_DIR "complete_dump" |
| 24 | |
| 25 | /* Global directory that stores debug files */ |
| 26 | #ifndef DEBUGDIR |
| 27 | #define DEBUGDIR "/usr/lib/debug" |
| 28 | #endif |
| 29 | |
| 30 | #define OPD_MAGIC "DAE\n" |
| 31 | #define OPD_VERSION 0x10 |
| 32 | |
| 33 | #endif /* OP_CONFIG_H */ |