Commit Graph

40 Commits

Author SHA256 Message Date
Ana Guerrero
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
Dominique Leuenberger
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
Dominique Leuenberger
245ef52032 Accepting request 1093577 from devel:libraries:c_c++
- Add explicit thread dependency for older versions of meson (i.e SLE-15-SP5)
  New patch: add-explicit-meson-thread-dependency.patch

- Update to version 1.7.0
  * Add initial support for meson
  * Add tracefs_kprobe_destroy() to index man page
  * State that tracefs_dynevent_create() is needed for tracefs_kprobe_alloc()
  * Add missing prototypes in top level man page
  * Add tracefs_kprobe_destory() API
  * Add helper function to destroy dynamic event
  * Add tracefs_time_conversion() API
  * Add tracefs_find_cid_pid() API
  * Fix crashing of synth test when synths exist
  * Do not use synth for test_synth element
  * Clarify the tracefs_synth_create() man page
  * Do not allow tracefs_synth_set_instance() on created synth
  * Documentation for tracefs_synth_set_instance
  * New API to set synthetic event instance
  * Do not segfault in tests if synthetic events are not configured
  * Add tracefs_instance_tracers() API
  * Do not use hwlat tracer and fdb_delete event for test
  * Add stacktrace to tracefs_sql()
  * Unit test for tracefs_instance_reset()
  * Documentation for tracefs_instance_reset()	
  * New API to reset ftrace instance 
