Feature update for libtraceevent, libtracefs, trace-cmd

Announcement ID: SUSE-FU-2023:3350-1
Rating: moderate
References:
Affected Products:
  • Development Tools Module 15-SP5
  • openSUSE Leap 15.5
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5

An update that contains one feature can now be installed.

Description:

This update for libtraceevent, libtracefs and trace-cmd fixes the following issues:

trace-cmd:

  • Version update from 2.6.1 to 3.2 (jsc#PED-4572)
  • Quiet valgrind from reporting forked children
  • Close handle after opening
  • Fix memory leaks of followers
  • Add new command attach
  • Add tracecmd_get_tsc2nsec() API
  • Unlock records in tracecmd_iterate_events()
  • Add "IP" to -N argument in help message
  • Remove redundant check of instance in allocate_instance()
  • Free buf_from in error path of tracecmd_compress_copy_from()
  • Update v7 trace.dat documentation to clarify the strings section
  • Do not destroy existing instances
  • Do not extract top level unless told to
  • Fix tracecmd_compress_copy_from() write size return
  • Document filter scope
  • Support global filters
  • Ensure filter is applied to single input file
  • Open code execvp routine to avoid multiple execve syscalls
  • Remove building of kernelshark package
  • Upstream has separate versioning now for trace-cmd and kernelshark
  • Version tags no longer correspond to the same source

libtraceevent:

  • New package implementation required by trace-cmd (jsc#PED-4572)

libtracefs:

  • New package implementation required by trace-cmd (jsc#PED-4572)

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.5
    zypper in -t patch SUSE-2023-3350=1 openSUSE-SLE-15.5-2023-3350=1
  • Development Tools Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2023-3350=1

Package List:

  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
    • libtraceevent-debuginfo-1.7.3-150500.11.3.2
    • libtracefs1-1.7.0-150500.11.3.3
    • libtraceevent1-plugins-debuginfo-1.7.3-150500.11.3.2
    • libtracefs-debuginfo-1.7.0-150500.11.3.3
    • libtraceevent1-debuginfo-1.7.3-150500.11.3.2
    • libtracefs-tools-1.7.0-150500.11.3.3
    • trace-cmd-3.2-150500.14.3.3
    • trace-cmd-python3-3.2-150500.14.3.3
    • libtracefs-debugsource-1.7.0-150500.11.3.3
    • trace-cmd-debuginfo-3.2-150500.14.3.3
    • trace-cmd-python3-debuginfo-3.2-150500.14.3.3
    • libtracefs-devel-1.7.0-150500.11.3.3
    • libtraceevent1-1.7.3-150500.11.3.2
    • libtraceevent1-plugins-1.7.3-150500.11.3.2
    • libtracefs1-debuginfo-1.7.0-150500.11.3.3
    • libtraceevent-debugsource-1.7.3-150500.11.3.2
    • trace-cmd-debugsource-3.2-150500.14.3.3
    • libtraceevent-devel-1.7.3-150500.11.3.2
    • libtracefs-tools-debuginfo-1.7.0-150500.11.3.3
  • Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • libtraceevent-debuginfo-1.7.3-150500.11.3.2
    • libtracefs1-1.7.0-150500.11.3.3
    • libtraceevent1-plugins-debuginfo-1.7.3-150500.11.3.2
    • libtracefs-debuginfo-1.7.0-150500.11.3.3
    • libtraceevent1-debuginfo-1.7.3-150500.11.3.2
    • libtracefs-tools-1.7.0-150500.11.3.3
    • trace-cmd-3.2-150500.14.3.3
    • libtracefs-debugsource-1.7.0-150500.11.3.3
    • trace-cmd-debuginfo-3.2-150500.14.3.3
    • libtracefs-devel-1.7.0-150500.11.3.3
    • libtraceevent1-1.7.3-150500.11.3.2
    • libtraceevent1-plugins-1.7.3-150500.11.3.2
    • libtracefs1-debuginfo-1.7.0-150500.11.3.3
    • libtraceevent-debugsource-1.7.3-150500.11.3.2
    • trace-cmd-debugsource-3.2-150500.14.3.3
    • libtraceevent-devel-1.7.3-150500.11.3.2
    • libtracefs-tools-debuginfo-1.7.0-150500.11.3.3

References: