Processors
Intel® Processors, Tools, and Utilities
14509 Discussions

Identifying user and kernel instructions executed on Intel processors

morca
Beginner
712 Views

I would like to know if PIN has some facilities to detect user and kernel (system) instructions that are executed by a program on an intel processor (v3 and after that)?

I didn't see such feature in the documents.

0 Kudos
1 Reply
Emeth_O_Intel
Moderator
435 Views

Hi Morca,

 

Thank you so much for contacting us about this.

 

I was reviewing your case and I noticed you would like to know if there is a possibility to indentify the User and Kernel instructions executed by a program on the Intel Processors using the Pin - A Dynamic Binary Instrumentation Tool.

 

Due to the fact that this kind of question are handle by a different team, I would like to refer you to the following link: https://software.intel.com/en-us/articles/pin-a-dynamic-binary-instrumentation-tool

 

Also, If you check the following link: https://software.intel.com/en-us/articles/pin-a-binary-instrumentation-tool-faq on the section "D) General" there are some details about the CPU Version needed to run the PIN Software and it says the following:

 

Pin will run on all Intel (R) 64 and Intel (R) MIC Architectures. A IA-32 processor needs the following features:

 

  • C8 - CMPXCHG8B
  • SSE2
  • FXSR - FXSAVE/FXRSTOR

Pentium III processors do not have SSE2. Pentium IV processors can run Pin.

 

You can check the capabilities of your processor on linux with the following command: cat /proc/cpuinfo

 

If you still have any other doubt about it, please do not hesitate and check the first link provided and go to the newsgroup and feel free to ask all your questions.

 

Regards,

 

Emeth O.

Intel Customer Support Technician

Under Contract to Intel Corporation

0 Kudos
Reply