- Drop patch 0001-libtracefs-Add-initial-support-for-meson.patch (upstream) (forwarded request 1093516 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/1093577
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=14
2023-06-19 20:50:02 +00:00
19fc3df9c5 Accepting request 1093516 from home:jones_tony:trace-cmd
- Add explicit thread dependency for older versions of meson (i.e SLE-15-SP5)
  New patch: add-explicit-meson-thread-dependency.patch

- Update to version 1.7.0
  * Add initial support for meson
  * Add tracefs_kprobe_destroy() to index man page
  * State that tracefs_dynevent_create() is needed for tracefs_kprobe_alloc()
  * Add missing prototypes in top level man page
  * Add tracefs_kprobe_destory() API
  * Add helper function to destroy dynamic event
  * Add tracefs_time_conversion() API
  * Add tracefs_find_cid_pid() API
  * Fix crashing of synth test when synths exist
  * Do not use synth for test_synth element
  * Clarify the tracefs_synth_create() man page
  * Do not allow tracefs_synth_set_instance() on created synth
  * Documentation for tracefs_synth_set_instance
  * New API to set synthetic event instance
  * Do not segfault in tests if synthetic events are not configured
  * Add tracefs_instance_tracers() API
  * Do not use hwlat tracer and fdb_delete event for test
  * Add stacktrace to tracefs_sql()
  * Unit test for tracefs_instance_reset()
  * Documentation for tracefs_instance_reset()	
  * New API to reset ftrace instance 
- Drop patch 0001-libtracefs-Add-initial-support-for-meson.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1093516
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=31
2023-06-17 11:52:46 +00:00
Dominique Leuenberger
0c2949cae8 Accepting request 1063776 from devel:libraries:c_c++
- Sync meson build patch with latest upstream version
  * Documentation is built via extra build target

OBS-URL: https://build.opensuse.org/request/show/1063776
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=13
2023-02-08 16:20:36 +00:00
dafab4636d meh
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=29
2023-02-08 10:01:19 +00:00
ae6c72b25c Accepting request 1063658 from home:wagi:branches:devel:trace
- Sync meson build patch with latest upstream version
  * Documentation is build via extra build target

OBS-URL: https://build.opensuse.org/request/show/1063658
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=28
2023-02-08 10:01:09 +00:00
Dominique Leuenberger
bc3c16b3cc Accepting request 1059310 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1059310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=12
2023-01-18 12:12:38 +00:00
a5b2247176 Accepting request 1059308 from home:dirkmueller:Factory
- update to 1.6.4:
  * Flush pipe data in tracefs_cpu_flush()
  * Add check for duplicate functions in man pages
  * Make sure 32 bit works on 64 bit file systems

OBS-URL: https://build.opensuse.org/request/show/1059308
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=26
2023-01-18 09:49:13 +00:00
Dominique Leuenberger
cbbf8e3cc2 Accepting request 1046050 from devel:libraries:c_c++
- Use meson to build package

OBS-URL: https://build.opensuse.org/request/show/1046050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=11
2023-01-02 14:02:07 +00:00
d0277d7e81 normalize styling
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=24
2023-01-02 00:19:41 +00:00
18d82ed27f Accepting request 1045603 from home:wagi:branches:devel:tools
- Use meson to build package
  * add 0001-libtracefs-Add-initial-support-for-meson.patch

OBS-URL: https://build.opensuse.org/request/show/1045603
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=23
2023-01-02 00:19:13 +00:00
Dominique Leuenberger
1c1aad94e6 Accepting request 1043363 from devel:libraries:c_c++
- Update to release 1.6.3

OBS-URL: https://build.opensuse.org/request/show/1043363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=10
2022-12-16 20:26:08 +00:00
35313b731c - Update to release 1.6.3
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=21
2022-12-16 15:06:47 +00:00
Dominique Leuenberger
13c08edc67 Accepting request 1037999 from devel:libraries:c_c++
- Update to release 1.6.1

OBS-URL: https://build.opensuse.org/request/show/1037999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=9
2022-11-25 12:12:56 +00:00
c030251f70 - Update to release 1.6.1
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=19
2022-11-25 00:15:09 +00:00
Dominique Leuenberger
04b201fb3a Accepting request 1037428 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1037428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=8
2022-11-23 08:48:20 +00:00
38cb605bec - Update to release 1.6.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=17
2022-11-16 01:33:20 +00:00
Dominique Leuenberger
51f9e34fff Accepting request 999936 from devel:libraries:c_c++
update

OBS-URL: https://build.opensuse.org/request/show/999936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=7
2022-08-30 12:49:11 +00:00
69ecb5647c - Update to release 1.4.2
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=15
2022-08-29 09:59:59 +00:00
Dominique Leuenberger
1e9c97af65 Accepting request 984148 from devel:libraries:c_c++
- Force make -j1 during build because of object file corruption.

OBS-URL: https://build.opensuse.org/request/show/984148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=6
2022-06-21 14:33:04 +00:00
742af61670 - Force make -j1 during build because of object file corruption.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=13
2022-06-21 11:28:08 +00:00
Dominique Leuenberger
7e7b61d4cc Accepting request 983248 from devel:libraries:c_c++
- Update to latest upstream version (1.4.1)

OBS-URL: https://build.opensuse.org/request/show/983248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=5
2022-06-17 19:21:06 +00:00
14d0420341 adhere to changelog syntax
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=11
2022-06-17 06:47:12 +00:00
3e45a3d607 Accepting request 983245 from home:wagi:branches:benchmark
- Update to latest upstream version (1.4.1)
  * Raw uprobe API:
      tracefs_uprobe_alloc()
      tracefs_uretprobe_alloc
  * Return the debugfs mount point
      tracefs_debug_dir()
  * sqlhst
      Fix labels being ignored for synthetic event field
      Allow same event to be both the start and end event
      Use unique names for labels
      Report errors when executing commands

OBS-URL: https://build.opensuse.org/request/show/983245
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=10
2022-06-17 06:46:10 +00:00
Dominique Leuenberger
06091b0825 Accepting request 968031 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/968031
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=4
2022-04-09 22:42:14 +00:00
226b2d5af4 Accepting request 967274 from home:wagi:branches:openSUSE:Factory
- Update to latest upstream version (1.3.1)
  * Optimized string list handling. It was always stated that some string
    lists must be freed with tracefs_list_free(), and now it is mandatory, as
    metadata is used to store the size, and normal freeing of the list will
    cause memory issues.
  * More consistency with errno values
  * sqlhist is now officially built
  * New methods for setting and reading affinity
      tracefs_instance_set_affinity_set()
      tracefs_instance_set_affinity_raw()
      tracefs_instance_set_affinity()
      tracefs_instance_get_affinity()
      tracefs_instance_get_affinity_raw()
      tracefs_instance_get_affinity_set()
  * New method to see the system tracers
      tracefs_instances()
  * New methods to read and clear the error log
      tracefs_error_last()
      tracefs_error_all()
      tracefs_error_clear()
  * New methods to modify the string lists
      tracefs_list_add()
      tracefs_list_size()
  * New method to stop the iterator over raw events
      tracefs_iterate_stop()
  * New methods to make it easier to access event files
      tracefs_event_get_file()
      tracefs_event_file_read()
      tracefs_event_file_write()
      tracefs_event_file_append()
      tracefs_event_file_clear()
      tracefs_event_file_exists()
  * New method to get the available filter functions
      tracefs_filter_functions()
  * New methods to enable or disable tracers
      tracefs_tracer_set()
      tracefs_tracer_clear()
  * New methods for streaming the trace_pipe file
      tracefs_trace_pipe_stream()
      tracefs_trace_pipe_print()
      tracefs_trace_pipe_stop()
  * New methods for creating, modifying and destroying dynamic events
      tracefs_dynevent_create()
      tracefs_dynevent_destroy()
      tracefs_dynevent_destroy_all()
      tracefs_dynevent_free()
      tracefs_dynevent_list_free()
      tracefs_dynevent_get_all()
      tracefs_dynevent_get()
      tracefs_dynevent_info()
      tracefs_dynevent_get_event()
  * New method to create an event probe (then use dynamic methods above)
      tracefs_eprobe_alloc()
  * New methods to create kprobes and kretprobes
      tracefs_kprobe_alloc()
      tracefs_kretprobe_alloc()
      tracefs_kprobe_raw()
      tracefs_kretprobe_raw()
  * New methods for creating, modifying and destroying histograms
      tracefs_hist_free()
      tracefs_hist_alloc()
      tracefs_hist_alloc_2d()
      tracefs_hist_alloc_nd()
      tracefs_hist_get_name()
      tracefs_hist_get_event()
      tracefs_hist_get_system()
      tracefs_hist_add_key()
      tracefs_hist_add_value()
      tracefs_hist_add_sort_key()
      tracefs_hist_set_sort_key()
      tracefs_hist_sort_key_direction()
      tracefs_hist_add_name()
      tracefs_hist_append_filter()
      tracefs_hist_echo_cmd()
      tracefs_hist_command()
      tracefs_hist_start()
      tracefs_hist_pause()
      tracefs_hist_continue()
      tracefs_hist_reset()
      tracefs_hist_destroy()
   * New methods for creating, modifying and destroying synthetic events
      tracefs_synth_get_name()
      tracefs_synth *tracefs_synth_alloc()
      tracefs_synth_add_match_field()
      tracefs_synth_add_compare_field()
      tracefs_synth_add_start_field()
      tracefs_synth_add_end_field()
      tracefs_synth_append_start_filter()
      tracefs_synth_append_end_filter()
      tracefs_synth_trace()
      tracefs_synth_snapshot()
      tracefs_synth_save()
      tracefs_synth_complete()
      tracefs_synth_get_start_hist()
      tracefs_synth_create()
      tracefs_synth_destroy()
      tracefs_synth_free()
      tracefs_synth_echo_cmd()
      tracefs_synth_raw_fmt()
      tracefs_synth_show_event()
      tracefs_synth_show_start_hist()
      tracefs_synth_show_end_hist()
      tracefs_synth_get_event()
  * New methods to modify event filters
      tracefs_filter_string_append()
      tracefs_filter_string_verify()
      tracefs_event_filter_apply()
      tracefs_event_filter_clear()
      tracefs_event_append_filter()
      tracefs_event_verify_filter()
  * New method to create a synthetic event via a SQL string
      tracefs_sql()
      The man page comes with its own program (sqlhist).

OBS-URL: https://build.opensuse.org/request/show/967274
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=8
2022-04-09 16:16:16 +00:00
Dominique Leuenberger
8851a93fdf Accepting request 958281 from devel:libraries:c_c++
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/958281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=3
2022-03-01 16:04:01 +00:00
74fc366813 Accepting request 956713 from home:olh:SLE_12
- Force correct pkgconfig_dir location to fix build

OBS-URL: https://build.opensuse.org/request/show/956713
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=7
2022-02-22 14:52:17 +00:00
Dominique Leuenberger
ab82d18340 Accepting request 948227 from devel:libraries:c_c++
- Update to latest upstream version (1.2.5)

OBS-URL: https://build.opensuse.org/request/show/948227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=2
2022-01-23 15:25:44 +00:00
77afd510e2 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=6 2022-01-23 14:48:12 +00:00
16dcd9dd93 Accepting request 947461 from home:dfaggioli:perf
- Update to latest upstream version (1.2.5)

OBS-URL: https://build.opensuse.org/request/show/947461
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=5
2022-01-23 14:46:55 +00:00
Dominique Leuenberger
4dbd7ca6be Accepting request 893223 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/893223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtracefs?expand=0&rev=1
2021-05-15 21:16:10 +00:00
96cac1f3e6 add changelog notes
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=3
2021-05-14 18:05:55 +00:00
ff7116d1b2 Accepting request 893163 from home:dfaggioli:perf
- Update to new upstream version (1.2.0)
- drop patch 294319.patch (already present upstream)

OBS-URL: https://build.opensuse.org/request/show/893163
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=2
2021-05-14 18:04:16 +00:00
96b42b44e1 Accepting request 858396 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/858396
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtracefs?expand=0&rev=1
2020-12-24 11:56:59 +00:00