Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2019 20:43:12 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   =?windows-1251?Q?DTrace_SDT_probes_in_kernel_module_=97_how_to=3F?=
Message-ID:  <234087607.20190606204312@serebryakov.spb.ru>

index | next in thread | raw e-mail

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@FreeBSD.org
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?234087607.20190606204312>