freebsd-nq/sys/cddl/dev
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
..
dtmalloc
dtrace Fix stack tracing in dtrace for powerpc 2017-05-11 00:23:51 +00:00
fbt Fix the encoded instruction for FBT traps on powerpc 2017-05-10 03:47:22 +00:00
profile Ensure that profile and tick probes provide a non-zero PC value. 2017-05-15 21:44:40 +00:00
sdt Initialize SDT probes during SI_SUB_DTRACE_PROVIDER. 2016-04-10 01:24:27 +00:00
systrace Re-check the systrace probe ID before calling dtrace_probe(). 2016-09-22 23:22:53 +00:00
prototype.c