30 Commits

Author SHA256 Message Date
e87b83a4c6 Accepting request 1301274 from home:PPavlu:branches:devel:tools
- 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/request/show/1301274
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=52
2025-08-27 07:51:51 +00:00
559588e148 Accepting request 1273428 from home:PPavlu:branches:devel:tools
- 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/request/show/1273428
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=50
2025-04-29 12:21:06 +00:00
ccc18f3c6b Accepting request 1242994 from home:amanzini:branches:devel:tools
- 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/request/show/1242994
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=48
2025-02-04 09:13:54 +00:00
Mel Gorman
f171e62785 Accepting request 1173077 from home:petesarik:branches:devel:tools
- Build with support for zlib and zstd compression.

OBS-URL: https://build.opensuse.org/request/show/1173077
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=46
2024-05-10 10:06:39 +00:00
97f2cc8c7f Accepting request 1093518 from home:jones_tony:trace-cmd
- Add explicit thread dependency for older versions of meson (i.e SLE-15-SP5) 
  New patch: libtracecmd-add-explicit-meson-thread-dependency.patch
  New patch: tracecmd-add-explicit-meson-thread-dependency.patch

- Update to version 3.2
  * Add trace-attach.c to meson build
  * Add initial support for meson
  * Quiet valgrind from reporting forked children
  * Close handle after opening
  * Fix memory leaks of followers
  * Add Makefile target for memory test
  * Update the version to the development
  * 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
- Drop patches (upstream):
  * 0001-libtracecmd-Add-initial-support-for-meson.patch
  * 0002-trace-cmd-Add-initial-support-for-meson.patch

OBS-URL: https://build.opensuse.org/request/show/1093518
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=44
2023-06-17 08:25:48 +00:00
4339155a7c Accepting request 1063660 from home:wagi:branches:devel:trace
- Update to latest upstream version (3.1.6)
  * Make sure 32 bit stat works on large files
  * Fix usage of temp file in trace-cmd stream
  * Do not block when stopping trace-cmd stream threads
  * Fix flushing issue with trace-cmd stream
  * Set default sleep of trace-cmd stream to 1/2 second
  * Remove calls to lseek64() and friends in lieu of defining _FILE_OFFSET_BITS=64
- Sync meson build patch with latest upstream version
  * Documentation is build via extra build target

OBS-URL: https://build.opensuse.org/request/show/1063660
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=42
2023-02-08 08:10:07 +00:00
f99696e389 * add 0001-libtracecmd-Add-initial-support-for-meson.patch
* add 0002-trace-cmd-Add-initial-support-for-meson.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=40
2023-01-04 10:45:46 +00:00
c27179dbcd * remove 0001-build-Only-consider-trace-cmd-documentation.patch
* remove 0002-build-Obey-package-guidelines-for-bash-completions.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=39
2023-01-02 09:45:00 +00:00
c00fb54428 Accepting request 1045605 from home:wagi:branches:devel:tools
- Update to latest upstream version (3.1.5)
  - Let subcommand "convert" automatically compress if possible
  - Fix calculation of pipe_size (which defaulted to just page size)
- Build project with Meson
  * add 0001-trace-cmd-Add-initial-support-for-meson.patch

OBS-URL: https://build.opensuse.org/request/show/1045605
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=38
2022-12-30 09:29:23 +00:00
Mel Gorman
54988c9015 Accepting request 999085 from home:wagi:branches:devel:tools
- Update to latest upstream version (3.1.2)
  Splitted libtracecmd into a seperate project as it has
  a different release cycle and doesn't align with the
  trace-cmd frontend.
   - Drop 0001-libtracecmd-use-major-version-as-SONAME.patch
   - Drop 0002-trace-cmd-Remove-last-elements-of-local-libtracefs-a.patch
   - Add 0001-build-Only-consider-trace-cmd-documentation.patch
   - Rename makefile-bash.patch to 0002-build-Obey-package-guidelines-for-bash-completions.patch

OBS-URL: https://build.opensuse.org/request/show/999085
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=36
2022-09-14 10:07:44 +00:00
6833d3127c Accepting request 956721 from home:olh:SLE_12
- Force correct pkgconfig_dir location to fix build
- Force python3 during build

OBS-URL: https://build.opensuse.org/request/show/956721
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=35
2022-03-01 08:07:26 +00:00
Mel Gorman
dfc453d75c Accepting request 947740 from home:dfaggioli:perf
- New package, with python plugins
  - Add 0002-trace-cmd-Remove-last-elements-of-local-libtracefs-a.patch
