Matthew Bromley-Barratt wrote:
> Hello all,
> 
> Newbie question: I'd like to use Dtrace for the following. In my source code 
> I want to place function calls that, when executed, results in an entry in a 
> trace log. As my programme runs the log grows and stores a record of when my 
> programme called the trace log functions. I then want to be able to view the 
> accumulated log in some tool which displays when the programme executed the 
> trace log functions on a per thread basis. The ideal would be time on the 
> horizontal axis, threads on the vertical, and marks plotted for each time a 
> trace log function had been called. Is this possible with Dtrace and 
> associated tools?
> 
> My background is in real time OSes, primarily WindRiver's VxWorks, and they 
> do an excellent tool called System Viewer (used to be called WindView) which 
> does as descibed above and whole lot more (semaphore acquisitions, priority 
> inheritence, interrupts, device driver and kernel activity, the lot). Take a 
> look at:
> 
> Figure 1.1 in:
> http://www.slac.stanford.edu/exp/glast/flight/sw/vxdocs/windview/wvug/c-intro.html#83877
> 
> Page 10 in:
> http://www.windriver.com/products/product-notes/workbench-product-note.pdf
> 
> Windview is excellent, makes multithreaded programming easy as pie, and it's 
> a nasty shock to come to the main stream OS world and find that the 
> development tools lack something as fundamentally good as this. Can Dtrace do 
> the same?
> 
> Cheers,
> 
> Matthew

Matthew,

you might be interested in Performance Analyzer which is part of Sun 
Studio 
(http://developers.sun.com/sunstudio/overview/topics/analyzer_index.html).

Menno
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to