On Sat, Dec 19, 2009 at 12:06 AM, Vlad Slavici <vs...@ccs.neu.edu> wrote:
> Hello,
>
> I would like to monitor a multi-threaded program. For a single-threaded 
> executable, I use:
>
> libpfm4/perf_examples/task -e L2_FILL_WRITEBACK:L2_WRITEBACKS ./program
>
> Do I need to add any parameters to this command to monitor all threads in a 
> multi-threaded program?
>
Try the inherit mode of the example, run task -i ... I will aggregate
counts across fork and pthread_create.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to