- Update to latest upstream version (2.9.6)
  - Drop makefile-lib64.patch (not necessary any longer)
- Depend on libtraceevent and libtracefs own package, instead
  of building (a copy of, at least potentially) them ourselves
- Build libtracecmd (and -devel) as separate package
  - Add 0001-libtracecmd-use-major-version-as-SONAME.patch
  - Drop trace-cmd-rpmlintrc (no more lint errors)
- Some spec file cleanup, e.g.:
  - %setup --> %autosetup
  - make --> %make_build

OBS-URL: https://build.opensuse.org/request/show/947740
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=34
2022-01-21 08:34:39 +00:00
Mel Gorman
c88aa83c7c Accepting request 836481 from home:dfaggioli:perf
- Upgrade to version 2.9.1
  - Drop 0001-trace-cmd-fix-multiple-definition-compiler-errors.patch
    - Patch is upstream, no backport needed any longer
  - Update plugins location (trace-cmd --> traceevent)
  - No need to explicitly remove kernelshark and its docs
    - They're no longer build with trace-cmd

OBS-URL: https://build.opensuse.org/request/show/836481
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=33
2020-09-24 14:54:11 +00:00
Mel Gorman
1a00a3a874 Accepting request 812484 from home:mgorman:branches:devel:tools
- Add 0001-trace-cmd-fix-multiple-definition-compiler-errors.patch
  - Backport fix for a multiple definition error triggered by gcc 10

OBS-URL: https://build.opensuse.org/request/show/812484
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=31
2020-06-08 11:43:27 +00:00
a33e302646 Accepting request 724829 from home:mgorman:branches:devel:tools
- Clean spec file using spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/724829
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=29
2019-08-20 14:03:55 +00:00
Mel Gorman
dd1d41e95c Accepting request 721703 from home:mgorman:branches:devel:tools
- Add makefile-bash.patch
  - Installs bash completes as per openSUSE packaging guidelines
- Delete revert-trace-cmd-if-event-fork-exists-use-it-instead-of-ptrace.patch
  - Patch merged upstream
- Delete trace-cmd-asciidoc-fix.patch
  - Patch merged upstream

OBS-URL: https://build.opensuse.org/request/show/721703
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=27
2019-08-08 09:38:11 +00:00
Mel Gorman
16fa1d5df2 Accepting request 721524 from home:mgorman:branches:devel:tools
- Remove building of kernelshark package
  - Upstream has separate versioning now for trace-cmd and kernelshark
  - Version tags no longer correspond to the same source
- Upgrade to version 2.8.3
  - Install headers dependencies to correct locations
  - SET SONAME on shared libraries
  - Python3 support
- Upgrade to version 2.8.2
  - Fix a potential issue with buffer run due to non-terminating string
    returned by readlink()
- Upgrade to version 2.8.1
  - Split out kernelshark in preparation for major rewrite.
  - Code refactoring related to the kernelshark split
  - Split out event handling into a separate library
  - Fix memory handling errors, NULL handling, use-after-free, leaks
- Upgrade to version 2.7
  - Memory leak fixes
  - Multiple bug fixes on how splice() is handled to avoid data loss
  - Fix various build warnings
  - Documentation updates for missing options, clarifications on usage
  - Update bash competion handlers for sub-commands
- Upgrade to version 2.6.2
  - Fix memory handling errors, NULL handling, use-after-free
  - Fix filter syntax for make_pid_filter
  - Documentation updates
  - Add bash competion handlers for sub-commands

