NMI sampling
- if profile --nmi kernel uses NMI watchdog based sampling based on Intel architecture performance counters - using NMI makes kernel profiling possible - watchdog kernel lockup detection is disabled while sampling as we may get unpredictable interrupts in kernel and thus possibly many false positives - if watchdog is not enabled at boot time, profiling enables it and turns it of again when done
This commit is contained in:
@@ -21,6 +21,8 @@ struct nmi_frame {
|
||||
reg_t eflags;
|
||||
};
|
||||
|
||||
void i386_watchdog_start(void);
|
||||
_PROTOTYPE(int i386_watchdog_start, (void));
|
||||
|
||||
#define nmi_in_kernel(f) ((f)->cs == CS_SELECTOR)
|
||||
|
||||
#endif /* __I386_WATCHDOG_H__ */
|
||||
|
||||
Reference in New Issue
Block a user