Small indirect result of previous post

It seems I’ve managed to decypher one more function from Alexander Anokhin’s blog, i.e. kcblnb_dscn

let’s have a look at dtracelio.d output

kcbgcur(0xFFFF80FFBFFF9640,2,247,0) [tsn: 3 rdba: 0x40c980 (1/51584) obj: -40016380 dobj: 4245888] where: 247 mode_held: 2
kcblnb_dscn(0xFFFF80FFBDDEAA00,18235954397446147,6,0)

if you have a look at second parameter of kcblnb_dscn(18235954397446147) in hex formatyou would see:
40C98100000003 and 40C981 is looking very familiar, is not it?
Very close to rdba: 40c980 and 3 is a number of my TEMP tablespace,

So I’ve append the script with the following parts:

pid$1::kcblnb_dscn:entry
{
rdba2 = arg1 >>32;
tsn2 = arg1 & 0xFFFFFFFF;
}

pid$1::kcblnb:entry, pid$1::kcblnb_dscn:entry
/trace_logical_io && show_lio_calls/
{
printf(“%s(0x%X,0x%X,%d,%d) [tsn: %d rdba: 0x%x )]\n”,probefunc,arg0,arg1,arg2,arg3, tsn2, rdba2);
}

and got result, like :

kcbgcur(0xFFFF80FFBFFF9D80,2,252,0) [tsn: 3 rdba: 0x40c400 (1/50176) obj: -40016374 dobj: 4244224] where: 252 mode_held: 2
kcbgtcr(0xFFFF80FFBFFF8B10,1,43,0) [tsn: 2 rdba: 0xc000e0 (3/224) obj: 0 dobj: -1] where: 43 exam: 1
kcbgcur(0xFFFF80FFBFFF9D80,2,252,0) [tsn: 3 rdba: 0x40c380 (1/50048) obj: -40016374 dobj: 4244224] where: 252 mode_held: 2
kcbgtcr(0xFFFF80FFBFFF8B10,1,43,0) [tsn: 2 rdba: 0xc000e0 (3/224) obj: 0 dobj: -1] where: 43 exam: 1
kcbgcur(0xFFFF80FFBFFF9690,2,247,0) [tsn: 3 rdba: 0x40c300 (1/49920) obj: -40016374 dobj: 4244224] where: 247 mode_held: 2
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30100000003,6,0) [tsn: 3  rdba: 40c301 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30200000003,6,0) [tsn: 3  rdba: 40c302 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30300000003,6,0) [tsn: 3  rdba: 40c303 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30400000003,6,0) [tsn: 3  rdba: 40c304 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30500000003,6,0) [tsn: 3  rdba: 40c305 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30600000003,6,0) [tsn: 3  rdba: 40c306 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30700000003,6,0) [tsn: 3  rdba: 40c307 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30800000003,6,0) [tsn: 3  rdba: 40c308 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30900000003,6,0) [tsn: 3  rdba: 40c309 )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30A00000003,6,0) [tsn: 3  rdba: 40c30a )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30B00000003,6,0) [tsn: 3  rdba: 40c30b )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30C00000003,6,0) [tsn: 3  rdba: 40c30c )]
kcblnb_dscn(0xFFFF80FFBDDEAA00,0x40C30D00000003,6,0) [tsn: 3  rdba: 40c30d )]
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s