OBS-URL: https://build.opensuse.org/request/show/721524
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=26
2019-08-08 08:07:59 +00:00
94afaedc93 Accepting request 669879 from home:tiwai:test:asciidoc-drop
- Fix documentation build with asciidoc (bsc#1075764):
  trace-cmd-asciidoc-fix.patch

OBS-URL: https://build.opensuse.org/request/show/669879
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=24
2019-02-13 17:01:39 +00:00
Mel Gorman
76dda4df66 Accepting request 538359 from home:mgorman:branches:devel:tools
Add reference to revert-trace-cmd-if-event-fork-exists-use-it-instead-of-ptrace.patch

OBS-URL: https://build.opensuse.org/request/show/538359
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=22
2017-11-02 13:24:48 +00:00
Mel Gorman
b06c2ab37d Accepting request 538150 from home:mgorman:branches:devel:tools
- Add audit-devel as a build dependency to remove a build warning
- Revert event-fork support as children are not properly traced (bsc#1064552)
- Bump release number

OBS-URL: https://build.opensuse.org/request/show/538150
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=21
2017-11-01 16:30:31 +00:00
Mel Gorman
7a3517fd7b Accepting request 519117 from home:mgorman:branches:devel:tools
- Updated makefile-lib64.patch to match upstream Makefile changes

OBS-URL: https://build.opensuse.org/request/show/519117
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=19
2017-08-28 13:13:47 +00:00
Mel Gorman
1f8a41f2a1 Accepting request 515907 from home:mgorman:branches:devel:tools
- Upgrade to version 2.6.1
  - Improved robust handling of malloc failures and corrupted input
  - Improved graphing support
  - Fix bug due to double frees
  - Fix output format oddities
  - Add filtering of specific pids
  - Add bash-completion handler
  - New option: --max-graph-depth to limit graph depth
  - New option: -I remove interrupts from trace
  - New option: -S remove softirqs from trace
  - New option: --ts2secs to convert cycles into seconds

OBS-URL: https://build.opensuse.org/request/show/515907
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=18
2017-08-10 13:36:48 +00:00
Mel Gorman
8d8a16da42 Accepting request 433465 from home:mgorman:branches:devel:tools
Upgrade to version 2.6

OBS-URL: https://build.opensuse.org/request/show/433465
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=16
2016-10-05 15:45:43 +00:00
Mel Gorman
adab238961 Accepting request 283105 from home:mgorman:branches:devel:tools
- Upgrade to version 2.5.1
  - New command stream: stream to console without files
  - New command profile: live statistic gathering
  - New command stat: show what can be enabled
  - New command hist: histogram of recorded events
  - New command mem: filter a trace for kernel slab allocator calls
  - New option: record --profile will enable the same defaults as used
                with trace-cmd profile
  - New option: report --event filter recorded events based on a regex
  - New option: report --profile produces identical output as trace-cmd profile
                except on recorded data instead of live data.
  - Resets all modifications to existing tracing options on completion
  - Trace multiple PIDs (-P x,y,z)

OBS-URL: https://build.opensuse.org/request/show/283105
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=14
2015-01-28 11:34:08 +00:00
Mel Gorman
f29b0bbd18 Accepting request 158717 from home:mgorman:branches:devel:tools
Upgrade to version v2.0.4 changelog

OBS-URL: https://build.opensuse.org/request/show/158717
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=12
2013-03-12 16:30:27 +00:00
84f63d828f - Upgrade to version v2.0.2
Changelog:
  - Update README for plugins directory
  - trace-cmd: Move trace-cmd python modules to lib/
  - python: Fix further issues of struct record rename
- Fix libraries to install in /usr/lib64 on relevant archs.

OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=10
2012-12-29 06:33:32 +00:00
Mel Gorman
e684be3627 Accepting request 137530 from home:mgorman:branches:devel:tools
- Move to upstream stable version v2.0.1. Previously backported patches
  and openSUSE-specific path patches have been merged upstream in this
  version.
- Allow filtering by function names instead of pointers
- Numberous formatting fixes
- Many small stability fixes in the event parser, libtraceevent and trace-cmd.
  Off-by-one errors, potential memory leaks etc.
- Reduced memory and CPU usage. Closes file descriptors that pin kernel memory,
  avoids loading of python if python plugins are not in use.

OBS-URL: https://build.opensuse.org/request/show/137530
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=8
2012-10-08 22:49:09 +00:00
Mel Gorman
59961cfd2e Accepting request 136375 from home:mgorman:branches:devel:tools
Backport of fixes from the development branch necessary for the wakeup plugin to function properly

OBS-URL: https://build.opensuse.org/request/show/136375
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=5
2012-09-28 15:48:37 +00:00
Stephan Kulow
3dccc40408 Accepting request 135018 from home:mgorman:branches:devel:tools
Depend on libxslt instead of xsltproc on older releases.

OBS-URL: https://build.opensuse.org/request/show/135018
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=4
2012-09-19 13:56:29 +00:00
Ismail Dönmez
f5983aacd4 Accepting request 134711 from home:mgorman
Initial package for trace-cmd 1.2, a front-end for Ftrace.

OBS-URL: https://build.opensuse.org/request/show/134711
OBS-URL: https://build.opensuse.org/package/show/devel:tools/trace-cmd?expand=0&rev=1
2012-09-18 18:41:54 +00:00