Implement PMI (Performance monitoring interrupt) handler on x86_64
I want to implement my own PMI (Performance monitoring interrupt) handler in my kernel module on x86_64 architecture.
Is there any example how can i do it?
I have found sn_register_pmi_handler function in ./arch/ia64/include/asm/sn/sn_sal.h. Is this right interface for use my own PMI handler?
Thanks for help.