I'm implementing BTS on x64 W7 and W8 as part of my academic research and I got a problem: I've set up everything (as far as I know) but I can't get being interrupted on BTS overflow. I have set up DS AREA and I can manually inspect the memory and check everything is fine ( BTS recorded until threshold). However, no interrupt is generated. I checked: APIC is set to edge and fixed, and its vector value is 254. I read IDTR and set IDT to point my interrupt routine. BTINT is set on DEBUGCTL. Did I forget something ? Could anyone of you experienced with Windows implementation help me ? Besides, Are there any implementation piece available ? I found some on Linux, but none on Windows. Thanks in advance, Marcus
Edit: I left a question on Microsoft's Forums but they aren't sure about Intel's things.
perhaps you can find similar situations in some open source porject to learn/practice the necessary programming mechanics dealing with setting up overflow interrupt caused by an buffer overflow condition. A proling tool project supporting sample-after mode of performance counter data gathering could provide the detail mechanics: buffer overflow -> counter overflow, BTINT in debugctl -> INT in the perfevtsel, etc..