oprofile/oprofile-no-libjvm-version.patch
Tony Jones 30510b72e2 Accepting request 145122 from home:jones_tony:branches:devel:tools
- Update to version 0.9.8.   
- Support for pre-2.6 kernels has been removed
- The sample data format has changed (see bug #3309794 below for details)
- A new 'operf' program is now available that allows non-root users to profile
  single processes. 'operf' can also be used for system-wide profiling, but
  root authority is required.  This capability requires a kernel version of
  2.6.31 or greater.
- New Processors Support:
  Tilera (tile64 tilepro tile-gx)
  IBM (System z10 z196)
  Intel Ivy Bridge
  ARMv7 (Cortex-A5 Cortex-A15 Cortex-A7)
- Numerous bugfixes

OBS-URL: https://build.opensuse.org/request/show/145122
OBS-URL: https://build.opensuse.org/package/show/devel:tools/oprofile?expand=0&rev=25
2012-12-11 19:01:54 +00:00

34 lines
883 B
Diff

From: Tony Jones <tonyj@suse.de>
Subject: Build libjvm[pt]i as so only
Upstream: no
Only expected user is Java.
Extracted from 0.9.7 patch 'oprofile-0.9.5-buildfixes.diff'
---
agents/jvmpi/Makefile.am | 1 +
agents/jvmti/Makefile.am | 1 +
2 files changed, 2 insertions(+)
--- a/agents/jvmpi/Makefile.am
+++ b/agents/jvmpi/Makefile.am
@@ -1,6 +1,7 @@
pkglib_LTLIBRARIES = libjvmpi_oprofile.la
libjvmpi_oprofile_la_CXXFLAGS = -W -Wall -fPIC
+libjvmpi_oprofile_la_LDFLAGS = -module -avoid-version
libjvmpi_oprofile_la_SOURCES = jvmpi_oprofile.cpp
--- a/agents/jvmti/Makefile.am
+++ b/agents/jvmti/Makefile.am
@@ -3,6 +3,7 @@ AM_CFLAGS = @OP_CFLAGS@
pkglib_LTLIBRARIES = libjvmti_oprofile.la
libjvmti_oprofile_la_CFLAGS = $(AM_CFLAGS) -fPIC
+libjvmti_oprofile_la_LDFLAGS = -module -avoid-version
libjvmti_oprofile_la_LIBADD = ../../libopagent/libopagent.la