SHA256
1
0
forked from pool/trace-cmd

6 Commits

Author SHA256 Message Date
3891825a91 Accepting request 1301528 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1301528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trace-cmd?expand=0&rev=23
2025-08-27 19:35:20 +00:00
60c06ea820 - Update to version 3.3.3:
* Fix completion of trace-cmd report to show files
  * Fix checking glob() return values
  * Fix open file descriptors in trace-cmd split

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=52
2025-08-27 07:51:51 +00:00
20ffdda64f Accepting request 1273437 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1273437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trace-cmd?expand=0&rev=22
2025-04-29 14:42:52 +00:00
996c4024ab - Update to version 3.3.2:
* Add trace-cmd show --max_latency
  * Bail out of trace-cmd reset on invalid options
  * Add trace-cmd reset -k option to keep events
  * New bash completions
  * Update help messages of trace-cmd show for --hist and --trigger options
  * Fix some memory errors
  * Fix sqlhist initialization of variables
  * Fix trace-cmd record demonization stdin redirection to /dev/null

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=50
2025-04-29 12:21:06 +00:00
28da69ea74 Accepting request 1242997 from devel:tools
OBS-URL: https://build.opensuse.org/request/show/1242997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/trace-cmd?expand=0&rev=21
2025-02-04 17:13:26 +00:00
bfc6b0874b - Update to latest upstream version 3.3.1:
* Disable function trace option func_stack_trace before clearing filter
  * Fix compression algorithm for files greater than 2GB
  * Update printf format to match unsigned parameters.
- Update to version 3.3.0:
  * Now by default, the output shows the latency lines:
  * Add feature to build with meson from using make
  * Add trace-cmd record --daemonize
  * Add trace-cmd show --buffer-subbuf-size option
    This will display the "subbuf-size" of the instance ring buffer.
    (New Linux kernel featuer added in v6.8)
  * Add trace-cmd show --buffer_percent option
    This will display the "buffer_percent" option, added in v5.0.
  * Add trace-cmd show --hist and --trigger options
    Add options to trace-cmd show to display the hist and trigger contents
    of events.
  * Add new command "sqlhist" that makes trace-cmd do the same work as
    the sqlhist code in libtracefs.
  * Show "buffer_subbuf_size" in trace-cmd stat
  * Add trace-cmd record --subbuf-size option
  * Allow trace-cmd report to read multiple files without using the -i
    option. That is, "trace-cmd report trace*.dat" will now work.
  * Have trace-cmd split work with trace.dat files with multiple instances.
  * Allow trace-cmd split to split out instance buffers
  * Allow trace-cmd record to support -m option when recording from an agent.
  * Fix output file names for trace-cmd split
  * Fix the way filters were applied to trace-cmd report with multiple trace.dat
    files.
  * Fix the trace-cmd reset -d option
  * Fix meson build issue

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=48
2025-02-04 09:13:54 +00:00
6 changed files with 66 additions and 94 deletions

View File

@@ -1,55 +0,0 @@
From: Daniel Wagner <dwagner@suse.de>
Date: Thu Jun 15 11:48:53 AM PDT 2023
Subject: libtracecmd: Add explicit meson thread dependency
Patch-mainline: mailed to mailing list
References: none
Signed-off-by: Tony Jones <tonyj@suse.de>
Older version of meson do not add automatically the pthread and dl
dependency. Thus add it explicitly to thebuild.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
lib/meson.build | 3 +++
lib/trace-cmd/meson.build | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/lib/meson.build b/lib/meson.build
index 52f892fd82d5..389281d3806a 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -29,6 +29,9 @@ conf = configuration_data()
libtraceevent_dep = dependency('libtraceevent', version: '>= 1.5.0', required: true)
libtracefs_dep = dependency('libtracefs', version: '>= 1.6.0', required: true)
+threads_dep = dependency('threads', required: true)
+dl_dep = cc.find_library('dl', required : false)
+
zlib_dep = dependency('zlib', required: false)
conf.set('HAVE_ZLIB', zlib_dep.found(), description: 'Is zlib avialable?')
diff --git a/lib/trace-cmd/meson.build b/lib/trace-cmd/meson.build
index 8c00ca8f8ff7..2193e5265b22 100644
--- a/lib/trace-cmd/meson.build
+++ b/lib/trace-cmd/meson.build
@@ -45,6 +45,8 @@ if libtracecmd_standalone_build
dependencies: [
libtraceevent_dep,
libtracefs_dep,
+ threads_dep,
+ dl_dep,
zlib_dep,
libzstd_dep,
audit_dep],
@@ -77,6 +79,8 @@ else
dependencies: [
libtraceevent_dep,
libtracefs_dep,
+ threads_dep,
+ dl_dep,
zlib_dep,
libzstd_dep,
audit_dep],
--
2.40.1

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:62af2c6062eeb434925921bb5936774b0a0e17a5f86671fa2ea2f40704a080cd
size 342848

