> Nevermind, I was able to get root access on the machines.  I have a
> different problem now, though -- it reports all of the per-CPU counts
> as 0.  On a two-threaded program:

I was curious enough to track this down.

Support for "per-task per-cpu" counters wasn't added until the 2.6.33
kernel, specifically changeset f4c4176f21533e22bcc292030da72bcfa105f5b8

Before that access with task_cpu required root and would always return 0.

Unfortunately there's not much that can be done about it except run on a 
newer kernel.

Vince
vweav...@eecs.utk.edu

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to