summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/strace
Commit message (Collapse)AuthorAgeFilesLines
* strace: set COMPATIBLE_HOST for riscv32Mingli Yu2022-07-251-0/+3
| | | | | | | | | | | Disable the build on riscv32 as it's not supported on riscv32 [1]. [1] https://github.com/strace/strace/commit/69ff62ea5087506ad36a27599db088096db215da (From OE-Core rev: 5276a9a845d0277936e9321ada296818f7bfd84b) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Drop redundant oe_runmake parameterniko.mauno@vaisala.com2022-06-291-1/+1
| | | | | | | | | | | | PARALLEL_MAKE is now honored in ptest.bbclass, so drop redundant parameter from oe_runmake call. (From OE-Core rev: c314316831ac602a31275c303c36974e8a632ce5) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.17 -> 5.18wangmy2022-06-223-92/+18
| | | | | | | | | | | | | | 0001-landlock-update-expected-string.patch removed since it's not available in 5.18. skip-load.patch refreshed for new version. (From OE-Core rev: cfcb1a22866e9075a6d0d64fa567d140bef66f2a) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix ptest failure in landlockBruce Ashfield2022-05-012-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel commit: commit 3d4b396a616d0d67bf95d6823ad1197f6247292e Author: Christian Brauner <christian.brauner@ubuntu.com> Date: Mon Oct 11 15:37:04 2021 +0200 landlock: Use square brackets around "landlock-ruleset" commit aea0b9f2486da8497f35c7114b764bf55e17c7ea upstream. Make the name of the anon inode fd "[landlock-ruleset]" instead of "landlock-ruleset". This is minor but most anon inode fds already carry square brackets around their name: [eventfd] [eventpoll] [fanotify] [fscontext] [io_uring] [pidfd] [signalfd] [timerfd] [userfaultfd] For the sake of consistency lets do the same for the landlock-ruleset anon inode fd that comes with landlock. We did the same in 1cdc415f1083 ("uapi, fsopen: use square brackets around "fscontext" [ver #2]") for the new mount api. Cc: linux-security-module@vger.kernel.org Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> Link: https://lore.kernel.org/r/20211011133704.1704369-1-brauner@kernel.org Cc: stable@vger.kernel.org Signed-off-by: Mickaël Salaün <mic@linux.microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Changed the format of the landlock tracing. We need to update the strace expected string to match. Upstream-Status: Submitted [https://lists.strace.io/pipermail/strace-devel/2022-April/011064.html] (From OE-Core rev: bf7d885aef06f6208533dd5fab45ee8e92d6d6d7) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Don't run ptest as "nobody"Jiaqing Zhao2022-04-301-5/+1
| | | | | | | | | | strace ptests can run successfully with root user, there is no need to run as "nobody". The ptest results are the same. (From OE-Core rev: 5ab213178c011152e29dfb0a80251c5e5ab79900) Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.16 -> 5.17wangmy2022-04-191-1/+1
| | | | | | | | (From OE-Core rev: 8ec2ca171ff03f444e7cb8b193a7d64b41f8112b) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: skip a number of load-sensitive testsRoss Burton2022-02-032-0/+56
| | | | | | | | | | | Some tests are very load-sensitive as they depend on sleep() calls to take a precise amount of time. These will randomly fail in the automated QA, so skip them. (From OE-Core rev: ea6933d2500827eae5482a32d5037e0429cd096a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: remove obsolete musl-on-MIPS patchRoss Burton2022-02-032-34/+0
| | | | | | | | | | | This patch was added as musl doesn't define SIGEMT on MIPS, but this was a mistake in musl and has been fixed in cabc369, available in musl 1.2.1 onwards (August 2020). (From OE-Core rev: 3ce2fd9f3002178ba2425c7912bf8b83a4150c9a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.15 -> 5.16wangmy2022-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: year updated to 2022. Changelog: ========= Improvements ----------- -Implemented --secontext=mismatch option to find mismatches in SELinux contexts. -Implemented decoding of futex_waitv syscall introduced in Linux 5.16. -Implemented decoding of BPF_LINK_GET_NEXT_ID and BPF_LINK_GET_FD_BY_ID bpf syscall commands. -Enhanced decoding of BPF_MAP_CREATE, BPF_PROG_TEST_RUN, and BPF_PROG_LOAD bpf syscall commands. -Enhanced decoding of BTRFS_IOC_FS_INFO ioctl command. -Updated lists of AUDIT_*, BPF_*, BTRFS_*, DEVCONF_*, FAN_*, ETH_P_*, IPV4_DEVCONF_*, KVM_*, NDA_*, SO_*, and V4L2_* constants. -Updated lists of ioctl commands from Linux 5.16. Bug fixes --------- -Fixed build for older Android. (From OE-Core rev: e213db717fa274db6dcab6f0b6b0728a87b8d803) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update 5.14 -> 5.15Alexander Kanavin2021-12-082-153/+1
| | | | | | | (From OE-Core rev: 5882ea00a3c9cf0b15958ea3677231a2a31d9a68) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patches: correct whitespace/spelling for Upstream-Status tagsAlexander Kanavin2021-11-211-1/+1
| | | | | | | (From OE-Core rev: c613ca14c35a5d1782c79a25b83875cbfa2b952b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix build against 5.15 kernel/kernel-headersBruce Ashfield2021-11-052-0/+152
| | | | | | | | | | | | | | | | | | kernel 5.15 removed ipx.h from the uapi, but strace hasn't adjusted its tests to the removal. There is a WIP patch on the esyr/5.15 branch that solves the problem, so we grab it here, adjust for context and fix our build problem. When strace updates to 5.15, and we can bump our version and drop this patch. Upstream-Status: Backport [commit cca828197c0e16c2599129114] (From OE-Core rev: a8c4ba727251e53494a4aec483fcc51982e6fb75) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: show test suite log on failureRoss Burton2021-10-231-0/+9
| | | | | | | | | | If the tests fail, dump the log so we can see the failures. (From OE-Core rev: 3154a65039831b1e041217707fdd6ca042f588fb) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: remove TOOLCHAIN assignmentRoss Burton2021-10-231-1/+0
| | | | | | | | | | | Back in 2016 strace failed to link when using clang, but this isn't the case anymore. (From OE-Core rev: 6ff24e6a8192525fbce69e03a317cc1a30870ed0) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: remove obsolete patchRoss Burton2021-10-232-28/+0
| | | | | | | | | | | This patch isn't needed with strace 5.14, which includes stdint.h centrally. (From OE-Core rev: 3bd3e7302618cd82d1448e3fd84a8a7a27e36656) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.13 -> 5.14wangmy2021-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | Improvements Implemented decoding of memfd_secret and quotactl_fd syscalls, introduced in Linux 5.14. Enhanced prctl syscall decoding. Enhanced decoding of IFLA_* netlink attributes. Enhanced decoding of MDBA_ROUTER_PATTR_* mdb router port netlink attributes. Updated lists of BPF_*, IORING_*, MADV_*, MOUNT_ATTR_*, SCTP_*, and UFFD_* constants. Updated lists of ioctl commands from Linux 5.14. Bug fixes Fixed build using bionic libc. (From OE-Core rev: bca3d163d9ed804b4c734ac8fe4fa96e1d05906d) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade 5.12 -> 5.13Richard Purdie2021-08-052-6/+6
| | | | | | | | This includes changes to work with glibc 2.34. (From OE-Core rev: 58cdb3ff8689c5e87769eb53d154a395492cdeb5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-4/+4
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade to 5.12Khem Raj2021-05-061-1/+1
| | | | | | | | | | | Changes are here [1] [1] https://github.com/strace/strace/releases/tag/v5.12 (From OE-Core rev: 853eb9a9c4b02b7acfc72659eb20914f0f19e66b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update 5.10 -> 5.11Alexander Kanavin2021-03-204-79/+39
| | | | | | | | | | | | | | | | | Drop disable-git-version-gen.patch as problem fixed upstream. Add parallel builds to ptest compile. strace-graph has been removed upstream. Adjust ptest patch to match upstream changes. License-Update: copyright years. (From OE-Core rev: 09af1c98499c9919dc2ebf7eb11796d3d912a8a5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+1
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: increase ptest timeout duration 120->240sYi Fan Yu2021-01-271-1/+1
| | | | | | | | | | | | solve qual_fault-syscall.test and qual_fault.test failing due to timeout. Bug 14165 (From OE-Core rev: 5af9f32d9b12654793289f44366251f978f6378a) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update 5.9 -> 5.10Alexander Kanavin2020-12-312-73/+6
| | | | | | | | | | Drop 0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch as upstream has removed IPPROTO_MAX altogether. (From OE-Core rev: ea6f27e35b6cac4db9e1ab0d9a888d15daba6c09) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.8 -> 5.9Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: bceb1a78c372118f4640d9396b46739deef4ea1b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix value of IPPROTO_MAXKhem Raj2020-10-082-0/+71
| | | | | | | | | | | | | This should also fix build with musl ../strace-5.8/xlat/inet_protocols.h:239:1: error: static assertion failed: "IPPROTO_MAX != 256" 239 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256"); | ^~~~~~~~~~~~~ (From OE-Core rev: 8b0438b5d4850aaca0f725f9ad5d040b90b1347b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update to 5.8 (fix build against v5.8 uapi headers)Bruce Ashfield2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating strace to the 5.8 release. The signficant change in this release is fixes to build against the v5.8 kernel. Noteworthy changes from the strace site: - Changes in behaviour - Modified %process class to contain system calls associated with process lifecycle (creation, exec, termination): kill, tkill, tgkill, pidfd_send_signal and rt_sigqueueinfo are added, arch_prctl and unshare are removed. - Improvements - Implemented decoding of faccessat2 syscall. - Implemented decoding of LOOP_CONFIGURE ioctl command. - Updated decoding of io_uring_setup syscall to match Linux 5.8. - Updated lists of AUDIT_*, BPF_*, CAP_*, ETH_*, INET_DIAG_*, IORING_*, KEYCTL_*, KVM_*, LOOP_*, NDA_*, RTC_*, TCA_*, STATX_*, and *_MAGIC constants. - Updated lists of ioctl commands from Linux 5.8. - Bug fixes - Added statx syscall to %fstat trace class. (From OE-Core rev: d656936ec7fbd4c2748a8f2239b6c09e5b9216d9) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.6 -> 5.7Alexander Kanavin2020-06-091-2/+1
| | | | | | | (From OE-Core rev: 38da7f53f9400a8aa1b63884e091e280179dd12d) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 5.5 -> 5.6Alexander Kanavin2020-06-041-3/+3
| | | | | | | (From OE-Core rev: fe66150b84d7ad5fe10b2c53504e3e9db678aef7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix reproducibility issuesJeremy Puhlman2020-03-122-0/+40
| | | | | | | | | gen_tests script encodes its full path to itself in each script (From OE-Core rev: 9e2db0ab1d4cacedde59e8915dff9a091e1c2d2b) Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Update to 5.5Alistair Francis2020-02-1511-138/+36
| | | | | | | | | | Update strace to 5.5. This includes a small change in the license file to change the date to 2020. (From OE-Core rev: 3e1e8d24ce122ddb5897418d1bae123051e1f450) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix failing ptestsAlexander Kanavin2020-01-162-3/+6
| | | | | | | | | | | 1. They need to be run under regular user. 2. Some tests genuinely need more time than 30 seconds 3. The Makefile patch erroneously introduced a test-breaking change. (From OE-Core rev: 3d6bf58c7080c1cacf3ed1f270ff5acf4858c790) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade to 5.4Khem Raj2019-12-306-46/+62
| | | | | | | | | | | Remove a patch already present upstream Add a patch to fix build with upcoming glibc 2.31 where __ptrace_syscall_info definition is added (From OE-Core rev: f6670f9c89c7b7a93557f0b6aeffbf88033f0791) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix build found with 64bit time_t/muslKhem Raj2019-11-142-0/+26
| | | | | | | | | | This ensures that its using linux headers for matching the syscall structures (From OE-Core rev: 3f91512ffc8c1c3374b3a67df5f86e884c78d7a1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix ptest buildKhem Raj2019-11-072-0/+18
| | | | | | | | | include stdint.h since the test uses uintptr_t C99 type (From OE-Core rev: b0791cfeeed3d4346ea5c9285f09b0a532c58bf8) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade to 5.3Khem Raj2019-09-302-7/+7
| | | | | | | | | | | Detailed features are here [1] [1] https://github.com/strace/strace/releases/tag/v5.3 (From OE-Core rev: a3b3e8fb120f98cdb18d7a9d517d88a313416986) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: add a timeout for running ptestsAlexander Kanavin2019-09-181-0/+1
| | | | | | | | | | | | | | | | 5.2 kernel has introduced a significant performance regression where some of the tests take many minutes to complete (where previously it was seconds). While we're getting to the bottom of the issue and working with upstream to resove it, this change allows tests to proceed instead of getting stuck and eventually timing out. https://bugzilla.yoctoproject.org/show_bug.cgi?id=13506 (From OE-Core rev: 36670f3989ef129d285b2a17c289f8fc7a44b320) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptrace: Drop ptrace aid for musl/ppcKhem Raj2019-09-162-32/+0
| | | | | | | | | | This has been fixed and is no longer needed (From OE-Core rev: 74ea0264cc5ba27dd37053f79301d18c8f1b6e7d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Upgrade to 5.2Khem Raj2019-07-264-114/+10
| | | | | | | | | | | | | License-Updtate: Copyright years changed https://github.com/strace/strace/commit/4b4a0e5a6e74e16dc2bb9b38d81415d9f57425d2#diff-7116ef0705885343c9e1b2171a06be0e Drop backport patch for mips o32 build fix Refresh patches to apply on 5.2 (From OE-Core rev: abeb32772b8b3a144e468e5a27b1a31f646317e4) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Remove remnants of bluez4 supportAdrian Bunk2019-07-151-2/+2
| | | | | | | | | | | | | | bluez4 was removed from meta-oe 2 years ago. Simplfy the setup of the two level bluetooth and bluez4/bluez5 distro features by removing the bluez4/bluez5 distro features. This also removes the no longer required bluetooth class. (From OE-Core rev: dcf889e93401f7c4de0055d53271eacc3882eccc) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Tweak ptest disk space managementRichard Purdie2019-05-302-0/+20
| | | | | | | | | If the test is successful, remove the log and exp files. This stops strace using around 600MB of disk space and running our ptest images out of space. (From OE-Core rev: ae94bffc6991efd6a6a74b2c129d3743b5fd1cd3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: add lost Upstream-StatusRoss Burton2019-01-141-0/+1
| | | | | | | (From OE-Core rev: 06662be193fb8b1cff5ca26b876350f93a56cedc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: update from 4.25 to 4.26Randy MacLeod2019-01-1410-58/+160
| | | | | | | | | | | | Refresh patches using devtool. Update license since the main code is now covered by LGPL-2.1+ and the tests under GPL-2. Fix a MIPS build error with an upstream patch. (From OE-Core rev: 874c5d4cd4902545b0fb924d0313488521fb91e2) Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix ptest fail and strip ptest host referencesChangqing Li2018-12-081-1/+2
| | | | | | | | | | | | 1. Add LDFLAGS_FOR_BUILD for strip host reference 2. Revert one previous replace operation for fix ptest fail. refer oe commit: 74b5088f1cc1708db43c33ac2dc7f01f4a4db9c1 (From OE-Core rev: e52eede3dfd7155e4e016734586b527932d1ef2a) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Strip build host tool details from installed ptest MakefileDouglas Royds2018-12-031-10/+1
| | | | | | | | | Adopt new PTEST_BUILD_HOST_PATTERN mechanism. (From OE-Core rev: f6ba7888138b6acecd3335cbfc3fa51272d69e57) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Bump to version 4.25Mauno Niko2018-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | V4L2_CID_USER_IMX_BASE value differs in v4.14 and v4.19 LTS kernels https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/linux/v4l2-controls.h?h=v4.14.79#n191 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/include/uapi/linux/v4l2-controls.h?h=v4.19.1#n191 Building strace v4.24 against 4.19 kernel headers results in following build failure | arm-vaisala-linux-gnueabi-ranlib libstrace.a | In file included from ../strace-4.24/static_assert.h:31, | from ../strace-4.24/xlat/v4l2_pix_fmts.h:4, | from ../strace-4.24/v4l2.c:78: | ../strace-4.24/xlat/v4l2_control_id_bases.h:36:1: error: static assertion failed: "V4L2_CID_USER_IMX_BASE != (V4L2_CID_BASE + 0x1090)" This Linux kernel ABI breakage that occurred wrt V4L2_CID_USER_IMX_BASE has been observed and addressed in strace upstream commit https://github.com/strace/strace/commit/b89a69dec27cf638df0e17db80ed937c3e1abf77 Bump strace to version 4.25 which also addresses ABI breakage so that strace once again builds against both v4.14 and v4.19 LTS kernel headers (From OE-Core rev: facb6e2fd887d526e031b6c16b4bb8d385db952a) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: fix ptestsAnuj Mittal2018-10-094-28/+42
| | | | | | | | | | | | | | | | | | | | | | | | * Let automake use parallel test harness which ensures that appropriate environment variables are actually used. * Copy generated config.h as part of ptest package and define a variable in tests Makefile to control the name of target that we'd like to invoke for tests instead of relying on default value. * configure relies on tools that are not available in release tarballs resulting in warnings and failed tests. Get the required information from available files instead. * Reduces the count of failing tests to 18 from 35. The rest of tests fail or get skipped mostly because of missing syscalls. Number of tests getting skipped can probably be reduced further. Fixes [YOCTO #12948] (From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: 4.23 -> 4.24Robert Yang2018-08-232-45/+2
| | | | | | | | | Remove backported patch 0001-tests-fix-build-with-fresh-glibc.patch. (From OE-Core rev: 20b45274681892cc761bbef87360dc1088d040a1) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: Fix build with glibc 2.28Khem Raj2018-08-082-0/+43
| | | | | | | (From OE-Core rev: 2a37692d591411b05bfd9f0745ae00678b587b67) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* strace: upgrade 4.22 -> 4.23Ross Burton2018-07-242-77/+2
| | | | | | | (From OE-Core rev: 71994715714076e7f4dfb29c91da0a4e293b7e53) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>