This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: measuring accept queueing time (revisited)


>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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]