On Tue, Apr 24, 2012 at 6:51 AM, William Cohen <wco...@redhat.com> wrote:
> Hi Arun,
>
> I don't have much experience with python and I am not that familiar with how 
> these scripts are suppose to be used.  Is there some description how these 
> are suppose to be used?

If everything works fine, you should be able to run:

cd python
./setup.py install
./self.py -> self counting
./sys.py  -> system wide counting

These are counting-only interfaces to perf_event_open() syscall, with
libpfm4 being used to fill up perf_event_attr.

Arnaldo (a...@redhat.com) has also been working on a python interface
to perf (tools/perf/python/twatch.py in the kernel git tree). That is
a higher level interface, but doesn't lookup libpfm4.

 -Arun

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to