Re: [perfmon2] Perf. monitoring for java applications

2014-04-02 Thread Binh Pham
Hi Wei, This is great. I will give it a try to see if it works on my setup. Thanks a bunch! Binh On Apr 2, 2014, at 7:12 PM, Wei Wang wrote: > Hi Binh, > > I did a remake of "pfmon" for the newer kernels and libpfm4 long time ago. > It's not as powerful as the old pfmon (I only need a few of

Re: [perfmon2] Perf. monitoring for java applications

2014-04-02 Thread Wei Wang
Hi Binh, I did a remake of "pfmon" for the newer kernels and libpfm4 long time ago. It's not as powerful as the old pfmon (I only need a few of its functions), but it can do system-wide monitoring. I put the code at https://github.com/wwang/pfm_multi. Feel free to check it out. cheers, Wei On

Re: [perfmon2] Perf. monitoring for java applications

2014-04-02 Thread Binh Pham
Hi Maynard, Thanks for your suggestion. Right, I have been using oprofile for a while. The reason I need libpfm specifically is when using oprofile in a virtual machine with PMC already exported by the host, oprofile doesn’t list all events that I need properly. However, libpfm does seem to see

Re: [perfmon2] Perf. monitoring for java applications

2014-04-02 Thread Maynard Johnson
On 04/01/2014 04:02 PM, Binh Pham wrote: > Hi all, > Sorry if this is a basic question (I searched in the list and don’t seem to > find a hit). > Has anyone had experience with using libpfm for Java applications as all > examples in the perf_examples folder are in C? I would appreciate if someon

[perfmon2] Perf. monitoring for java applications

2014-04-01 Thread Binh Pham
Hi all, Sorry if this is a basic question (I searched in the list and don’t seem to find a hit). Has anyone had experience with using libpfm for Java applications as all examples in the perf_examples folder are in C? I would appreciate if someone can give me some pointer about that. Another ap