[dtrace-discuss] Add dtrace probes to static function

Andreas.Haas at Sun.COM Andreas.Haas at Sun.COM
Tue May 13 01:57:37 PDT 2008


Dear Jenny,

I'm not know about all the differences between different S10 updates.

Yet as for the pid-provider the question is actually not about static or 
non-static function. Instead what counts is inlined vs. non-inlined 
function. Although compiler inlining for the sake of code optimization 
is clearly much more likely for static functions, but OOH function inlining 
can occur also between different C source modules depending on the compiler 
options and finally function inlining can be prevented also for static 
functions with corresponding #pragma directives OTOH.

As for a summary of my findings see

    http://wiki.gridengine.info/wiki/index.php/Dtrace
    http://bugs.opensolaris.org/view_bug.do?bug_id=6480235


Best regards,
Andreas

On Fri, 9 May 2008, Luojia Chen wrote:

> Hi,
>
> Is there any patch available for Solaris U1 to add dtrace probes to static function? Which update version of Solaris 10 support adding dtrace to static function?
>
> Thanks in advance for your information.
>
>   Luojia(Jenny) Chen
>   Software Engineer
>   ISV Engineering
>   v-mail:(510) 550-2394
>   SUN Microsystems
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
>

http://gridengine.info/

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


More information about the dtrace-discuss mailing list