freebsd-skq/sys/cddl/dev
Mark Johnston c208cb9923 Allow multiple FBT probes to share a tracepoint.
With GNU ifuncs, multiple FBT probes may correspond to the same
instruction.  fbt_invop() assumed that this could not happen and
would return after the first probe found in the global FBT hash
table, which might not be the one that's enabled.  Fix the problem
on x86 by linking probes that share a tracepoint and having each
linked probe fire when the tracepoint is hit.

PR:		230846
Approved by:	re (gjb)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D16921
2018-08-28 20:21:36 +00:00
..
dtmalloc dtrace: depessimize dtmalloc when dtrace is active 2018-04-24 01:06:20 +00:00
dtrace dtrace/powerpc: Correct register indices for non-indexed registers in the trapframe 2018-07-16 19:47:29 +00:00
fbt Allow multiple FBT probes to share a tracepoint. 2018-08-28 20:21:36 +00:00
profile Revert r326083, it doesn't behave as expected. 2018-06-03 03:53:11 +00:00
sdt lockstat: track lockstat just like sdt probes 2018-04-24 01:04:10 +00:00
systrace systrace: track it like sdt probes 2018-04-27 15:16:34 +00:00
prototype.c Use C99 initializers for DTrace provider methods. 2017-09-27 17:46:38 +00:00