summaryrefslogtreecommitdiffstats
tag namelibtracefs-1.6.0 (17f507544e84d54e3d6ee32ae5c08e291719d332)
tag date2022-11-15 16:32:33 -0500
tagged bySteven Rostedt (Google) <rostedt@goodmis.org>
tagged objectcommit 9c1556a5f0...
downloadlibtracefs-1.6.0.tar.gz
libtracefs 1.6
Changes since libtracefs 1.5.0 New API: - Can now read the trace_pipe_raw files and send data to file descriptors and pipes. The following APIs were added: tracefs_cpu_open() - Open a per CPU raw trace file tracefs_cpu_close() - Close the pre CPU raw trace file tracefs_cpu_read_size() - Get the buffer size to use tracefs_cpu_read() - Read from a pre CPU trace file tracefs_cpu_buffered_read() - Read buffered (piped) from the file tracefs_cpu_write() - Send the per CPU buffer to a file descriptor tracefs_cpu_stop() - Stop the reader that is blocked on the file tracefs_cpu_flush() - Flush out the rest of the file tracefs_cpu_flush_write() - Flush out the rest of the file to another file. tracefs_cpu_alloc_fd() - Open a descriptor from an existing open buffer file tracefs_cpu_free_fd() - Close just the descriptor. tracefs_cpu_pipe() - Send the per CPU file to a pipe. - Added tracefs_event_is_enabled() - Returns the state of an event (or events) - tracefs_instance_get_buffer_size() - Return the current buffer size - tracefs_instance_set_buffer_size() - Set the buffer size. - tracefs_tracing_dir_is_mounted() - Check if tracefs is already mounted (and mount if asked) - Added tracefs_follow_event() - Call a callback when an event is hit in tracefs_iterate_raw_events() - Added tracefs_follow_missed_events() - Call a callback when missed events are hit in tracefs_iterate_raw_events() - Created a bunch of unit tests for the above. - Updated the man pages to reflect the updates. Fixes: - Added "buckets" field to tracefs_sql() - Allow filters to use "COMM" keyword - Build fixes. -----BEGIN PGP SIGNATURE----- iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCY3QFehQccm9zdGVkdEBn b29kbWlzLm9yZwAKCRAp5XQQmuv6qoWlAP0cOkrJ8MyKgHvnZPt8vvOxGm5o/beA pExqIWWM10I9/wEA9bAHlcX1MgYXZ1Kc/BCoSZDbnBfWf/GXy4RCM5CMuQc= =446i -----END PGP SIGNATURE-----