A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
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.