Recommended update for perf

Announcement ID: SUSE-RU-2024:3311-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP6
  • openSUSE Leap 15.6
  • SUSE Linux Enterprise Desktop 15 SP6
  • SUSE Linux Enterprise Real Time 15 SP6
  • SUSE Linux Enterprise Server 15 SP6
  • SUSE Linux Enterprise Server for SAP Applications 15 SP6

An update that has one fix can now be installed.

Description:

This update for perf fixes the following issues:

  • perf arch events: Fix duplicate RISC-V SBI firmware event name.
  • perf tool: fix dereferencing NULL al-maps.
  • perf intel-pt: Fix exclude_guest setting.
  • perf intel-pt: Fix aux_watermark calculation for 64-bit size.
  • perf report: Fix condition in sort__sym_cmp().
  • perf pmus: Fixes always false when compare duplicates aliases.
  • tools/perf: Fix the string match for "/tmp/perf-$PID.map" files in dso__load.
  • perf test: Make test_arm_callgraph_fp.sh more robust.
  • perf stat: Fix the hard-coded metrics calculation on the hybrid.
  • perf pmu: Assume sysfs events are always the same case.
  • perf tools: Add/use PMU reverse lookup from config to name.
  • perf tools: Use pmus to describe type from attribute.
  • perf: script: add raw|disasm arguments to --insn-trace option.
  • perf annotate: Use global annotation_options.
  • perf top: Convert to the global annotation_options.
  • perf report: Convert to the global annotation_options.
  • perf annotate: Introduce global annotation_options.
  • perf maps: Move symbol maps functions to maps.c.
  • perf annotate: Split branch stack cycles information out of 'struct annotation_line'.
  • perf machine thread: Remove exited threads by default.
  • perf record: Lazy load kernel symbols.
  • Detect memory allocation failure in annotated_source__alloc_histograms (bsc#1227962).

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.6
    zypper in -t patch SUSE-2024-3311=1 openSUSE-SLE-15.6-2024-3311=1
  • Development Tools Module 15-SP6
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP6-2024-3311=1

Package List:

  • openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 i586)
    • perf-debuginfo-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-debugsource-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-bash-completion-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-gtk-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-gtk-debuginfo-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-devel-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-6.4.0.git26920.4570763476-150600.3.9.2
  • Development Tools Module 15-SP6 (aarch64 ppc64le s390x x86_64)
    • perf-debuginfo-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-debugsource-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-devel-6.4.0.git26920.4570763476-150600.3.9.2
    • perf-6.4.0.git26920.4570763476-150600.3.9.2

References: