Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Hardware breakpoints don't work if the kernel is doing the writes, because the kernel won't let you enable them globally so they trigger outside of your program.


If you use a decent kernel like Linux, there is an API to do that from userspace without requiring you to reboot your kernel under a debugger.


I don't think I'm familiar with that API. What is it?


It's part of perf_event, available since 2.6.33.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: