]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Handle the case where regs (during cyclic processing) is NULL. This indicates
authorKris Van Hees <kris.van.hees@oracle.com>
Thu, 27 Oct 2011 17:15:26 +0000 (13:15 -0400)
committerKris Van Hees <kris.van.hees@oracle.com>
Thu, 27 Oct 2011 17:15:26 +0000 (13:15 -0400)
commitd6871da33f90d73fee0407a8b40ece48a2dc76e8
tree5bcf064796fe1e36f4a37fd5f5e2360f1c860f6b
parent36c52572b7b6cffd97f689f0cca0848d18beb0c1
Handle the case where regs (during cyclic processing) is NULL.  This indicates
a bug but with this code change we'll survive that case and simply not have
meaningful PC and UPC values as argument to the probe, which is better than a
full scale OOPS due to NULL pointer dereference.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
dtrace/profile_dev.c