Displaying tuples currently in the cache
You can display all the tuples currently in the cache for a trace point.
To display all the tuples currently in the cache for a trace point, use the
(s)show-probepoint
command:
s <probe-point-id> [t]
This example shows all fields for all cached tuples.
(sdb) s 1
+ 1 Tracepoint CountOneLine o 0 cached:25/25
traced:49 in 06 secs
lines, 1, int32
wcs, {words=0,chars=1}, tuple<int32 words,int32 chars>
lines, 1, int32
wcs, {words=5,chars=22}, tuple<int32 words,int32 chars>
lines, 1, int32
wcs, {words=2,chars=27}, tuple<int32 words,int32 chars>
lines, 1, int32
... # output truncated for brevity
You can use the
t
optional parameter to have the
tuples that are displayed in a table format.(sdb) s 1 t
+ 1 Tracepoint CountOneLine o 0 cached:25/25 traced:42 in 02:02 mins
lines wcs
1 {words=17..
1 {words=30..
1 {words=1,..
... # output truncated for brevity