SHA256
1
0
forked from pool/perf

173 Commits

Author SHA256 Message Date
b15e72051e Accepting request 1270258 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1270258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=83
2025-04-17 14:07:44 +00:00
9312812410 - 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/package/show/devel:tools/perf?expand=0&rev=175
2025-04-17 10:34:18 +00:00
5f561d61e2 Accepting request 1267999 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1267999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=82
2025-04-09 19:50:20 +00:00
5b34ea0021 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
da539756cf - 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/package/show/devel:tools/perf?expand=0&rev=172
2025-04-09 00:00:30 +00:00
001a9e6c6a Accepting request 1246397 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1246397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=81
2025-02-17 19:56:40 +00:00
d7b9924e2f 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
24500df521 Accepting request 1224125 from devel:tools
- drop perf-fix-non-listed-archs.patch
  it was merged to 6.11.7

OBS-URL: https://build.opensuse.org/request/show/1224125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=80
2024-11-14 15:09:54 +00:00
55848b74f9 drop perf-fix-non-listed-archs.patch
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=168
2024-11-14 09:25:43 +00:00
30a5642bc5 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
4b463f8d07 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
ca8cab852a update upstream status
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=165
2024-10-31 07:14:07 +00:00
ea4c836bdd Accepting request 1217159 from devel:tools
- use %{version_pure} for patch in/exclusion (and apply 6.12 patch only
  on < 6.12)

OBS-URL: https://build.opensuse.org/request/show/1217159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=79
2024-10-23 19:10:57 +00:00
84df3bbc5e 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
235cd3e165 Accepting request 1206671 from devel:tools
- add perf-fix-non-listed-archs.patch to fix armv7l build

OBS-URL: https://build.opensuse.org/request/show/1206671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=78
2024-10-11 15:02:24 +00:00
2ad395905d update perf_tools_Build_x86_32-bit_syscall_table_from_arch_x86_entry_syscalls_sysca upstream status
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=161
2024-10-10 08:31:07 +00:00
d507b5306d 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
0928ab92a4 Accepting request 1199539 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1199539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=77
2024-09-09 12:44:54 +00:00
8bcc5ed65f Accepting request 1197790 from devel:tools
- add 0001-perf-trace-fix-build-on-32bit.patch
  to fix build on i586 with 6.11+

