HPCToolkit
linux_info.h
Go to the documentation of this file.
1 #ifndef linux_info_h
2 
3 #define LINUX_KERNEL_NAME_REAL "vmlinux"
4 #define LINUX_KERNEL_NAME "<" LINUX_KERNEL_NAME_REAL ">"
5 
6 #define LINUX_KERNEL_SYMBOL_FILE_SHORT "kallsyms"
7 
8 #define LINUX_KERNEL_SYMBOL_FILE "/proc/" LINUX_KERNEL_SYMBOL_FILE_SHORT
9 #define LINUX_PERF_EVENTS_FILE "/proc/sys/kernel/perf_event_paranoid"
10 #define LINUX_PERF_EVENTS_MAX_RATE "/proc/sys/kernel/perf_event_max_sample_rate"
11 #define LINUX_KERNEL_KPTR_RESTICT "/proc/sys/kernel/kptr_restrict"
12 
13 // measurement subdirectory where kallsyms files from compute nodes will be recorded
14 #define KERNEL_SYMBOLS_DIRECTORY "kernel_symbols"
15 
16 #endif /* linux_info_h */