1
0
forked from pool/libtracefs

6 Commits

Author SHA256 Message Date
90384c94ea Accepting request 1195843 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1195843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=16
2024-08-26 20:05:25 +00:00
bb209ed066 Accepting request 1194474 from devel:libraries:c_c++
- Update to release 1.8.1

OBS-URL: https://build.opensuse.org/request/show/1194474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=15
2024-08-18 16:19:27 +00:00
OBS User unknown
b21fd66b11 [info=d55652c139b556ffd8c18c7ebf15466719a0b2f6eee27af03cd255339d93f505]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=36
2024-08-17 15:08:51 +00:00
OBS User unknown
74613b046c [info=ea04d2f7ecdc5828fc6dd637961df105488bdd118554d2b58ba0bc2a472d6f2c]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=35
2024-07-27 18:05:32 +00:00
0306c08eaf [info=bc289b389809a2c371f4a5f92f585fcde840b47ea1d0eb23b18a621eed33b1ad]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=34
2024-07-27 17:53:24 +00:00
04e87f0360 Accepting request 1181395 from home:wagi:branches:benchmark
Mon 14:22:13 UTC 2024 - Daniel Wagner <daniel.wagner@suse.com>
- Update to v1.8.0
  * remove: add-explicit-meson-thread-dependency.patch
  * tracefs_follow_event_clear() and tracefs_follow_missed_events_clear()
    API to clean up followers if the tracefs instance is going to be used
    for other iterations
  * tracefs_instance_file_write_number()
    A simple helper function to make it easier to write numbers into the
    tracefs files. It does the conversion from number to string, as the
    files expect strings and not numbers.
  * Add API to work with kbuffer, which gives more control to the application
    and speeds it up:
      tracefs_cpu_read_buf()
      tracefs_cpu_buffered_read_buf()
      tracefs_cpu_flush_buf()
   * tracefs_instance_get_buffer_percent() and tracefs_instance_set_buffer_percent()
     Modify the buffer_percent file that allows readers to block until the buffer
     is filled to a given percent. This keeps the reader from causing events that
     will add noise to the trace.
   * tracefs_instance_clear()
     Helper to clear the contents of the current trace instance.
   * tep_get_sub_buffer_data_size()
     Helper to retrieve the current sub-buffer data size. The Linux kernel tracing
     ring buffer is broken up into smaller sub-buffers. This returns the size of
     the data portion of those sub-buffers (does not include the sub-buffer meta
     data).
   * tracefs_load_headers()
     API to just load the information about the sub-buffers and nothing more.
   * API to extract tracing ring buffer statistics
       tracefs_instance_get_stat()
       tracefs_instance_put_stat()
       tracefs_buffer_stat_entries()
       tracefs_buffer_stat_overrun()
       tracefs_buffer_stat_commit_overrun()
       tracefs_buffer_stat_bytes()
       tracefs_buffer_stat_event_timestamp()
       tracefs_buffer_stat_timestamp()
       tracefs_buffer_stat_dropped_events
    * tracefs_instance_set_subbuf_size() and tracefs_instance_get_subbuf_size()
      API to modify the sub-buffers size of the tracing ring buffer.
    * Added TIMESTAMP_DELTA and TIMESTAMP_DELTA_USECS to tracefs_sql() as a shortcut
      for (end.TIMESTAMP - start.TIMESTAMP) and (end.TIMESTAMP_USECS - start.TIMESTAMP_USECS)
      respectively
    * Add PID filtering API:
        tracefs_filter_pid_function()
	tracefs_filter_pid_events()
        tracefs_filter_pid_function_clear()
        tracefs_filter_pid_events_clear()
    * Added tracefs_cpu_snapshot_open() to read the raw data of snapshot buffers
    * Added snapshot functions:
       tracefs_snapshot_snap()
       tracefs_snapshot_clear()
       tracefs_snapshot_free()
    * Added ring buffer memory mapping APIs
      tracefs_cpu_open_mapped()
      tracefs_cpu_is_mapped()
      tracefs_mapped_is_supported()
      tracefs_cpu_map()
      tracefs_cpu_unmap()
    * Updates:
      - Increase pipe max size to max value when using splice.
      - Clear "max_graph_depth" on tracefs_instance_reset()
      - Add missing headers to syscall() and SYS_* defines
      - Add dependency fixes to meson build
      - Fix some documentation / man page issues
      - Fix memory leaks
      - Fix cscope rule
      - Fix issues in unit tests
      - Added many more unit tests

OBS-URL: https://build.opensuse.org/request/show/1181395
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=33
2024-06-18 07:25:40 +00:00
6 changed files with 14 additions and 17 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1723907592
commit: d55652c139b556ffd8c18c7ebf15466719a0b2f6eee27af03cd255339d93f505
url: https://src.opensuse.org/jengelh/libtracefs
revision: master

3
build.specials.obscpio Normal file
View File

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

BIN
libtracefs-1.8.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
libtracefs-1.8.2.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,13 +1,3 @@
-------------------------------------------------------------------
Thu Apr 17 09:37:38 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.8.2
* libtracefs: Have tracefs_instance_tracers() return instance
tracers
* libtrace: Fix memory leak in tracefs_cpu
* libtracefs: Handle synthetic events with dynamic strings as
fields
-------------------------------------------------------------------
Sat Jul 27 17:57:36 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libtracefs
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
Name: libtracefs
%define lname libtracefs1
Version: 1.8.2
Version: 1.8.1
Release: 0
Summary: Linux kernel trace file system library
License: LGPL-2.1-only
@@ -81,7 +81,8 @@ This subpackage contains the header files.
%fdupes %buildroot/%_prefix
%ldconfig_scriptlets -n %lname
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%_libdir/libtracefs.so.1*
@@ -90,7 +91,6 @@ This subpackage contains the header files.
%files tools
%_bindir/sqlhist
%_mandir/man1/*
%_datadir/bash-completion/
%files devel
%_includedir/*