A special extension of the Intel PT control flow tracing feature relies on a new instruction "ptwrite", but most of the latest processors do not support it. Can someone tell me if the new Whiskey Lake processors have it? Or any other recent release? I have ptwrite in a J5005 but it's a tiny Atom processor and we are constantly getting buffer overflows (even without using ptwrite or cycle timing). We need this feature in an i7 for my research project.
If you have a machine with this CPU, here is an easy way to check for ptwrite:
- boot the machine into linux from a USB (if you do not have Linux installed already)
- run this command from any shell or terminal:
cd /sys/bus/event_source/devices/intel_pt/ cat caps/ptwrite
If you see "1" in the file then ptwrite is supported (and "0" means not supported). Thanks if anyone can help!