N_conreq:entry { self->x=1; calledaddr=(struct xaddrf *)arg3; callingaddr=(struct xaddrf *)arg4;
trace(calledaddr->link_id); tracemem(calledaddr->DTE_MAC.lsap_add, 80); trace(callingaddr->link_id); tracemem(callingaddr->DTE_MAC.lsap_add, 80); } 0 -> N_conreq 255 <===== first link_id 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef <===== first tracemem 0: 12 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .0.............. 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 20: 00 ff 00 03 45 60 00 00 00 00 00 00 00 00 00 00 ....E`.......... 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 255 E` ^ ^-- dtrace being smart here? The memory is 0x45 0x60 0x00 ... which is E` in ascii. 2nd link_id Is there a way to really trace 80 bytes of memory? Thank you -- Vlad
pgp1lmQmlcg30.pgp
Description: PGP signature
_______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org