89 Commits

Author SHA256 Message Date
133840e7f5 Accepting request 1270248 from home:dimstar:Factory
- Drop perf-tools-annotate-asm_pure_loop.S.patch: 6.14.2, which is
  in Factory, contains this patch already (boo#1241339).

OBS-URL: https://build.opensuse.org/request/show/1270248
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=175
2025-04-17 10:34:18 +00:00
81b231a2ac drop pre 6.14 stuff
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=173
2025-04-09 04:46:07 +00:00
fe2010c001 Accepting request 1267998 from home:jones_tony:branches:devel:tools
- perf tools: annotate asm_pure_loop.S (bsc#1239906).
  New patch: perf-tools-annotate-asm_pure_loop.S.patch
- Add a brief explanation in spec on patch numbering convention.

OBS-URL: https://build.opensuse.org/request/show/1267998
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=172
2025-04-09 00:00:30 +00:00
8f729b4ba8 6.14 support
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=170
2025-02-10 10:50:46 +00:00
94290f57bf drop perf-fix-non-listed-archs.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=167
2024-11-14 09:21:37 +00:00
557c48c1e7 add .changes
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=166
2024-11-07 08:58:13 +00:00
a60d1f4b5c fix 6.12
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=163
2024-10-23 05:45:09 +00:00
9d9e5d5398 add perf-fix-non-listed-archs.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=160
2024-10-10 08:28:04 +00:00
5acb146b8e add upstream fix
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=158
2024-09-02 05:43:50 +00:00
aa5e2ccc90 add 0001-perf-trace-fix-build-on-32bit.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=156
2024-08-30 10:32:07 +00:00
0facb45bd8 Accepting request 1155604 from home:jones_tony:branches:devel:tools
- Fix issue where target=all was not building until %install
- Abstract out common make options to avoid specifying every time.
- Improve summary/description for python-perf package.
  Add dependecy on perf version.
- Build python-perf packages for all python flavors

OBS-URL: https://build.opensuse.org/request/show/1155604
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=154
2024-03-06 15:11:22 +00:00
e5538bdaef fix 6.7
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=152
2024-01-09 11:35:59 +00:00
8637a1dc1f supp 6.6
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=150
2023-09-18 10:20:08 +00:00
0ce41192ae Accepting request 1104189 from home:favogt:branches:devel:tools
- Disable debuginfod integration (boo#1213785)

OBS-URL: https://build.opensuse.org/request/show/1104189
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=148
2023-08-22 07:46:50 +00:00
68f23aa6b2 fix for 6.4
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=146
2023-05-11 08:18:23 +00:00
f535ea6bec fix 6.2 build
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=144
2023-01-11 08:03:59 +00:00
25d3d8bb71 rm perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=143
2023-01-09 07:11:02 +00:00
d624e481dd Accepting request 1010275 from home:gmbr3:Active
- Move bash-completion to subpackage so it isn't installed when
  not needed

OBS-URL: https://build.opensuse.org/request/show/1010275
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=142
2022-10-14 05:06:09 +00:00
908a07b9ef remove 5.19 patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=141
2022-10-12 06:42:06 +00:00
a326672434 Accepting request 1008409 from home:Andreas_Schwab:Factory
- Add a dummy -rebuild package to give OBS/Tumbleweed a hint when this
  package needs a rebuild

OBS-URL: https://build.opensuse.org/request/show/1008409
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=140
2022-10-07 08:07:51 +00:00
94e757b359 add perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=137
2022-10-03 08:41:42 +00:00
c6e6d101da Fix for kernel 6.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=135
2022-09-12 05:20:36 +00:00
815fac2778 Fix for kernel 6.0
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=133
2022-09-08 05:37:28 +00:00
85385d15cb Accepting request 971136 from home:marxin:branches:devel:tools
- Enable debuginfod support.

OBS-URL: https://build.opensuse.org/request/show/971136
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=131
2022-04-20 17:07:14 +00:00
2a1b859ec0 Accepting request 964940 from home:jones_tony:branches:devel:tools
- Enable bpf skel support.
  This enables shared counter support (--bpf-counters in perf-stat)

OBS-URL: https://build.opensuse.org/request/show/964940
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=129
2022-03-25 20:10:41 +00:00
3edd0f1641 reenable dwz
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=127
2022-02-24 08:39:14 +00:00
40e1ea5a0f - Fix build error due to stale conditional around %files devel
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=125
2021-11-24 17:40:03 +00:00
4faf90bbf5 Accepting request 933452 from home:jengelh:branches:devel:tools
- Split gtk portion into separate package (pulls in about 40
  packages for graphic systems that are not desired on text
  shells).
- Downgrade Requires: kernel to Recommends:. We are long past
  2.6.31 (its existence is pretty much guaranteed), and it forces
  installation of a distro kernel on systems that compile their own.

OBS-URL: https://build.opensuse.org/request/show/933452
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=124
2021-11-24 17:14:35 +00:00
f69fb76faa delete old stuff
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=123
2021-11-22 06:44:08 +00:00
d4a3e5425a fix 5.15
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=122
2021-11-03 10:44:38 +00:00
73c34fffb5 fix 5.15
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=121
2021-11-03 10:11:05 +00:00
6f6f56663a 5.14
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=120
2021-07-26 09:25:44 +00:00
01170ccf46 5.14
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=119
2021-07-26 07:05:45 +00:00
40486e0030 5.13 fix
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=118
2021-06-29 08:52:03 +00:00
ac74060e40 Accepting request 892957 from home:jones_tony:branches:devel:tools
- Switch to using libtraceevent shared library package.
  New patch: perf-tools-enable-libtraceevent-dynamic-linking.patch
- remove:
  * 0001-perf-annotate-Fix-jump-parsing-for-C-code.patch
  * 0001-perf-symbols-Resolve-symbols-against-debug-file-firs.patch
  They are part of 5.12 and therefore create a conflict.
- add:
  * 0001-perf-annotate-Fix-jump-parsing-for-C-code.patch
    (bsc#1182888)
  * 0001-perf-symbols-Resolve-symbols-against-debug-file-firs.patch
    (bsc#1180610)
- pass GTK2=1 to make (needed after 4751bddd3f98)
- Resolve build error due to updated kernel-source
  Delete patch: 0001-perf-fix-off-by-ones-in-memset-after-realloc.patch 
- add 0001-perf-fix-off-by-ones-in-memset-after-realloc.patch (bsc#1177113)
- remove perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch
  It's a 5.8 patch and we are already at 5.8.
- do not use libexecdir after the latest TW changes
- install bash completion to /usr, not /etc as is now the default
- require libcap, so that we support capabilities
- require babeltrace, so that we support conversion to CTF
- clean up spec file
- Remove libebl Requires for ppc64/ppc64le (boo#1174714)
  now that elfutils 0.178 do not generate it anymore.
- Link with CoreSight Trace Decode library (OpenCSD)
- perf.spec: incorporate automatic changes from osc 
- Fix build breakage on aarch64 and armv7 (bsc#1172741)
  New patch: perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch
- perf does not link with LTO, so define _lto_cflags %{nil}
- add libzstd-devel to BuildRequires to support trace compression
- fix gtk2 detection
- Update to latest perf
  Delete Python3 support patches now upstream
  Delete patch: update-tests-attr.py-to-support-python3.patch
  Delete patch: remove-shebang-from-scripts-python.patch
  Delete patch: remove-shebang-from-tests-attr.py.patch
  Delete patch: remove-shebang-from-util-setup.py.patch
  Delete patch: add-trace_context-extension-module-to-sys-modules.patch
  Delete patch: use-pybytes-for-attr-in-trace-event-python.patch
  Delete patch: port-event_analyzing_sample-script-to-python3.patch
  Delete patch: port-failed-syscalls-by-pid-script-to-python3.patch
  Delete patch: port-futex-contention-script-to-python3.patch
  Delete patch: port-intel-pt-events-script-to-python3.patch
  Delete patch: port-mem-phys-addr-to-python3.patch
  Delete patch: port-netdev-times-script-to-python3.patch
  Delete patch: port-net_dropmonitor-script-to-python3.patch
  Delete patch: port-powerpc-hcalls-script-to-python3.patch
  Delete patch: port-python-syscall-counts-script-to-python3.patch
  Delete patch: port-sctop-script-to-python3.patch
  Delete patch: port-sql-scripts-to-python3.patch
  Delete patch: port-stackcollapse-script-to-python3.patch
  Delete patch: port-stat-cpi-script-to-python3.patch
  Delete patch: port-syscall-counts-by-pid-script-to-python3.patch
  Delete patch: port-check-perf-trace-script-to-python3.patch
- Build with asciidoctor instead of asciidoc (bsc#1075764)
- Enable python3. Remove all uses of python2 (bsc#1082197)
  New patch: update-tests-attr.py-to-support-python3.patch
  New patch: remove-shebang-from-scripts-python.patch
  New patch: remove-shebang-from-tests-attr.py.patch
  New patch: remove-shebang-from-util-setup.py.patch
  New patch: add-trace_context-extension-module-to-sys-modules.patch
  New patch: use-pybytes-for-attr-in-trace-event-python.patch
  New patch: port-event_analyzing_sample-script-to-python3.patch
  New patch: port-failed-syscalls-by-pid-script-to-python3.patch
  New patch: port-futex-contention-script-to-python3.patch
  New patch: port-intel-pt-events-script-to-python3.patch
  New patch: port-mem-phys-addr-to-python3.patch
  New patch: port-netdev-times-script-to-python3.patch
  New patch: port-net_dropmonitor-script-to-python3.patch
  New patch: port-powerpc-hcalls-script-to-python3.patch
  New patch: port-python-syscall-counts-script-to-python3.patch
  New patch: port-sctop-script-to-python3.patch
  New patch: port-sql-scripts-to-python3.patch
  New patch: port-stackcollapse-script-to-python3.patch
  New patch: port-stat-cpi-script-to-python3.patch
  New patch: port-syscall-counts-by-pid-script-to-python3.patch
  New patch: port-check-perf-trace-script-to-python3.patch
- Update packaged include files to resolve build failures
- Update examples paths to resolve build failures.
- libebl ppc64 dependancy was inadvertantly dropped, regression from
  "
  Re-add dependancy (bsc#1106048)
- Package bpf examples into %{_docdir}/perf/examples/bpf
- Fix build errors
  Drop patch: perf-vendor-events-powerpc-update-power9-events.patch (upstream)
  Drop patch: perf-provide-definition-for-einval-on-32bit.patch (upstream)
- Escape the usage of %{VERSION} when calling out to rpm.
  RPM 4.14 has %{VERSION} defined as 'the main packages version'.
- Update power9 events (bsc#1069737)
  New patch: perf-vendor-events-powerpc-update-power9-events.patch
- Update patch context
  Refresh patch: perf-provide-definition-for-einval-on-32bit.patch
- Fix x86 32bit build error
  New patch: perf-provide-definition-for-einval-on-32bit.patch
- Fix build error (tips.txt) on Leap42.2
- Fix doc file attributes
- disable Werror completely. It breaks build due to shadow variables
  in external (perl) headers.
- add %{?_smp_mflags}
- Package perf-tips as docs.
- Include support for xz compressed images
- Support strace/data.
- enable numa support for aarch64
- Remove perf-fix-branch-stack-mode-cannot-be-set.patch (upstreamed).
- Fix build with GCC 5
  * perf-fix-branch-stack-mode-cannot-be-set.patch
- Fix ppc64/ppc64le breakage due to libexecdir/libdir 
- Inject libdir=%{_libdir} into make calls.
- Remove build hack for kernel not building against glibc 2.20.
- Build hack: if util/util.h does not (yet) define _DEFAULT_SOURCE,
  we export WERROR=0, which removes -Werror from CFLAGS. Once a
  kernel lands that defines _DEFAULT_SOURCE, we fail the build in
  to remove this hack, making it a (hopefully_ short-livinging one.
- Build for s390[x] without libunwind (bnc#882855)
- Fix current build including 'trace event' plugins
- Do not include 'trace event' plugins when on armv7l
- BuildRequire libnuma-devel to enable 'perf bench numa mem', but
  only require if we build for ia64 x86_64 ppc64 ppc64le  ppc %sparc
- Spec cleanup:
  * Add Url: https://perf.wiki.kernel.org/
  * Drop %clean-section: We don't need to cleanup the buildroot
  * bash_completion.d/perf doesn't need executable bit
- Fix build errors (invoke Makefile.perf directly to pass perfexecdir)
- Add /usr/bin/trace alias for perf (mainline b52bc234)
- Add libperf-gtk.so (loaded via dlsym, mainline fc67297b)
- Drop patch perl-5.18-nowarn.patch (mainline)
- add libperl_requires, as we link against libperl and thus
  need a specific version of perl
- Resolve build errors
- Drop patch perf-tests-ppc64-fix-compile-errors.patch (mainline)
- Refresh patch perl-5.18-nowarn.patch 
- Add patch 'perf-tests-ppc64-fix-compile-errors.patch' to resolve
  openSUSE:Factory:PowerPC testsuite build errors
- Add audit-devel, gtk2-devel and libunwind-devel to support optional
  functionality.
- Add 'perl-5.18-nowarn.patch' to squelch build errors from perl.h
- Add perl_requires
- Fix --version output (copy submakefiles from kernel-source)
- Pass SUSE rpm optflags into make as EXTRA_CFLAGS not CFLAGS
- Stop building with V=1, make output easier to parse
- Add /etc/bash_completion.d/perf to %files (fix build error)
- Fix build for factory 
  * added flex and bison to buildrequires 
- Also copy arch/lib to fix compilation on x86-64
- Correctly depend on libdw-devel to fix dwarf support
- Add newt-devel dependency to enable text user interface 
- Re-enable as-needed support since it works now
- 2.6.33 changes
  add perf-bench, perf-buildid-list, perf-diff, perf-kmem, perf-probe and
  perf-trace-perl
[Still pending, update of libdwarf to version > 20081231]
- 2.6.32 changes
  add perf-sched, perf-timechart and perf-trace man pages
- Remove libbfd.patch since it does not apply and use
  SUSE_ASNEEDED=0 instead.
- Set flag for asciidoc version 8.
- Initial checkin of Performance Counters for Linux (PCL) userspace. 
  This builds tools/perf out of kernel-source package and requires 
  kernel >= 2.6.31

OBS-URL: https://build.opensuse.org/request/show/892957
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=116
2021-05-13 20:14:18 +00:00
dedd453894 Accepting request 891400 from home:jones_tony:branches:devel:tools
- Switch to using libtraceevent shared library package.   Requires corresponding libtraceevent request 891399

OBS-URL: https://build.opensuse.org/request/show/891400
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=115
2021-05-07 22:04:57 +00:00
76f7ca9e5c rm patches
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=113
2021-04-26 05:46:12 +00:00
5445faa045 add 0001-perf-symbols-Resolve-symbols-against-debug-file-firs.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=111
2021-03-02 06:09:56 +00:00
4c5f4ad941 add 0001-perf-annotate-Fix-jump-parsing-for-C-code.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=110
2021-03-02 06:06:50 +00:00
ba3bb63c9a pass GTK2=1
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=108
2020-11-19 06:32:29 +00:00
02019bd776 Accepting request 849189 from home:jones_tony:branches:devel:tools
- Resolve build error due to updated kernel-source
  Delete patch: 0001-perf-fix-off-by-ones-in-memset-after-realloc.patch

OBS-URL: https://build.opensuse.org/request/show/849189
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=107
2020-11-18 01:10:05 +00:00
35925e61d1 Accepting request 838950 from home:jirislaby:branches:devel:tools
- add 0001-perf-fix-off-by-ones-in-memset-after-realloc.patch (bsc#1177113)

OBS-URL: https://build.opensuse.org/request/show/838950
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=105
2020-10-01 10:22:57 +00:00
0a74a261ac add babeltrace
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=97
2020-09-22 07:49:31 +00:00
4920f0893d fixes to let it build
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=96
2020-09-22 07:27:22 +00:00
0e6f3beccc Accepting request 823694 from home:michel_mno:branches:devel:tools
- Remove libebl Requires for ppc64/ppc64le (boo#1174714)
  now that elfutils 0.178 do not generate it anymore.

OBS-URL: https://build.opensuse.org/request/show/823694
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=94
2020-07-31 15:38:19 +00:00
e3d2075193 Accepting request 822176 from home:ykaukab
- Link with CoreSight Trace Decode library (OpenCSD)

- perf.spec: incorporate automatic changes from osc

OBS-URL: https://build.opensuse.org/request/show/822176
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=92
2020-07-22 14:36:03 +00:00
3289041428 Accepting request 814203 from home:jones_tony:branches:devel:tools
- Fix build breakage on aarch64 and armv7 (bsc#1172741)
  New patch: perf-cs-etm-move-definition-of-traceid_list-global-variable-from-header-file.patch

OBS-URL: https://build.opensuse.org/request/show/814203
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=90
2020-06-12 18:14:46 +00:00
a0a7bc33c7 Accepting request 744199 from home:jirislaby:branches:devel:tools
- perf does not link with LTO, so define _lto_cflags %{nil}
- add libzstd-devel to BuildRequires to support trace compression
- fix gtk2 detection

OBS-URL: https://build.opensuse.org/request/show/744199
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=88
2019-10-30 16:22:48 +00:00
bd5cde277a Accepting request 710018 from home:jones_tony:branches:devel:tools
- Update to latest perf
  Delete Python3 support patches now upstream
  Delete patch: update-tests-attr.py-to-support-python3.patch
  Delete patch: remove-shebang-from-scripts-python.patch
  Delete patch: remove-shebang-from-tests-attr.py.patch
  Delete patch: remove-shebang-from-util-setup.py.patch
  Delete patch: add-trace_context-extension-module-to-sys-modules.patch
  Delete patch: use-pybytes-for-attr-in-trace-event-python.patch
  Delete patch: port-event_analyzing_sample-script-to-python3.patch
  Delete patch: port-failed-syscalls-by-pid-script-to-python3.patch
  Delete patch: port-futex-contention-script-to-python3.patch
  Delete patch: port-intel-pt-events-script-to-python3.patch
  Delete patch: port-mem-phys-addr-to-python3.patch
  Delete patch: port-netdev-times-script-to-python3.patch
  Delete patch: port-net_dropmonitor-script-to-python3.patch
  Delete patch: port-powerpc-hcalls-script-to-python3.patch
  Delete patch: port-python-syscall-counts-script-to-python3.patch
  Delete patch: port-sctop-script-to-python3.patch
  Delete patch: port-sql-scripts-to-python3.patch
  Delete patch: port-stackcollapse-script-to-python3.patch
  Delete patch: port-stat-cpi-script-to-python3.patch
  Delete patch: port-syscall-counts-by-pid-script-to-python3.patch
  Delete patch: port-check-perf-trace-script-to-python3.patch

OBS-URL: https://build.opensuse.org/request/show/710018
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=86
2019-06-14 16:54:36 +00:00
7cc4d53618 Accepting request 666418 from home:tiwai:branches:devel:tools
- Build with asciidoctor instead of asciidoc (bsc#1075764)

OBS-URL: https://build.opensuse.org/request/show/666418
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=84
2019-01-16 18:18:05 +00:00