Date: Thu, 24 Jan 2013 10:45:58 -0800 From: Yuri <yuri@rawbw.com> To: Ryan Stone <rysto32@gmail.com> Cc: FreeBSD Hackers <hackers@freebsd.org> Subject: Re: Why DTrace sensor is listed but not called? Message-ID: <51018166.4000706@rawbw.com> In-Reply-To: <CAFMmRNxvLU4WA7uV3TkixEz6vh8NDc%2BARM_b2d8igHAMXKy-EQ@mail.gmail.com> References: <50FEEB6C.7090303@rawbw.com> <CAFMmRNxvLU4WA7uV3TkixEz6vh8NDc%2BARM_b2d8igHAMXKy-EQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/22/2013 16:03, Ryan Stone wrote: > Offhand, I can't of why this isn't working. However there is already a way > to add new DTrace probes to the kernel, and it's quite simple, so you could > try it: Thank you for this information, this works. As for my previous approach, there is a bug in gcc that static empty functions with 'noinline' attributes get eliminated by the optimizer. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56099 Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51018166.4000706>