Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2026-09-11 18:02:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Fri Sep 11 18:02:50 2026 rev:86 rq:1377026 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2026-07-28 
18:19:07.105067987 +0200
+++ /work/SRC/openSUSE:Factory/.perf.new.1265/perf.changes      2026-09-11 
18:06:36.694085302 +0200
@@ -1,0 +2,6 @@
+Thu Sep 10 23:44:33 UTC 2026 - Tony Jones <[email protected]>
+
+- Create perf-plugin-jvmti package to support JAVA profiling
+  (jsc#PED-16404 jsc#PED-16405)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.xrvTH7/_old  2026-09-11 18:06:38.317153469 +0200
+++ /var/tmp/diff_new_pack.xrvTH7/_new  2026-09-11 18:06:38.319153553 +0200
@@ -47,6 +47,7 @@
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
 BuildRequires:  gtk2-devel
+BuildRequires:  java-devel
 BuildRequires:  kernel-source >= 2.6.31
 BuildRequires:  libcap-devel
 # Debuginfod integration has major issues: boo#1213785
@@ -105,6 +106,18 @@
 %description devel
 Development headers for perf. This is currently only dlfilter header.
 
+%package plugin-jvmti
+Summary:        JVMTI agent for Java JIT profiling with perf
+Group:          Development/Tools/Other
+Requires:       %{name} = %{version}-%{release}
+Requires:       java
+
+%description plugin-jvmti
+This package contains the libperf-jvmti.so shared library agent.
+It allows the Linux 'perf' tool to map runtime Java Virtual Machine (JVM)
+Just-In-Time (JIT) compiled code addresses back to actual human-readable
+Java class and method names.
+
 %package bash-completion
 Summary:        Bash completion for perf
 Group:          System/Shells
@@ -149,7 +162,7 @@
 sed -i.old 's@\(all: .*\)info@\1@' tools/perf/Documentation/Makefile
 
 # PASS rpm optflags as EXTRA_FLAGS, passing as CFLAGS overrides and breaks 
build
-%define perf_options LIBTRACEEVENT_DYNAMIC=1 BUILD_BPF_SKEL=1 
EXTRA_CFLAGS="%{optflags}" ASCIIDOC8=1 USE_ASCIIDOCTOR=1 CORESIGHT=1 GTK2=1 
prefix=%{_prefix} libdir=%{_libdir} perfexecdir=lib/%{name}-core 
tipdir=share/doc/packages/perf %{_perf_unwind}
+%define perf_options JDIR=${JAVA_HOME} LIBTRACEEVENT_DYNAMIC=1 
BUILD_BPF_SKEL=1 EXTRA_CFLAGS="%{optflags}" ASCIIDOC8=1 USE_ASCIIDOCTOR=1 
CORESIGHT=1 GTK2=1 prefix=%{_prefix} libdir=%{_libdir} 
perfexecdir=lib/%{name}-core tipdir=share/doc/packages/perf %{_perf_unwind}
 
 %build
 cd tools/perf
@@ -187,6 +200,8 @@
 
 mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
 mv %{buildroot}%{_sysconfdir}/bash_completion.d/perf 
%{buildroot}%{_datadir}/bash-completion/completions/
+mkdir -p %{buildroot}%{_libdir}/perf
+mv %{buildroot}%{_libdir}/libperf-jvmti.so %{buildroot}%{_libdir}/perf/
 
 # temp workaround as perf Makefile is still installing plugins even with 
LIBTRACEEVENT_DYNAMIC=1
 rm -rf %{buildroot}/%{_libdir}/traceevent
@@ -223,3 +238,7 @@
 %defattr(-,root,root)
 %{python_sitearch}/perf*
 
+%files plugin-jvmti
+%dir %{_libdir}/perf
+%{_libdir}/perf/libperf-jvmti.so
+

Reply via email to