Dear all,
I''m new on this list and I''m asking here since I''m
not able to find
elsewhere what I''m looking for. I''m also relatively new to
dtrace...
What I need is, everytime a system call is made, to observe the user space
stack. This is easy with ustack(), but...
1) Is it possible to force ustack() to print hexadecimal addresses? I read
about "-x bufpolicy=ring", but this does not work for me since I need
to
process the system calls and the stacks continuously
2) Is it possible to print the ustack() output in a custom format? Or
should I use sed/awk/whatever for that?
An example...
Given this:
0 13942 write_nocancel:entry
0x96955d7c
0x1f4c
0x1f78
0x1fa4
0x1ec8
0xbffff9dc
Is it possible to have this?
0 13942 write_nocancel:entry
0x96955d7c 0x1f4c 0x1f78 0x1fa4 0x1ec8 0xbffff9dc
Thank you very much for any help!
-mc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20120203/452614b0/attachment.html>