1. A method for performing kernel-level diagnostics, comprising: obtaining a hardware trap associated with an attempt by a kernel-level instruction stream to access a memory address, wherein the memory address is referenced by a hardware watchpoint facility; forwarding the hardware trap to a software breakpoint handler; executing a diagnostic instruction defined by the software breakpoint handler to obtain diagnostic data; transmitting the diagnostic data to a user; and returning execution flow to the kernel-level instruction stream.