measuring accept queueing time (revisited)

Turgis, Frederic f-turgis@ti.com
Sun Dec 2 19:48:00 GMT 2012


>One way to cheat this is to go ahead and grab the implicit entry value
>for $newsock, and then use a dynamic @cast to get the member you really
>want at return time.  Something like:
>  @cast($newsock, "struct socket")->state
>

As a small addition to Josh comments: http://sourceware.org/ml/systemtap/2012-q1/msg00025.html summarizes few experiments, there seems to be also the possibility to control arrays in return probe.
But http://sourceware.org/bugzilla/show_bug.cgi?id=14437 is clearly an answer to this.


Regards
Fred

OMAP Platform Business Unit - System Platform Engineering - Platform & Product Entitlement


Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 12.654.784




More information about the Systemtap mailing list