mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 14:38:21 +00:00
kernel: profiling infrastructure
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define MSR_IA32APICBASE 0x1B
|
||||
#define MSR_PERF_FIXED_CTR2 0x30b
|
||||
#define MSR_PERF_FIXED_CTR_CTRL 0x38d
|
||||
#define MSR_PERF_GLOBAL_STATUS 0x38e
|
||||
#define MSR_PERF_GLOBAL_CTRL 0x38f
|
||||
#define MSR_PERF_GLOBAL_OVF_CTRL 0x390
|
||||
#define MSR_EFER 0xC0000080
|
||||
#define MSR_STAR 0xC0000081
|
||||
#define MSR_LSTAR 0xC0000082
|
||||
|
||||
Reference in New Issue
Block a user