OBS-URL: https://build.opensuse.org/request/show/1197790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=76
2024-09-01 17:21:27 +00:00
8c152ec185 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
0dc8d96bb7 Accepting request 1155605 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1155605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=75
2024-03-06 22:06:39 +00:00
a876fc3f1c 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
40a6d3db37 Accepting request 1137712 from devel:tools
- remove 6.5 code
- fix build with 6.7 (tar also arch/*/tools)

OBS-URL: https://build.opensuse.org/request/show/1137712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=74
2024-01-09 19:51:16 +00:00
3b5e139924 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
cce0f9fb6c Accepting request 1111941 from devel:tools
- fix build for 6.6

OBS-URL: https://build.opensuse.org/request/show/1111941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=73
2023-09-20 11:26:44 +00:00
2b1a93c1d8 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
444025485c Accepting request 1105196 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1105196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=72
2023-08-23 12:57:37 +00:00
efd31a3261 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
4036c0f316 Accepting request 1086192 from devel:tools
- add gcc and gcc-c++ to BuildRequires. gcc is needed but not
  listed. c++ is not installed by default and is needed since 6.4.

OBS-URL: https://build.opensuse.org/request/show/1086192
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=71
2023-05-11 10:34:12 +00:00
88f7eb950b 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
115b61d230 Accepting request 1057729 from devel:tools
- fix build for 6.2

- drop perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
  (6.1 landed to TW)

- drop perf-5.15-don-t-install-headers-with-x-permissions.patch
  (6.0 landed to TW)

- Move bash-completion to subpackage so it isn't installed when
  not needed

- 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/1057729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=70
2023-01-11 13:35:51 +00:00
42bb05bd5d 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
94d71e04c3 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
3cc37e93a5 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
ac783b1b54 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
0b20994933 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
6278d178e7 Accepting request 1007664 from devel:tools
- add perf-6.0-lock_contention_fix_a_build_error_on_32_bit.patch
  * needed still in 6.0 to fix build on 32bit.

OBS-URL: https://build.opensuse.org/request/show/1007664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=69
2022-10-03 11:46:59 +00:00
9c71902420 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=138
2022-10-03 11:03:24 +00:00
cc1c3f127c 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
b304b0c9f2 Accepting request 1002560 from devel:tools
- remove perf-6.0-don-t-install-headers-with-x-permissions.patch
  It is a part of 6.0-rc5, finally!

OBS-URL: https://build.opensuse.org/request/show/1002560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=68
2022-09-12 17:08:08 +00:00
8ba1735dc2 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
5600046fc1 Accepting request 1001822 from devel:tools
- Fix for kernel 6.0
  * add perf-6.0-don-t-install-headers-with-x-permissions.patch
  * add python3-setuptools to BuildRequires

OBS-URL: https://build.opensuse.org/request/show/1001822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=67
2022-09-08 12:23:31 +00:00
3d7ed2617f 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
3238240fb3 Accepting request 971218 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/971218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=66
2022-04-21 13:42:16 +00:00
4add95793b 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
4f906f41ff Accepting request 964941 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/964941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=65
2022-03-25 20:55:13 +00:00
37c3bded47 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
83c0b94534 Accepting request 958698 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/958698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=64
2022-03-03 23:17:43 +00:00
653a57c485 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
8ba45625c6 Accepting request 933728 from devel:tools
- Fix build error due to stale conditional around %files devel
- 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.
- Cleanup for < 5.14
  * Remove:
    perf-5.14-don-t-install-headers-with-x-permissions.patch
    perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch
  * -devel is always built

OBS-URL: https://build.opensuse.org/request/show/933728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=63
2021-11-25 22:05:35 +00:00
af9eb166ae OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=126 2021-11-24 17:41:20 +00:00
5e5d738bc2 - 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
abd8000714 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
5587d34094 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
8988315c9b Accepting request 928994 from devel:tools
- Fix for kernel 5.15
  add perf-5.15-don-t-install-headers-with-x-permissions.patch
- skip info files generation which was enabled in 5.15

OBS-URL: https://build.opensuse.org/request/show/928994
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=62
2021-11-03 16:26:30 +00:00
31c55932a4 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
4f3b093563 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
f116180139 Accepting request 909041 from devel:tools
- Fix for kernel 5.14
  * add perf-5.14-don-t-install-headers-with-x-permissions.patch
  * add perf-5.14-remove-shebang-from-scripts-perl-python-.-pl-py.patch

OBS-URL: https://build.opensuse.org/request/show/909041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=61
2021-07-29 19:31:55 +00:00
0dc38a6e9f 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
ed1ee86ac0 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
bbae20a9c2 Accepting request 902997 from devel:tools
- remove perf-tools-enable-libtraceevent-dynamic-linking.patch
  (it's in 5.13)

OBS-URL: https://build.opensuse.org/request/show/902997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=60
2021-07-07 16:30:02 +00:00
7a28968ac4 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
e87efbed61 Accepting request 892958 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/892958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=59
2021-05-15 21:16:09 +00:00
2ecbcdedb8 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
de980f136a 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
65d3933e3b Accepting request 888347 from devel:tools
- 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.

OBS-URL: https://build.opensuse.org/request/show/888347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=58
2021-04-26 14:39:22 +00:00
3d95fce7c4 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
Richard Brown
fc3fb3cf2f Accepting request 876132 from devel:tools
- 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)

OBS-URL: https://build.opensuse.org/request/show/876132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=57
2021-03-02 11:36:13 +00:00
60febf7742 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
2d589fb8a9 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
5130cde3cc Accepting request 849332 from devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/849332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=56
2020-11-19 11:01:31 +00:00
c6d7f44807 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
396ef36c88 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
eff4fbbc33 Accepting request 838951 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/838951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=55
2020-10-02 15:37:26 +00:00
1e2354241d 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
60622ffb7b Accepting request 836067 from devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/836067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=54
2020-09-22 19:15:07 +00:00
dd86ae2fe4 add a note about dwz bug
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=103
2020-09-22 10:59:03 +00:00
bef1b204a3 fix arm
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=102
2020-09-22 08:41:31 +00:00
6e612b11d6 fix arm
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=101
2020-09-22 08:38:10 +00:00
47a2922ead .
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=100
2020-09-22 08:36:32 +00:00
c84df49aaf fix arm
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=99
2020-09-22 08:01:04 +00:00
f9dd1ecc3d fix debuginfo
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=98
2020-09-22 07:57:15 +00:00
1e8147657a 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
a01bccfe91 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
4648facdfc Accepting request 823766 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/823766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=53
2020-08-01 10:32:34 +00:00
e79102150d 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
87531a7a26 Accepting request 822275 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/822275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=52
2020-07-24 08:02:40 +00:00
4f3dd63ddc 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
7dc16105c8 Accepting request 814204 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/814204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=51
2020-06-12 19:46:35 +00:00
d720176783 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
ee8a6b3fd5 Accepting request 744273 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/744273
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=50
2019-10-31 21:21:48 +00:00
537c5d293b 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
6fe9921009 Accepting request 710019 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/710019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=49
2019-06-14 18:43:21 +00:00
4f42cf2784 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
ac9239d092 Accepting request 666531 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/666531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=48
2019-01-21 09:58:29 +00:00
286717cdc1 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
fe830b1b6e Accepting request 664472 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/664472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=47
2019-01-11 13:06:01 +00:00
df7f7220af Accepting request 664471 from home:jones_tony:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/664471
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=82
2019-01-11 05:48:20 +00:00
4bc8068b93 Accepting request 657723 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/657723
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=46
2018-12-13 18:49:27 +00:00
8dc4bfc813 Accepting request 657722 from home:jones_tony:branches:devel:tools
- Update packaged include files to resolve build failures

OBS-URL: https://build.opensuse.org/request/show/657722
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=80
2018-12-13 01:00:34 +00:00
4518b9f183 Accepting request 642717 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/642717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=45
2018-10-18 13:38:26 +00:00
d1d8c47a3c Accepting request 642716 from home:jones_tony:branches:devel:tools
- Update examples paths to resolve build failures.

OBS-URL: https://build.opensuse.org/request/show/642716
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=78
2018-10-17 19:49:53 +00:00
73b685d842 Accepting request 631855 from devel:tools
- libebl ppc64 dependancy was inadvertantly dropped, regression from
  "
  Re-add dependancy (bsc#1106048)

OBS-URL: https://build.opensuse.org/request/show/631855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=44
2018-08-28 07:25:03 +00:00
db64a73250 - libebl ppc64 dependancy was inadvertantly dropped, regression from
"Thu Jun 15 22:27:56 - Add ppc64 requires on libebl (bsc#1040770)".
  Re-add dependancy (bsc#1106048)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=76
2018-08-27 20:30:23 +00:00
d418eab723 Accepting request 631427 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/631427
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=43
2018-08-27 10:59:06 +00:00
b6ee04553f Accepting request 631426 from home:jones_tony:branches:devel:tools
- Package bpf examples into %{_docdir}/perf/examples/bpf

OBS-URL: https://build.opensuse.org/request/show/631426
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=74
2018-08-24 20:30:04 +00:00
3bc0e71884 Accepting request 601689 from devel:tools
- 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)

OBS-URL: https://build.opensuse.org/request/show/601689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=42
2018-04-27 14:09:30 +00:00
d9c7be5d12 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=72
2018-04-26 19:37:57 +00:00
5dde65193f OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=71 2018-04-26 19:24:25 +00:00
89b8bd050c Accepting request 555026 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/555026
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=41
2017-12-08 12:01:06 +00:00
447fd3f300 Accepting request 554992 from home:dimstar:Factory
Fix build with RPM 4.14

OBS-URL: https://build.opensuse.org/request/show/554992
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=69
2017-12-07 13:14:33 +00:00
1415660775 Accepting request 548440 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/548440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=40
2017-12-06 07:59:23 +00:00
83ea018e43 Accepting request 548439 from home:jones_tony:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/548439
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=67
2017-12-04 22:00:16 +00:00
9007165d4e Accepting request 526437 from devel:tools
- Fix x86 32bit build error
  New patch: perf-provide-definition-for-einval-on-32bit.patch

OBS-URL: https://build.opensuse.org/request/show/526437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=39
2017-09-17 20:38:23 +00:00
136c326743 - Fix x86 32bit build error
New patch: perf-provide-definition-for-einval-on-32bit.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=65
2017-09-15 21:27:20 +00:00
453091d143 Accepting request 424300 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/424300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=38
2016-09-07 09:44:35 +00:00
684d19483b OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=64 2016-09-01 15:16:00 +00:00
2bb5613d65 OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=63 2016-09-01 15:15:32 +00:00
9c51a9a7ef OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=62 2016-09-01 15:14:16 +00:00
988c8d8d62 OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=61 2016-09-01 15:05:31 +00:00
0cec30f2a5 OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=60 2016-09-01 15:04:39 +00:00
69274fc7b0 Accepting request 424193 from home:simotek:branches:devel:tools
Fix Leap 42.2 Build (Will need to submit this there as well as Factory)

OBS-URL: https://build.opensuse.org/request/show/424193
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=59
2016-09-01 14:58:33 +00:00
71937db93c Accepting request 400327 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/400327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=37
2016-06-09 14:11:27 +00:00
4e2584b5c1 Accepting request 400273 from home:jirislaby:branches:devel:tools
- disable Werror completely. It breaks build due to shadow variables
  in external (perl) headers.
- add %{?_smp_mflags}

OBS-URL: https://build.opensuse.org/request/show/400273
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=57
2016-06-06 17:45:59 +00:00
01b86368f1 Accepting request 384297 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/384297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=36
2016-04-07 11:32:22 +00:00
0dd509e548 Accepting request 384294 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/384294
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=55
2016-04-04 22:21:58 +00:00
ba9b6bbea3 Accepting request 354526 from devel:tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/354526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=35
2016-01-20 08:54:48 +00:00
c4f875e761 - Support strace/data.
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=53
2016-01-11 11:14:21 +00:00
894f1727d7 Accepting request 337950 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/337950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=34
2015-10-14 14:45:06 +00:00
925f3ea9f1 Accepting request 337936 from devel:ARM:Factory
- enable numa support for aarch64

OBS-URL: https://build.opensuse.org/request/show/337936
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=51
2015-10-11 18:34:57 +00:00
Stephan Kulow
dc048d95e3 Accepting request 317530 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/317530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=33
2015-07-20 09:22:55 +00:00
6c9f489141 Accepting request 317519 from home:1Antoine1:branches:devel:tools
- Remove perf-fix-branch-stack-mode-cannot-be-set.patch (upstreamed).

OBS-URL: https://build.opensuse.org/request/show/317519
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=49
2015-07-19 19:14:51 +00:00
5177aef0a2 Accepting request 314363 from devel:tools
- Fix build with GCC 5
  * perf-fix-branch-stack-mode-cannot-be-set.patch

OBS-URL: https://build.opensuse.org/request/show/314363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=32
2015-06-30 08:19:34 +00:00
d8b2e461ab - Fix build with GCC 5
* perf-fix-branch-stack-mode-cannot-be-set.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=47
2015-06-29 11:44:14 +00:00
173656479e - Fix build with GCC 5: add
perf-fix-branch-set-mode-cannot-be-set.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=46
2015-06-29 11:39:25 +00:00
f54551b9fb Accepting request 314319 from home:1Antoine1:branches:devel:tools
- Fix build with GCC 5: add perf-fix-branch-set-mode-cannot-be-set.patch.

OBS-URL: https://build.opensuse.org/request/show/314319
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=45
2015-06-29 11:30:16 +00:00
Stephan Kulow
5930f08d63 Accepting request 306680 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/306680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=31
2015-05-15 05:43:59 +00:00
de4d5cf0ba Accepting request 306679 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/306679
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=43
2015-05-13 02:05:44 +00:00
0d7b6d4335 Accepting request 290037 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/290037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=30
2015-03-11 08:58:18 +00:00
2cb7c2415a Accepting request 290034 from home:dimstar:Factory
- Inject libdir=%{_libdir} into make calls.

OBS-URL: https://build.opensuse.org/request/show/290034
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=41
2015-03-09 13:31:54 +00:00
e253fdabee Accepting request 280341 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/280341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=29
2015-01-08 22:03:28 +00:00
1ad9bd4d04 Accepting request 280266 from home:dimstar:branches:devel:tools
- Remove build hack for kernel not building against glibc 2.20.

OBS-URL: https://build.opensuse.org/request/show/280266
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=39
2015-01-08 14:44:22 +00:00
d803d45d1b Accepting request 264750 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/264750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=28
2014-12-16 13:47:57 +00:00
b20163bb09 Accepting request 263222 from home:dimstar:branches:devel:tools
- 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.

This fixes build of perf with glibc 2.20; once kernel 3.18 lands
(containing commit 512fe365373b9c95a70b4b6357503ee74d27214f), perf will
fail here and the hack added can be removed again.

OBS-URL: https://build.opensuse.org/request/show/263222
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=37
2014-12-11 07:38:01 +00:00
Stephan Kulow
bbae7d9c8c Accepting request 239216 from devel:tools
1

OBS-URL: https://build.opensuse.org/request/show/239216
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=26
2014-07-02 13:05:16 +00:00
831cd0f200 Accepting request 239215 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/239215
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=35
2014-07-01 18:24:01 +00:00
Stephan Kulow
61c6d1e5a4 Accepting request 227703 from devel:tools
Fix current build, minor spec cleanup (forwarded request 227486 from aeneas_jaissle)

OBS-URL: https://build.opensuse.org/request/show/227703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=25
2014-03-28 11:11:55 +00:00
2244e14fa6 Accepting request 227486 from home:aeneas_jaissle:branches:devel:tools
Fix current build, minor spec cleanup

OBS-URL: https://build.opensuse.org/request/show/227486
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=33
2014-03-27 09:25:17 +00:00
Stephan Kulow
9566e41681 Accepting request 220759 from devel:tools
(forwarded request 220758 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/220759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=24
2014-02-04 18:56:32 +00:00
930b227425 Accepting request 220758 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/220758
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=31
2014-02-04 01:55:35 +00:00
Stephan Kulow
896aeb5fe5 Accepting request 209453 from devel:tools
(forwarded request 209452 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/209453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=23
2013-12-06 10:47:12 +00:00
a663b3305b Accepting request 209452 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/209452
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=29
2013-12-05 01:32:28 +00:00
Stephan Kulow
544309c2e0 Accepting request 197528 from devel:tools
->

OBS-URL: https://build.opensuse.org/request/show/197528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=21
2013-09-07 05:43:56 +00:00
69a6254c75 - add libperl_requires
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=27
2013-09-05 16:24:09 +00:00
Tomáš Chvátal
705844a717 Accepting request 195866 from devel:tools
(forwarded request 195865 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/195866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=20
2013-08-22 08:54:46 +00:00
d1e39ba01d Accepting request 195865 from home:jones_tony:branches:devel:tools
OBS-URL: https://build.opensuse.org/request/show/195865
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=25
2013-08-22 06:32:06 +00:00
Stephan Kulow
75a9403bd8 Accepting request 182768 from devel:tools
- Add patch 'perf-tests-ppc64-fix-compile-errors.patch' to resolve
  openSUSE:Factory:PowerPC testsuite build errors (forwarded request 182767 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/182768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=19
2013-07-12 18:51:02 +00:00
bf2a970136 Accepting request 182767 from home:jones_tony:branches:devel:tools
- Add patch 'perf-tests-ppc64-fix-compile-errors.patch' to resolve
  openSUSE:Factory:PowerPC testsuite build errors

OBS-URL: https://build.opensuse.org/request/show/182767
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=23
2013-07-10 19:20:29 +00:00
Stephan Kulow
dec82191e8 Accepting request 182684 from devel:tools
- 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 (forwarded request 182683 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/182684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=18
2013-07-10 15:30:16 +00:00
4a2bcec77d Accepting request 182683 from home:jones_tony:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/182683
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=21
2013-07-09 18:03:13 +00:00
Stephan Kulow
b0b5da2694 Accepting request 146387 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/146387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=16
2013-01-10 12:50:46 +00:00
1fa02dc9a8 - Add /etc/bash_completion.d/perf to %files (fix build error)
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=19
2012-12-25 00:03:40 +00:00
Stephan Kulow
da607aac92 Accepting request 121240 from devel:tools
- Fix build for factory 
  * added flex and bison to buildrequires (forwarded request 121154 from toganm)

OBS-URL: https://build.opensuse.org/request/show/121240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=14
2012-05-21 05:29:17 +00:00
Stephan Kulow
7064fec052 Accepting request 121154 from home:toganm:branches:devel:tools
- Fix build for factory 
  * added flex and bison to buildrequires

OBS-URL: https://build.opensuse.org/request/show/121154
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=17
2012-05-16 19:10:27 +00:00
Stephan Kulow
3ab075eff0 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=13
2011-12-06 17:37:00 +00:00
Berthold Gunreben
41a11eac4e Autobuild autoformatter for 70008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=11
2011-05-12 08:15:18 +00:00
Berthold Gunreben
58853f2ed2 Accepting request 70008 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/70008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=10
2011-05-12 08:15:09 +00:00
f6b6585ee9 Accepting request 69696 from home:namtrac:branches:devel:tools
- 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

OBS-URL: https://build.opensuse.org/request/show/69696
OBS-URL: https://build.opensuse.org/package/show/devel:tools/perf?expand=0&rev=15
2011-05-05 15:22:34 +00:00
OBS User autobuild
c32d9299f9 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=6 2010-03-18 15:15:51 +00:00
OBS User autobuild
13d3e067ff Accepting request 34398 from devel:tools
Copy from devel:tools/perf based on submit request 34398 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/34398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=5
2010-03-09 14:46:39 +00:00
OBS User autobuild
a099228eba Accepting request 23902 from devel:tools
Copy from devel:tools/perf based on submit request 23902 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/23902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=4
2009-11-10 11:24:28 +00:00
OBS User autobuild
161e075563 Accepting request 18925 from devel:tools
Copy from devel:tools/perf based on submit request 18925 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/18925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=2
2009-08-28 21:48:06 +00:00
OBS User unknown
8e4430f5fa OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perf?expand=0&rev=1 2009-08-10 14:53:45 +00:00
4 changed files with 56 additions and 634 deletions

View File

@@ -1,35 +0,0 @@
From: Jiri Slaby <jslaby@suse.cz>
Date: Fri, 30 Aug 2024 12:25:21 +0200
Subject: perf trace: fix build on 32bit
Patch-mainline: submitted, <739001a4-4df1-4dec-a141-926c78c5c07e@kernel.org>
References: i586 + 6.11 build fix
i586 does not have HAVE_SYSCALL_TABLE_SUPPORT set. But we need
syscalltbl__id_at_idx(). Define it as identity.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Fixes: 7a2fb5619cc1 (perf trace: Fix iteration of syscall ids in syscalltbl->entries)
Link: https://lore.kernel.org/all/6fe63fa3-6c63-4b75-ac09-884d26f6fb95@kernel.org/
---
tools/perf/util/syscalltbl.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/tools/perf/util/syscalltbl.c b/tools/perf/util/syscalltbl.c
index 0dd26b99..75391ec4 100644
--- a/tools/perf/util/syscalltbl.c
+++ b/tools/perf/util/syscalltbl.c
@@ -178,6 +178,11 @@ int syscalltbl__id(struct syscalltbl *tbl, const char *name)
return audit_name_to_syscall(name, tbl->audit_machine);
}
+int syscalltbl__id_at_idx(struct syscalltbl *, int idx)
+{
+ return idx;
+}
+
int syscalltbl__strglobmatch_next(struct syscalltbl *tbl __maybe_unused,
const char *syscall_glob __maybe_unused, int *idx __maybe_unused)
{
--
2.46.0

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Thu Apr 17 09:49:43 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop perf-tools-annotate-asm_pure_loop.S.patch: 6.14.2, which is
in Factory, contains this patch already (boo#1241339).
-------------------------------------------------------------------
Wed Apr 9 04:45:08 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- drop conditional perf-core (see below), 6.14 hit factory already
-------------------------------------------------------------------
Tue Apr 8 22:25:30 UTC 2025 - Tony Jones <tonyj@suse.com>
- 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.
-------------------------------------------------------------------
Mon Feb 10 10:49:01 UTC 2025 - Jiri Slaby <jslaby@suse.cz>
- drop perf_tools_Build_x86_32-bit_syscall_table_from_arch_x86_entry_syscalls_syscall_32.tbl.patch
6.12 is in factory for a long time.
- support 6.14: /usr/share/perf-core no longer installed after
libaudit support dropped in 3cc550f5bbcf
-------------------------------------------------------------------
Thu Nov 14 09:20:44 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
- drop perf-fix-non-listed-archs.patch
it was merged to 6.11.7
-------------------------------------------------------------------
Wed Oct 23 05:43:22 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
- use %{version_pure} for patch in/exclusion (and apply 6.12 patch only
on < 6.12)
-------------------------------------------------------------------
Thu Oct 10 08:27:35 UTC 2024 - Jiri Slaby <jslaby@suse.cz>
- add perf-fix-non-listed-archs.patch to fix armv7l build
-------------------------------------------------------------------
Mon Sep 2 05:43:09 UTC 2024 - Jiri Slaby <jslaby@suse.cz>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perf
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,6 @@ Summary: Performance Monitoring Tools for Linux
License: GPL-2.0-only
Group: Development/Tools/Debuggers
URL: https://perf.wiki.kernel.org/
Patch0: perf_tools_Build_x86_32-bit_syscall_table_from_arch_x86_entry_syscalls_syscall_32.tbl.patch
BuildRequires: OpenCSD-devel
BuildRequires: audit-devel
%ifnarch %{arm}
@@ -73,6 +72,15 @@ Recommends: perf-gtk
%{perl_requires}
%{?libperl_requires}
# Add local patches below here based on {version_pure}:
#
# Example: for kernel version 6.14.* {version_pure} = 614 and local patches on
# top of this (that will be in 6.15) should be numbered 6140-6149. Unlike SLE
# we only carry a handful of local patches in Factory.
#
# This avoids the perf build breaking when the kernel version in Factory
# asynchronously updates.
%define python_subpackage_only 1
%python_subpackages
@@ -132,7 +140,7 @@ the Python programming language to manipulate perf events.
# copy necessary files from kernel-source since we need to modify them
(cd %{_prefix}/src/linux ; tar -cf - COPYING CREDITS README tools include scripts Kbuild Makefile arch/*/{include,lib,tools,Makefile} lib kernel/bpf/disasm.[ch]) | tar -xf -
chmod +x tools/perf/util/generate-cmdlist.sh
%autopatch -p1
%autopatch -p1 -m%{version_pure}0
# don't error out on deprecated definitions in gtk2.h
sed -i 's@ignored "-Wstrict-prototypes"@&\n#pragma GCC diagnostic ignored "-Wdeprecated-declarations"@' tools/build/feature/test-gtk2.c
@@ -194,7 +202,6 @@ rm -rf %{buildroot}/%{_libdir}/traceevent
%{_bindir}/perf
%{_bindir}/trace
%{_prefix}/lib/%{name}-core
%{_datadir}/%{name}-core
%{_mandir}/man1/perf*
%files gtk

