HomeFreeBSD

libdtrace: add support for lazyload mode.

Description

libdtrace: add support for lazyload mode.

Passing "-x lazyload" to dtrace -G during compilation causes dtrace(1) to
not link drti.o into the output object file, so the USDT probes are not created
during process startup. Instead, dtrace(1) will automatically discover and
create probes on the process' behalf when attaching.

Differential Revision: https://reviews.freebsd.org/D2203
Reviewed by: rpaulo
MFC after: 1 month

Details

Provenance
markjAuthored on
Reviewer
rpaulo
Differential Revision
D2203: libdtrace: add support for lazyload mode
Parents
rS281256: MFC r280959:
Branches
Unknown
Tags
Unknown

Event Timeline