diff options
author | avg <avg@FreeBSD.org> | 2013-04-25 07:04:56 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2013-04-25 07:04:56 +0000 |
commit | 8fa43243969eb2755f88d0f95597970608b69594 (patch) | |
tree | 05283829e4188e0a7f6e47b512695541f034f7d3 /Makefile.inc1 | |
parent | edefb5410f10c43a2d7f973cf61637076c20e494 (diff) | |
download | FreeBSD-src-8fa43243969eb2755f88d0f95597970608b69594.zip FreeBSD-src-8fa43243969eb2755f88d0f95597970608b69594.tar.gz |
revert r248644 because of the regression for usdt probes
USDT probes are advertised to kernel by initialization code with
atrribute((constructor))). It seems that on Solaris the .init-ish code
of the main object is executed before RD_PREINIT point is hit. On
FreeBSD that is not the case. And because on FreeBSD there is no other
well-defined point between RD_PREINIT and main() we have to parse a
DTrace script when main is hit, for time being.
A footnote: currently we actually post RD_POSTINIT event, but that's a
bug because the event is triggered by hitting r_debug_state which
happens before any init code is executed.
Reported by: markj
Diffstat (limited to 'Makefile.inc1')
0 files changed, 0 insertions, 0 deletions