View File

@@ -1,595 +0,0 @@
>From 174899051e54ecdab06c07652a3d04ad000ab301 Mon Sep 17 00:00:00 2001
From: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Fri, 30 Aug 2024 19:53:47 -0300
Subject: [PATCH 1/1] perf tools: Build x86 32-bit syscall table from
arch/x86/entry/syscalls/syscall_32.tbl
Patch-mainline: submitted, <ZtJWEVn8-w07Wm0q@x1>
References: i586 + 6.11 build fix
To remove one more use of the audit libs and address a problem reported
with a recent change where a function isn't available when using the
audit libs method, that should really go away, this being one step in
that direction.
The script used to generate the 64-bit syscall table was already
parametrized to generate for both 64-bit and 32-bit, so just use it and
wire the generated table to the syscalltbl.c routines.
Reported-by: Jiri Slaby <jirislaby@kernel.org>
Suggested-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Howard Chu <howardchu95@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/lkml/6fe63fa3-6c63-4b75-ac09-884d26f6fb95@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
---
tools/perf/Makefile.config | 13 +-
tools/perf/arch/x86/Makefile | 6 +-
.../arch/x86/entry/syscalls/syscall_32.tbl | 470 ++++++++++++++++++
tools/perf/check-headers.sh | 1 +
tools/perf/util/syscalltbl.c | 4 +
5 files changed, 484 insertions(+), 10 deletions(-)
create mode 100644 tools/perf/arch/x86/entry/syscalls/syscall_32.tbl
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index 4eb1fc897baf64b8..9998cd7a879206ae 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -31,14 +31,8 @@ $(call detected_var,SRCARCH)
ifneq ($(NO_SYSCALL_TABLE),1)
NO_SYSCALL_TABLE := 1
- ifeq ($(SRCARCH),x86)
- ifeq (${IS_64_BIT}, 1)
- NO_SYSCALL_TABLE := 0
- endif
- else
- ifeq ($(SRCARCH),$(filter $(SRCARCH),powerpc arm64 s390 mips loongarch))
- NO_SYSCALL_TABLE := 0
- endif
+ ifeq ($(SRCARCH),$(filter $(SRCARCH),x86 powerpc arm64 s390 mips loongarch))
+ NO_SYSCALL_TABLE := 0
endif
ifneq ($(NO_SYSCALL_TABLE),1)
@@ -55,8 +49,9 @@ endif
# Additional ARCH settings for x86
ifeq ($(SRCARCH),x86)
$(call detected,CONFIG_X86)
+ CFLAGS += -I$(OUTPUT)arch/x86/include/generated
ifeq (${IS_64_BIT}, 1)
- CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT -I$(OUTPUT)arch/x86/include/generated
+ CFLAGS += -DHAVE_ARCH_X86_64_SUPPORT
ARCH_INCLUDE = ../../arch/x86/lib/memcpy_64.S ../../arch/x86/lib/memset_64.S
LIBUNWIND_LIBS = -lunwind-x86_64 -lunwind -llzma
$(call detected,CONFIG_X86_64)
diff --git a/tools/perf/arch/x86/Makefile b/tools/perf/arch/x86/Makefile
index 8952e00f9b60203a..67b4969a673836eb 100644
--- a/tools/perf/arch/x86/Makefile
+++ b/tools/perf/arch/x86/Makefile
@@ -13,6 +13,7 @@ PERF_HAVE_JITDUMP := 1
generated := $(OUTPUT)arch/x86/include/generated
out := $(generated)/asm
header := $(out)/syscalls_64.c
+header_32 := $(out)/syscalls_32.c
sys := $(srctree)/tools/perf/arch/x86/entry/syscalls
systbl := $(sys)/syscalltbl.sh
@@ -22,7 +23,10 @@ $(shell [ -d '$(out)' ] || mkdir -p '$(out)')
$(header): $(sys)/syscall_64.tbl $(systbl)
$(Q)$(SHELL) '$(systbl)' $(sys)/syscall_64.tbl 'x86_64' > $@
+$(header_32): $(sys)/syscall_32.tbl $(systbl)
+ $(Q)$(SHELL) '$(systbl)' $(sys)/syscall_32.tbl 'x86' > $@
+
clean::
$(call QUIET_CLEAN, x86) $(RM) -r $(header) $(generated)
-archheaders: $(header)
+archheaders: $(header) $(header_32)
diff --git a/tools/perf/arch/x86/entry/syscalls/syscall_32.tbl b/tools/perf/arch/x86/entry/syscalls/syscall_32.tbl
new file mode 100644
index 0000000000000000..534c74b14fab5117
--- /dev/null
+++ b/tools/perf/arch/x86/entry/syscalls/syscall_32.tbl
@@ -0,0 +1,470 @@
+# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+#
+# 32-bit system call numbers and entry vectors
+#
+# The format is:
+# <number> <abi> <name> <entry point> [<compat entry point> [noreturn]]
+#
+# The __ia32_sys and __ia32_compat_sys stubs are created on-the-fly for
+# sys_*() system calls and compat_sys_*() compat system calls if
+# IA32_EMULATION is defined, and expect struct pt_regs *regs as their only
+# parameter.
+#
+# The abi is always "i386" for this file.
+#
+0 i386 restart_syscall sys_restart_syscall
+1 i386 exit sys_exit - noreturn
+2 i386 fork sys_fork
+3 i386 read sys_read
+4 i386 write sys_write
+5 i386 open sys_open compat_sys_open
+6 i386 close sys_close
+7 i386 waitpid sys_waitpid
+8 i386 creat sys_creat
+9 i386 link sys_link
+10 i386 unlink sys_unlink
+11 i386 execve sys_execve compat_sys_execve
+12 i386 chdir sys_chdir
+13 i386 time sys_time32
+14 i386 mknod sys_mknod
+15 i386 chmod sys_chmod
+16 i386 lchown sys_lchown16
+17 i386 break
+18 i386 oldstat sys_stat
+19 i386 lseek sys_lseek compat_sys_lseek
+20 i386 getpid sys_getpid
+21 i386 mount sys_mount
+22 i386 umount sys_oldumount
+23 i386 setuid sys_setuid16
+24 i386 getuid sys_getuid16
+25 i386 stime sys_stime32
+26 i386 ptrace sys_ptrace compat_sys_ptrace
+27 i386 alarm sys_alarm
+28 i386 oldfstat sys_fstat
+29 i386 pause sys_pause
+30 i386 utime sys_utime32
+31 i386 stty
+32 i386 gtty
+33 i386 access sys_access
+34 i386 nice sys_nice
+35 i386 ftime
+36 i386 sync sys_sync
+37 i386 kill sys_kill
+38 i386 rename sys_rename
+39 i386 mkdir sys_mkdir
+40 i386 rmdir sys_rmdir
+41 i386 dup sys_dup
+42 i386 pipe sys_pipe
+43 i386 times sys_times compat_sys_times
+44 i386 prof
+45 i386 brk sys_brk
+46 i386 setgid sys_setgid16
+47 i386 getgid sys_getgid16
+48 i386 signal sys_signal
+49 i386 geteuid sys_geteuid16
+50 i386 getegid sys_getegid16
+51 i386 acct sys_acct
+52 i386 umount2 sys_umount
+53 i386 lock
+54 i386 ioctl sys_ioctl compat_sys_ioctl
+55 i386 fcntl sys_fcntl compat_sys_fcntl64
+56 i386 mpx
+57 i386 setpgid sys_setpgid
+58 i386 ulimit
+59 i386 oldolduname sys_olduname
+60 i386 umask sys_umask
+61 i386 chroot sys_chroot
+62 i386 ustat sys_ustat compat_sys_ustat
+63 i386 dup2 sys_dup2
+64 i386 getppid sys_getppid
+65 i386 getpgrp sys_getpgrp
+66 i386 setsid sys_setsid
+67 i386 sigaction sys_sigaction compat_sys_sigaction
+68 i386 sgetmask sys_sgetmask
+69 i386 ssetmask sys_ssetmask
+70 i386 setreuid sys_setreuid16
+71 i386 setregid sys_setregid16
+72 i386 sigsuspend sys_sigsuspend
+73 i386 sigpending sys_sigpending compat_sys_sigpending
+74 i386 sethostname sys_sethostname
+75 i386 setrlimit sys_setrlimit compat_sys_setrlimit
+76 i386 getrlimit sys_old_getrlimit compat_sys_old_getrlimit
+77 i386 getrusage sys_getrusage compat_sys_getrusage
+78 i386 gettimeofday sys_gettimeofday compat_sys_gettimeofday
+79 i386 settimeofday sys_settimeofday compat_sys_settimeofday
+80 i386 getgroups sys_getgroups16
+81 i386 setgroups sys_setgroups16
+82 i386 select sys_old_select compat_sys_old_select
+83 i386 symlink sys_symlink
+84 i386 oldlstat sys_lstat
+85 i386 readlink sys_readlink
+86 i386 uselib sys_uselib
+87 i386 swapon sys_swapon
+88 i386 reboot sys_reboot
+89 i386 readdir sys_old_readdir compat_sys_old_readdir
+90 i386 mmap sys_old_mmap compat_sys_ia32_mmap
+91 i386 munmap sys_munmap
+92 i386 truncate sys_truncate compat_sys_truncate
+93 i386 ftruncate sys_ftruncate compat_sys_ftruncate
+94 i386 fchmod sys_fchmod
+95 i386 fchown sys_fchown16
+96 i386 getpriority sys_getpriority
+97 i386 setpriority sys_setpriority
+98 i386 profil
+99 i386 statfs sys_statfs compat_sys_statfs
+100 i386 fstatfs sys_fstatfs compat_sys_fstatfs
+101 i386 ioperm sys_ioperm
+102 i386 socketcall sys_socketcall compat_sys_socketcall
+103 i386 syslog sys_syslog
+104 i386 setitimer sys_setitimer compat_sys_setitimer
+105 i386 getitimer sys_getitimer compat_sys_getitimer
+106 i386 stat sys_newstat compat_sys_newstat
+107 i386 lstat sys_newlstat compat_sys_newlstat
+108 i386 fstat sys_newfstat compat_sys_newfstat
+109 i386 olduname sys_uname
+110 i386 iopl sys_iopl
+111 i386 vhangup sys_vhangup
+112 i386 idle
+113 i386 vm86old sys_vm86old sys_ni_syscall
+114 i386 wait4 sys_wait4 compat_sys_wait4
+115 i386 swapoff sys_swapoff
+116 i386 sysinfo sys_sysinfo compat_sys_sysinfo
+117 i386 ipc sys_ipc compat_sys_ipc
+118 i386 fsync sys_fsync
+119 i386 sigreturn sys_sigreturn compat_sys_sigreturn
+120 i386 clone sys_clone compat_sys_ia32_clone
+121 i386 setdomainname sys_setdomainname
+122 i386 uname sys_newuname
+123 i386 modify_ldt sys_modify_ldt
+124 i386 adjtimex sys_adjtimex_time32
+125 i386 mprotect sys_mprotect
+126 i386 sigprocmask sys_sigprocmask compat_sys_sigprocmask
+127 i386 create_module
+128 i386 init_module sys_init_module
+129 i386 delete_module sys_delete_module
+130 i386 get_kernel_syms
+131 i386 quotactl sys_quotactl
+132 i386 getpgid sys_getpgid
+133 i386 fchdir sys_fchdir
+134 i386 bdflush sys_ni_syscall
+135 i386 sysfs sys_sysfs
+136 i386 personality sys_personality
+137 i386 afs_syscall
+138 i386 setfsuid sys_setfsuid16
+139 i386 setfsgid sys_setfsgid16
+140 i386 _llseek sys_llseek
+141 i386 getdents sys_getdents compat_sys_getdents
+142 i386 _newselect sys_select compat_sys_select
+143 i386 flock sys_flock
+144 i386 msync sys_msync
+145 i386 readv sys_readv
+146 i386 writev sys_writev
+147 i386 getsid sys_getsid
+148 i386 fdatasync sys_fdatasync
+149 i386 _sysctl sys_ni_syscall
+150 i386 mlock sys_mlock
+151 i386 munlock sys_munlock
+152 i386 mlockall sys_mlockall
+153 i386 munlockall sys_munlockall
+154 i386 sched_setparam sys_sched_setparam
+155 i386 sched_getparam sys_sched_getparam
+156 i386 sched_setscheduler sys_sched_setscheduler
+157 i386 sched_getscheduler sys_sched_getscheduler
+158 i386 sched_yield sys_sched_yield
+159 i386 sched_get_priority_max sys_sched_get_priority_max
+160 i386 sched_get_priority_min sys_sched_get_priority_min
+161 i386 sched_rr_get_interval sys_sched_rr_get_interval_time32
+162 i386 nanosleep sys_nanosleep_time32
+163 i386 mremap sys_mremap
+164 i386 setresuid sys_setresuid16
+165 i386 getresuid sys_getresuid16
+166 i386 vm86 sys_vm86 sys_ni_syscall
+167 i386 query_module
+168 i386 poll sys_poll
+169 i386 nfsservctl
+170 i386 setresgid sys_setresgid16
+171 i386 getresgid sys_getresgid16
+172 i386 prctl sys_prctl
+173 i386 rt_sigreturn sys_rt_sigreturn compat_sys_rt_sigreturn
+174 i386 rt_sigaction sys_rt_sigaction compat_sys_rt_sigaction
+175 i386 rt_sigprocmask sys_rt_sigprocmask compat_sys_rt_sigprocmask
+176 i386 rt_sigpending sys_rt_sigpending compat_sys_rt_sigpending
+177 i386 rt_sigtimedwait sys_rt_sigtimedwait_time32 compat_sys_rt_sigtimedwait_time32
+178 i386 rt_sigqueueinfo sys_rt_sigqueueinfo compat_sys_rt_sigqueueinfo
+179 i386 rt_sigsuspend sys_rt_sigsuspend compat_sys_rt_sigsuspend
+180 i386 pread64 sys_ia32_pread64
+181 i386 pwrite64 sys_ia32_pwrite64
+182 i386 chown sys_chown16
+183 i386 getcwd sys_getcwd
+184 i386 capget sys_capget
+185 i386 capset sys_capset
+186 i386 sigaltstack sys_sigaltstack compat_sys_sigaltstack
+187 i386 sendfile sys_sendfile compat_sys_sendfile
+188 i386 getpmsg
+189 i386 putpmsg
+190 i386 vfork sys_vfork
+191 i386 ugetrlimit sys_getrlimit compat_sys_getrlimit
+192 i386 mmap2 sys_mmap_pgoff
+193 i386 truncate64 sys_ia32_truncate64
+194 i386 ftruncate64 sys_ia32_ftruncate64
+195 i386 stat64 sys_stat64 compat_sys_ia32_stat64
+196 i386 lstat64 sys_lstat64 compat_sys_ia32_lstat64
+197 i386 fstat64 sys_fstat64 compat_sys_ia32_fstat64
+198 i386 lchown32 sys_lchown
+199 i386 getuid32 sys_getuid
+200 i386 getgid32 sys_getgid
+201 i386 geteuid32 sys_geteuid
+202 i386 getegid32 sys_getegid
+203 i386 setreuid32 sys_setreuid
+204 i386 setregid32 sys_setregid
+205 i386 getgroups32 sys_getgroups
+206 i386 setgroups32 sys_setgroups
+207 i386 fchown32 sys_fchown
+208 i386 setresuid32 sys_setresuid
+209 i386 getresuid32 sys_getresuid
+210 i386 setresgid32 sys_setresgid
+211 i386 getresgid32 sys_getresgid
+212 i386 chown32 sys_chown
+213 i386 setuid32 sys_setuid
+214 i386 setgid32 sys_setgid
+215 i386 setfsuid32 sys_setfsuid
+216 i386 setfsgid32 sys_setfsgid
+217 i386 pivot_root sys_pivot_root
+218 i386 mincore sys_mincore
+219 i386 madvise sys_madvise
+220 i386 getdents64 sys_getdents64
+221 i386 fcntl64 sys_fcntl64 compat_sys_fcntl64
+# 222 is unused
+# 223 is unused
+224 i386 gettid sys_gettid
+225 i386 readahead sys_ia32_readahead
+226 i386 setxattr sys_setxattr
+227 i386 lsetxattr sys_lsetxattr
+228 i386 fsetxattr sys_fsetxattr
+229 i386 getxattr sys_getxattr
+230 i386 lgetxattr sys_lgetxattr
+231 i386 fgetxattr sys_fgetxattr
+232 i386 listxattr sys_listxattr
+233 i386 llistxattr sys_llistxattr
+234 i386 flistxattr sys_flistxattr
+235 i386 removexattr sys_removexattr
+236 i386 lremovexattr sys_lremovexattr
+237 i386 fremovexattr sys_fremovexattr
+238 i386 tkill sys_tkill
+239 i386 sendfile64 sys_sendfile64
+240 i386 futex sys_futex_time32
+241 i386 sched_setaffinity sys_sched_setaffinity compat_sys_sched_setaffinity
+242 i386 sched_getaffinity sys_sched_getaffinity compat_sys_sched_getaffinity
+243 i386 set_thread_area sys_set_thread_area
+244 i386 get_thread_area sys_get_thread_area
+245 i386 io_setup sys_io_setup compat_sys_io_setup
+246 i386 io_destroy sys_io_destroy
+247 i386 io_getevents sys_io_getevents_time32
+248 i386 io_submit sys_io_submit compat_sys_io_submit
+249 i386 io_cancel sys_io_cancel
+250 i386 fadvise64 sys_ia32_fadvise64
+# 251 is available for reuse (was briefly sys_set_zone_reclaim)
+252 i386 exit_group sys_exit_group - noreturn
+253 i386 lookup_dcookie
+254 i386 epoll_create sys_epoll_create
+255 i386 epoll_ctl sys_epoll_ctl
+256 i386 epoll_wait sys_epoll_wait
+257 i386 remap_file_pages sys_remap_file_pages
+258 i386 set_tid_address sys_set_tid_address
+259 i386 timer_create sys_timer_create compat_sys_timer_create
+260 i386 timer_settime sys_timer_settime32
+261 i386 timer_gettime sys_timer_gettime32
+262 i386 timer_getoverrun sys_timer_getoverrun
+263 i386 timer_delete sys_timer_delete
+264 i386 clock_settime sys_clock_settime32
+265 i386 clock_gettime sys_clock_gettime32
+266 i386 clock_getres sys_clock_getres_time32
+267 i386 clock_nanosleep sys_clock_nanosleep_time32
+268 i386 statfs64 sys_statfs64 compat_sys_statfs64
+269 i386 fstatfs64 sys_fstatfs64 compat_sys_fstatfs64
+270 i386 tgkill sys_tgkill
+271 i386 utimes sys_utimes_time32
+272 i386 fadvise64_64 sys_ia32_fadvise64_64
+273 i386 vserver
+274 i386 mbind sys_mbind
+275 i386 get_mempolicy sys_get_mempolicy
+276 i386 set_mempolicy sys_set_mempolicy
+277 i386 mq_open sys_mq_open compat_sys_mq_open
+278 i386 mq_unlink sys_mq_unlink
+279 i386 mq_timedsend sys_mq_timedsend_time32
+280 i386 mq_timedreceive sys_mq_timedreceive_time32
+281 i386 mq_notify sys_mq_notify compat_sys_mq_notify
+282 i386 mq_getsetattr sys_mq_getsetattr compat_sys_mq_getsetattr
+283 i386 kexec_load sys_kexec_load compat_sys_kexec_load
+284 i386 waitid sys_waitid compat_sys_waitid
+# 285 sys_setaltroot
+286 i386 add_key sys_add_key
+287 i386 request_key sys_request_key
+288 i386 keyctl sys_keyctl compat_sys_keyctl
+289 i386 ioprio_set sys_ioprio_set
+290 i386 ioprio_get sys_ioprio_get
+291 i386 inotify_init sys_inotify_init
+292 i386 inotify_add_watch sys_inotify_add_watch
+293 i386 inotify_rm_watch sys_inotify_rm_watch
+294 i386 migrate_pages sys_migrate_pages
+295 i386 openat sys_openat compat_sys_openat
+296 i386 mkdirat sys_mkdirat
+297 i386 mknodat sys_mknodat
+298 i386 fchownat sys_fchownat
+299 i386 futimesat sys_futimesat_time32
+300 i386 fstatat64 sys_fstatat64 compat_sys_ia32_fstatat64
+301 i386 unlinkat sys_unlinkat
+302 i386 renameat sys_renameat
+303 i386 linkat sys_linkat
+304 i386 symlinkat sys_symlinkat
+305 i386 readlinkat sys_readlinkat
+306 i386 fchmodat sys_fchmodat
+307 i386 faccessat sys_faccessat
+308 i386 pselect6 sys_pselect6_time32 compat_sys_pselect6_time32
+309 i386 ppoll sys_ppoll_time32 compat_sys_ppoll_time32
+310 i386 unshare sys_unshare
+311 i386 set_robust_list sys_set_robust_list compat_sys_set_robust_list
+312 i386 get_robust_list sys_get_robust_list compat_sys_get_robust_list
+313 i386 splice sys_splice
+314 i386 sync_file_range sys_ia32_sync_file_range
+315 i386 tee sys_tee
+316 i386 vmsplice sys_vmsplice
+317 i386 move_pages sys_move_pages
+318 i386 getcpu sys_getcpu
+319 i386 epoll_pwait sys_epoll_pwait
+320 i386 utimensat sys_utimensat_time32
+321 i386 signalfd sys_signalfd compat_sys_signalfd
+322 i386 timerfd_create sys_timerfd_create
+323 i386 eventfd sys_eventfd
+324 i386 fallocate sys_ia32_fallocate
+325 i386 timerfd_settime sys_timerfd_settime32
+326 i386 timerfd_gettime sys_timerfd_gettime32
+327 i386 signalfd4 sys_signalfd4 compat_sys_signalfd4
+328 i386 eventfd2 sys_eventfd2
+329 i386 epoll_create1 sys_epoll_create1
+330 i386 dup3 sys_dup3
+331 i386 pipe2 sys_pipe2
+332 i386 inotify_init1 sys_inotify_init1
+333 i386 preadv sys_preadv compat_sys_preadv
+334 i386 pwritev sys_pwritev compat_sys_pwritev
+335 i386 rt_tgsigqueueinfo sys_rt_tgsigqueueinfo compat_sys_rt_tgsigqueueinfo
+336 i386 perf_event_open sys_perf_event_open
+337 i386 recvmmsg sys_recvmmsg_time32 compat_sys_recvmmsg_time32
+338 i386 fanotify_init sys_fanotify_init
+339 i386 fanotify_mark sys_fanotify_mark compat_sys_fanotify_mark
+340 i386 prlimit64 sys_prlimit64
+341 i386 name_to_handle_at sys_name_to_handle_at
+342 i386 open_by_handle_at sys_open_by_handle_at compat_sys_open_by_handle_at
+343 i386 clock_adjtime sys_clock_adjtime32
+344 i386 syncfs sys_syncfs
+345 i386 sendmmsg sys_sendmmsg compat_sys_sendmmsg
+346 i386 setns sys_setns
+347 i386 process_vm_readv sys_process_vm_readv
+348 i386 process_vm_writev sys_process_vm_writev
+349 i386 kcmp sys_kcmp
+350 i386 finit_module sys_finit_module
+351 i386 sched_setattr sys_sched_setattr
+352 i386 sched_getattr sys_sched_getattr
+353 i386 renameat2 sys_renameat2
+354 i386 seccomp sys_seccomp
+355 i386 getrandom sys_getrandom
+356 i386 memfd_create sys_memfd_create
+357 i386 bpf sys_bpf
+358 i386 execveat sys_execveat compat_sys_execveat
+359 i386 socket sys_socket
+360 i386 socketpair sys_socketpair
+361 i386 bind sys_bind
+362 i386 connect sys_connect
+363 i386 listen sys_listen
+364 i386 accept4 sys_accept4
+365 i386 getsockopt sys_getsockopt sys_getsockopt
+366 i386 setsockopt sys_setsockopt sys_setsockopt
+367 i386 getsockname sys_getsockname
+368 i386 getpeername sys_getpeername
+369 i386 sendto sys_sendto
+370 i386 sendmsg sys_sendmsg compat_sys_sendmsg
+371 i386 recvfrom sys_recvfrom compat_sys_recvfrom
+372 i386 recvmsg sys_recvmsg compat_sys_recvmsg
+373 i386 shutdown sys_shutdown
+374 i386 userfaultfd sys_userfaultfd
+375 i386 membarrier sys_membarrier
+376 i386 mlock2 sys_mlock2
+377 i386 copy_file_range sys_copy_file_range
+378 i386 preadv2 sys_preadv2 compat_sys_preadv2
+379 i386 pwritev2 sys_pwritev2 compat_sys_pwritev2
+380 i386 pkey_mprotect sys_pkey_mprotect
+381 i386 pkey_alloc sys_pkey_alloc
+382 i386 pkey_free sys_pkey_free
+383 i386 statx sys_statx
+384 i386 arch_prctl sys_arch_prctl compat_sys_arch_prctl
+385 i386 io_pgetevents sys_io_pgetevents_time32 compat_sys_io_pgetevents
+386 i386 rseq sys_rseq
+393 i386 semget sys_semget
+394 i386 semctl sys_semctl compat_sys_semctl
+395 i386 shmget sys_shmget
+396 i386 shmctl sys_shmctl compat_sys_shmctl
+397 i386 shmat sys_shmat compat_sys_shmat
+398 i386 shmdt sys_shmdt
+399 i386 msgget sys_msgget
+400 i386 msgsnd sys_msgsnd compat_sys_msgsnd
+401 i386 msgrcv sys_msgrcv compat_sys_msgrcv
+402 i386 msgctl sys_msgctl compat_sys_msgctl
+403 i386 clock_gettime64 sys_clock_gettime
+404 i386 clock_settime64 sys_clock_settime
+405 i386 clock_adjtime64 sys_clock_adjtime
+406 i386 clock_getres_time64 sys_clock_getres
+407 i386 clock_nanosleep_time64 sys_clock_nanosleep
+408 i386 timer_gettime64 sys_timer_gettime
+409 i386 timer_settime64 sys_timer_settime
+410 i386 timerfd_gettime64 sys_timerfd_gettime
+411 i386 timerfd_settime64 sys_timerfd_settime
+412 i386 utimensat_time64 sys_utimensat
+413 i386 pselect6_time64 sys_pselect6 compat_sys_pselect6_time64
+414 i386 ppoll_time64 sys_ppoll compat_sys_ppoll_time64
+416 i386 io_pgetevents_time64 sys_io_pgetevents compat_sys_io_pgetevents_time64
+417 i386 recvmmsg_time64 sys_recvmmsg compat_sys_recvmmsg_time64
+418 i386 mq_timedsend_time64 sys_mq_timedsend
+419 i386 mq_timedreceive_time64 sys_mq_timedreceive
+420 i386 semtimedop_time64 sys_semtimedop
+421 i386 rt_sigtimedwait_time64 sys_rt_sigtimedwait compat_sys_rt_sigtimedwait_time64
+422 i386 futex_time64 sys_futex
+423 i386 sched_rr_get_interval_time64 sys_sched_rr_get_interval
+424 i386 pidfd_send_signal sys_pidfd_send_signal
+425 i386 io_uring_setup sys_io_uring_setup
+426 i386 io_uring_enter sys_io_uring_enter
+427 i386 io_uring_register sys_io_uring_register
+428 i386 open_tree sys_open_tree
+429 i386 move_mount sys_move_mount
+430 i386 fsopen sys_fsopen
+431 i386 fsconfig sys_fsconfig
+432 i386 fsmount sys_fsmount
+433 i386 fspick sys_fspick
+434 i386 pidfd_open sys_pidfd_open
+435 i386 clone3 sys_clone3
+436 i386 close_range sys_close_range
+437 i386 openat2 sys_openat2
+438 i386 pidfd_getfd sys_pidfd_getfd
+439 i386 faccessat2 sys_faccessat2
+440 i386 process_madvise sys_process_madvise
+441 i386 epoll_pwait2 sys_epoll_pwait2 compat_sys_epoll_pwait2
+442 i386 mount_setattr sys_mount_setattr
+443 i386 quotactl_fd sys_quotactl_fd
+444 i386 landlock_create_ruleset sys_landlock_create_ruleset
+445 i386 landlock_add_rule sys_landlock_add_rule
+446 i386 landlock_restrict_self sys_landlock_restrict_self
+447 i386 memfd_secret sys_memfd_secret
+448 i386 process_mrelease sys_process_mrelease
+449 i386 futex_waitv sys_futex_waitv
+450 i386 set_mempolicy_home_node sys_set_mempolicy_home_node
+451 i386 cachestat sys_cachestat
+452 i386 fchmodat2 sys_fchmodat2
+453 i386 map_shadow_stack sys_map_shadow_stack
+454 i386 futex_wake sys_futex_wake
+455 i386 futex_wait sys_futex_wait
+456 i386 futex_requeue sys_futex_requeue
+457 i386 statmount sys_statmount
+458 i386 listmount sys_listmount
+459 i386 lsm_get_self_attr sys_lsm_get_self_attr
+460 i386 lsm_set_self_attr sys_lsm_set_self_attr
+461 i386 lsm_list_modules sys_lsm_list_modules
+462 i386 mseal sys_mseal
diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
index 672421b858ac1a7f..714c78e5da07c163 100755
--- a/tools/perf/check-headers.sh
+++ b/tools/perf/check-headers.sh
@@ -172,6 +172,7 @@ check lib/ctype.c '-I "^EXPORT_SYMBOL" -I "^#include <linux/export.h>" -B
check lib/list_sort.c '-I "^#include <linux/bug.h>"'
# diff non-symmetric files
+check_2 tools/perf/arch/x86/entry/syscalls/syscall_32.tbl arch/x86/entry/syscalls/syscall_32.tbl
check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl
check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl
check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl
diff --git a/tools/perf/util/syscalltbl.c b/tools/perf/util/syscalltbl.c
index 0dd26b991b3fb513..7c15dec6900d8aaa 100644
--- a/tools/perf/util/syscalltbl.c
+++ b/tools/perf/util/syscalltbl.c
@@ -18,6 +18,10 @@
#include <asm/syscalls_64.c>
const int syscalltbl_native_max_id = SYSCALLTBL_x86_64_MAX_ID;
static const char *const *syscalltbl_native = syscalltbl_x86_64;
+#elif defined(__i386__)
+#include <asm/syscalls_32.c>
+const int syscalltbl_native_max_id = SYSCALLTBL_x86_MAX_ID;
+static const char *const *syscalltbl_native = syscalltbl_x86;
#elif defined(__s390x__)
#include <asm/syscalls_64.c>
const int syscalltbl_native_max_id = SYSCALLTBL_S390_64_MAX_ID;