3
trace-cmd-v3.3.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ed41f61010998e4a1ba54778f9077ee7afb5311d38dca9781d7a397dd70c9d4
size 366872

View File

@@ -1,3 +1,64 @@
-------------------------------------------------------------------
Mon Aug 25 09:55:22 UTC 2025 - Petr Pavlu <petr.pavlu@suse.com>
- Update to version 3.3.3:
* Fix completion of trace-cmd report to show files
* Fix checking glob() return values
* Fix open file descriptors in trace-cmd split
-------------------------------------------------------------------
Tue Apr 29 11:43:04 UTC 2025 - Petr Pavlu <petr.pavlu@suse.com>
- Update to version 3.3.2:
* Add trace-cmd show --max_latency
* Bail out of trace-cmd reset on invalid options
* Add trace-cmd reset -k option to keep events
* New bash completions
* Update help messages of trace-cmd show for --hist and --trigger options
* Fix some memory errors
* Fix sqlhist initialization of variables
* Fix trace-cmd record demonization stdin redirection to /dev/null
-------------------------------------------------------------------
Tue Feb 4 08:53:01 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to latest upstream version 3.3.1:
* Disable function trace option func_stack_trace before clearing filter
* Fix compression algorithm for files greater than 2GB
* Update printf format to match unsigned parameters.
- Update to version 3.3.0:
* Now by default, the output shows the latency lines:
* Add feature to build with meson from using make
* Add trace-cmd record --daemonize
* Add trace-cmd show --buffer-subbuf-size option
This will display the "subbuf-size" of the instance ring buffer.
(New Linux kernel featuer added in v6.8)
* Add trace-cmd show --buffer_percent option
This will display the "buffer_percent" option, added in v5.0.
* Add trace-cmd show --hist and --trigger options
Add options to trace-cmd show to display the hist and trigger contents
of events.
* Add new command "sqlhist" that makes trace-cmd do the same work as
the sqlhist code in libtracefs.
* Show "buffer_subbuf_size" in trace-cmd stat
* Add trace-cmd record --subbuf-size option
* Allow trace-cmd report to read multiple files without using the -i
option. That is, "trace-cmd report trace*.dat" will now work.
* Have trace-cmd split work with trace.dat files with multiple instances.
* Allow trace-cmd split to split out instance buffers
* Allow trace-cmd record to support -m option when recording from an agent.
* Fix output file names for trace-cmd split
* Fix the way filters were applied to trace-cmd report with multiple trace.dat
files.
* Fix the trace-cmd reset -d option
* Fix meson build issue
* Make some man pages clean ups
* Fix other minor issues.
- dropped patch: libtracecmd-add-explicit-meson-thread-dependency.patch
- dropped patch: tracecmd-add-explicit-meson-thread-dependency.patch
-------------------------------------------------------------------
Fri May 10 09:19:23 UTC 2024 - Petr Tesařík <ptesarik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package trace-cmd
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
Name: trace-cmd
Version: 3.2
Version: 3.3.3
Release: 0
Summary: Configuration tool for Ftrace
License: GPL-2.0-only
Group: Development/Tools/Debuggers
URL: https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git
Source0: trace-cmd-v%{version}.tar.gz
Patch1: libtracecmd-add-explicit-meson-thread-dependency.patch
Patch2: tracecmd-add-explicit-meson-thread-dependency.patch
BuildRequires: asciidoc
BuildRequires: fdupes
BuildRequires: libtraceevent-devel

View File

@@ -1,32 +0,0 @@
From: Daniel Wagner <dwagner@suse.de>
Date: Thu Jun 15 11:48:53 AM PDT 2023
Subject: tracecmd: Add explicit meson thread dependency
Patch-mainline: mailed to mailing list
References: none
Signed-off-by: Tony Jones <tonyj@suse.de>
Older version of meson do not add automatically the pthread and dl
dependency. Thus add it explicitly to the build.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
---
meson.build | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meson.build b/meson.build
index 906ac8168f4f..fbdf016f67a7 100644
--- a/meson.build
+++ b/meson.build
@@ -27,6 +27,9 @@ conf = configuration_data()
libtraceevent_dep = dependency('libtraceevent', version: '>= 1.5.0', required: true)
libtracefs_dep = dependency('libtracefs', version: '>= 1.6.0', required: true)
+threads_dep = dependency('threads', required: true)
+dl_dep = cc.find_library('dl', required : false)
+
zlib_dep = dependency('zlib', required: false)
conf.set('HAVE_ZLIB', zlib_dep.found(), description: 'Is zlib avialable?')
--
2.40.1