freebsd-dev/sys/cddl
Mark Johnston de3a96e3b1 Ensure that profile and tick probes provide a non-zero PC value.
The idle thread may process callouts while reloading the timer in
cpu_activeclock(). In this case, provide a representative value, &cpu_idle,
instead of 0 for args[0] so that the active thread can be more easily
identified from the probe.

This addresses intermittent failures of the profile-n/tst.argtest.d test.

MFC after:	2 weeks
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D10651
2017-05-15 21:44:40 +00:00
..
boot/zfs loader: update symlink support in zfs reader 2017-02-22 22:00:50 +00:00
compat/opensolaris All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00
contrib/opensolaris vdev_geom may associate multiple vdevs per g_consumer 2017-05-11 16:26:56 +00:00
dev Ensure that profile and tick probes provide a non-zero PC value. 2017-05-15 21:44:40 +00:00