I'm trying to monitor some multithreaded applications and I just found
the task_cpu example tool.  I can't get it to attach to any program
though, single or multithreaded, even something as simple as ls:

$ ./task_cpu -- /bin/ls
task_cpu: cannot attach event0 PERF_COUNT_HW_CPU_CYCLES: Permission denied

However, task_smpl and task work fine.  Is something special required
to get task_cpu to work?

-dan

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to