To John Birrell: weird behaviors of DTrace on amd64

John Baldwin jhb at freebsd.org
Thu Feb 5 13:46:59 PST 2009


On Thursday 05 February 2009 11:31:52 am Klapper Zhu wrote:
> Hi John Birrell,
> 
> I am exploring DTrace on "7.1-STABLE FreeBSD amd64" and I found several
> weird behaviors:
> 
> 1) Not all kernel functions show up in fbt provider. Take isp(4) as example:
>     "dtrace -l" shows
>         static void isp_freeze_loopdown(ispsoftc_t *, int, char *);
> ___but not___
>         static void isp_handle_platform_atio2(ispsoftc_t *, at2_entry_t *);
> 
>     Both are static functions. But one shows up in fbt, another not.
>     What's the rational behind it ? Any way to fix it ?

Perhaps gcc inlined it?  Try using -fno-inline perhaps.

-- 
John Baldwin


More information about the freebsd-current mailing list