Lines Matching +full:lock +full:- +full:latency +full:- +full:ns
27 .Nd report kernel lock and profiling statistics
31 .Op Fl e Ar event-list
34 .Op Fl n Ar num-records
35 .Op Fl l Ar lock Oo Ns , Ns Ar size Oc
37 .Op Fl f Ar function Oo Ns , Ns Ar size Oc
42 .Op Fl x Ar opt Oo Ns = Ns Ar val Oc
55 monitors all lock contention events, gathers frequency and timing data about
61 For example, to gather statistics for a fixed-time interval, use
71 establishes a per-processor high-level periodic interrupt source to gather
88 is restricted to super-user by default.
91 .Bl -tag -width indent
98 .Bl -tag -width indent
100 Watch all lock events.
108 .It Fl e Ar event-list
110 .Ar event-list
111 is a comma-separated list of events or ranges of events such as 1,4-7,35.
126 .Bl -tag -width indent
127 .It Fl x Ar arg Oo Ns = Ns Ar val Oc
136 .Bl -tag -width indent
138 Basic statistics: lock, caller, number of events.
140 Histogram: timing plus time-distribution histograms.
149 .Bl -tag -width indent
153 .It Fl f Ar func Ns Oo Ns , Ns Ar size Oc Ns
159 .It Fl l Ar lock Ns Oo Ns , Ns Ar size Oc Ns
161 .Ar lock ,
165 .It Fl n Ar num-records
172 .Bl -tag -width indent
214 Whichever: distinguish events only by caller, not by lock.
216 Wherever: distinguish events only by lock, not by caller.
220 .Bl -tag -width indent
238 For the profiling event, duration means interrupt latency.
239 .It Lock
240 Address of the lock; displayed symbolically if possible.
250 .Bl -tag -width 0n
251 .It Example 1 Measuring Kernel Lock Contention
254 .Bd -literal
257 Count indv cuml rcnt nsec Lock Caller
258 -------------------------------------------------------------------------------
280 Count indv cuml rcnt nsec Lock Caller
281 -------------------------------------------------------------------------------
288 -------------------------------------------------------------------------------
293 .Li # lockstat -H -D 10 sleep 1
294 .Bd -literal
297 Count indv cuml rcnt nsec Lock Caller
298 -------------------------------------------------------------------------------
309 -------------------------------------------------------------------------------
314 Count indv cuml rcnt nsec Lock Caller
315 -------------------------------------------------------------------------------
326 -------------------------------------------------------------------------------
330 .Li # lockstat -H -f tcp_input -s 50 -D 10 sleep 1
331 .Bd -literal
334 -------------------------------------------------------------------------------
335 Count indv cuml rcnt nsec Lock Caller
338 nsec ------ Time Distribution ------ count Stack
346 -------------------------------------------------------------------------------
347 Count indv cuml rcnt nsec Lock Caller
350 nsec ------ Time Distribution ------ count Stack
359 -------------------------------------------------------------------------------
373 Tail-call elimination can affect call sites.
375 .Fn foo Ns +0x50
387 .Fn foo Ns +0x58.
393 .Fn foo Ns +0x58.