On Tue, Apr 24, 2012 at 6:51 AM, William Cohen <wcohen@...> 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 (acme@...) 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
|