[perfmon2] Patch to make perfmon2 play nicely with utrace

2008-03-28 Thread Maynard Johnson
patch that we've been using that fixes the compile failure and seems to functionally work. Feel free to use it if you wish. Please let me know if it seems correct to you. Thanks. Maynard Johnson IBM POWER Toolchain Team --- linux-2.6.24+perfmon2/perfmon/perfmon_syscalls.c 2008-02-15 14:

Re: [perfmon2] Patch to make perfmon2 play nicely with utrace

2008-03-31 Thread Maynard Johnson
ce has other undesirable side effects, such as > redirecting signals. > > - Suppose I would like to add your patch to the existing tree, what > CONFIG_XXX should > I use to make this code compile only of utrace is enabled? There is a CONFIG_UTRACE option. Regards, -Maynard >

Re: [perfmon2] IV.3 - AMD IBS

2009-06-22 Thread Maynard Johnson
Rob Fowler wrote on 06/22/2009 09:08:34 AM: > > > Ingo Molnar wrote: > >> 3/ AMD IBS > >> > >> How is AMD IBS going to be implemented? > >> > >> IBS has two separate sets of registers. One to capture fetch > >> related data and another one to capture instruction execution > >> data. For each, the

[perfmon2] [PATCH 0/2] Fixes to 'make install' to better conform to standards

2012-12-04 Thread Maynard Johnson
I had a need to build and install libpfm4 recently and found some unexpected behavior: 1) On my Intel Sandybridge/RHEL 6.3 system, 'make install' put the header files and pfm* man pages in the expected locations in /usr/local. However, the libpfm library files (which were built as 64-bit binar

[perfmon2] [PATCH 1/2] Fix installation to honor PREFIX and LIBDIR

2012-12-04 Thread Maynard Johnson
lib/Makefile install target, since that results in and error when a non-root user is trying to install. The README was updated to document the three changes made in this patch. Signed-off-by: Maynard Johnson --- README | 14 ++ config.mk|8 ++-- lib/Makefile |

[perfmon2] [PATCH 2/2] Remove BITMODE stuff for ppc64 as it is no longer needed

2012-12-04 Thread Maynard Johnson
both of these distros, the default for the gcc compiler is to build 64-bit binaries. This fact, along with the previous patch in this series having made LIBDIR behave correctly, means that there's no further need for the ppc64-specific BITMODE variable to pass to make. Signed-off-by: Ma

Re: [perfmon2] [PATCH 1/2] Fix installation to honor PREFIX and LIBDIR

2012-12-06 Thread Maynard Johnson
On 12/05/2012 11:10 PM, Stephane Eranian wrote: > On Wed, Dec 5, 2012 at 12:43 AM, Maynard Johnson wrote: >> Fix installation to honor PREFIX and LIBDIR >> >> This patch changes the behavior of 'make install' so >> that a user can pass PREFIX to have the libpf

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