summaryrefslogtreecommitdiffstats
path: root/recipes-support/libipt
Commit message (Collapse)AuthorAgeFilesLines
* libipt: drop pttc nasm patch and runtime QA caseYogesh Tyagi2026-05-122-180/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 0001-pttc-use-nasm-instead-of-yasm.patch local patch reworked upstream pttc to invoke nasm in place of the unmaintained yasm assembler. The patch was submitted upstream (https://github.com/intel/libipt/pull/120) but has not been merged, and carrying it locally is the only reason meta-intel needs to diverge from a pristine stable/v2.2 checkout. Drop the patch and let pttc fall back to upstream's stock yasm-based behaviour. This matches what Fedora/RHEL already does for the libipt package: ship libipt without yasm support and let libipt's own CMake skip the yasm-driven ptt tests automatically when yasm isn't available. Native nasm support in pttc remains a future upstream enhancement; when it lands we can revisit and re-add a runtime case that exercises pttc end-to-end against nasm. The libipt runtime test (lib/oeqa/runtime/cases/libipt.py) gated on the 'nasm' package and ran pttc on the shipped sample .ptt files. With the patch removed pttc invokes yasm at runtime, so the test would fail on every DUT (yasm is not pulled in as an RDEPENDS anywhere in meta-intel). The test exercised pttc/ptdump end-to-end, not the libipt library itself, and library coverage is provided indirectly by anything that links against libipt2; the runtime case has no remaining utility once the assembler-substitution patch is gone. No change to the recipe's PACKAGES, FILES, or EXTRA_OECMAKE: the libipt-test sub-package still ships pttc, ptdump, ptseg and the .ptt sample sources under ${bindir}/libipt for any user that installs yasm out-of-band and wants to drive pttc manually. This matches the Fedora libipt RPM behaviour. Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
* libipt: Switch from yasm to nasm assemblerYogesh Tyagi2026-02-022-1/+180
| | | | | | | | | | | | | | | | | | | | Replace yasm with nasm as yasm is no longer maintained and has unpatched CVEs (CVE-2024-45534, CVE-2024-45535). Nasm is actively maintained and generates compatible listing files. The patch includes: - Changed assembler invocation from yasm to nasm - Removed unsupported -L nasm parameter - Added dual-format parser for org directives (yasm and nasm syntax) - Implemented 1:1 line mapping fallback for nasm listing format - Updated documentation Both test cases (loop-tnt.ptt and dump-all-packets.ptt) now pass on target system. Upstream-Status: Submitted [https://github.com/intel/libipt/pull/120] Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
* libipt : upgrade 2.1.2 -> 2.2Yogesh Tyagi2026-01-271-3/+4
| | | | | | | | | | License update : Update copyright format from 'Copyright (c)' to 'Copyright (C)' in BSD-3-Clause LICENSE file. Release Notes: https://github.com/intel/libipt/releases/tag/v2.2 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
* libipt : set a baseline policy version for cmakeYogesh Tyagi2025-07-251-0/+1
| | | | | | | | | | | | | Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1]. Set a baseline policy version for CMake using CMAKE_POLICY_VERSION_MINIMUM variable until until libipt is upgraded to include the fix [2]. [1] https://git.yoctoproject.org/poky/commit/?id=2c9a6b4a81b642fc3e6815aa83d1c9bafb56c7db [2] https://github.com/intel/libipt/commit/fa7d42de25be526da532284cc8b771fdeb384f81 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* recipes: Update to match S/UNPACKDIR changesYogesh Tyagi2025-07-041-2/+0
| | | | | | | | Update to match the recent changes in OE-Core where the unpack layout changed. [https://patchwork.yoctoproject.org/project/oe-core/patch/20250616095000.2918921-1-alex.kanavin@gmail.com/] Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt : upgrade 2.1.1 -> 2.1.2Sudhir Sharma2025-05-141-2/+2
| | | | | | | | | | | | | * Support latest processors. * Bug fixes. License-Update: License year is updated. Release notes: https://github.com/intel/libipt/releases/tag/v2.1.2 Signed-off-by: Sudhir Sharma <sudhir.sharma@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* recipes: avoid using WORKDIR in do_installAnuj Mittal2024-04-291-1/+1
| | | | | | | Replace usage of WORKDIR in do_compile/do_install by ${S} or ${B}. It also helps with cases when externalsrc is used like with devtool. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt : upgrade 2.1.0 -> 2.1.1Yogesh Tyagi2024-03-111-2/+2
| | | | | | | | | | License-Update: copyright years updated Release Notes: https://github.com/intel/libipt/releases/tag/v2.1.1 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: 2.0.6 -> 2.1.0Lee Chee Yang2023-10-301-2/+3
| | | | | | | | by default, enable the new tool 'ptseg' for finding the PSB segment for a given offset. Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt : upgrade 2.0.5 -> 2.0.6Yogesh Tyagi2023-07-131-2/+2
| | | | | | | | | | | License-Update: copyright years updated Following line added to LICENSE file: SPDX-License-Identifier: BSD-3-Clause Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
* libipt: upgrade 2.0.4 -> 2.0.5Nandini Matam2022-03-021-2/+2
| | | | | | | *License-Update: Change in copyright dates Signed-off-by: Nandini Matam <nandinix.matam@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* Convert to new override syntaxAnuj Mittal2021-07-311-2/+2
| | | | | | | Use the convert-overrides.py to convert to new syntax and manually fix some additional changes. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: upgrade 2.0.3 -> 2.0.4Anuj Mittal2021-03-241-2/+2
| | | | | | License-Update: copyright years updated Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: upgrade 2.0.2 -> 2.0.3Anuj Mittal2020-08-171-1/+1
| | | | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: upgrade 2.0.1 -> 2.0.2Anuj Mittal2020-06-221-2/+2
| | | | | | License-Update: Copyright year changed. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: add CMAKE_SKIP_RPATHAnuj Mittal2020-04-241-0/+1
| | | | | | | | dunfell has a change in cmake class that forces cmake to use relative RPATHs but when this recipe is used with zeus, we'd need to explicitly make sure that binaries don't have absolute paths. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* recipes-support/libipt: Enable test packageYeoh Ee Peng2020-03-271-0/+16
| | | | | | | | | Enable libipt test package: - include ptdump, pttc - include sample test files for pttc Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libipt: Initial recipe for Intel Processor Trace decoder libraryAnkit Navik2019-08-211-0/+16
It adds generic recipe for Intel Processor Trace decoder library is Intel's reference implementation for decoding Intel PT. Signed-off-by: Ankit Navik <ankit.tarot@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>