DTrace SDT probes in kernel module — how to?
Lev Serebryakov
lev at FreeBSD.org
Thu Jun 6 17:43:16 UTC 2019
Hello Freebsd-hackers,
What should I do to add SDT probes into kernel module. I've tried to add simple
DTRACE_PROBE1(module__name, type, value);
to source code. No errors, no probes after module load. I've added WITH_CTF=1 to make
command line. Warnings from ctfmerge, no probes after module load.
What is proper way to add SDT probes to module and how should I build it?
--
Best regards,
Lev mailto:lev at FreeBSD.org
More information about the freebsd-hackers
mailing list