* Fix a double free in process_op()
* Do not return a local stack pointer in get_field_str()
* prevent a memory leak in tep_plugin_add_option()
* Prevent a memory leak in process_fields()
* Close shared object in the error path of load_plugin()
* Avoid a simple asprintf case
* Fix event-parse memory leak in process_cond
* Have single quotes represent characters
* Fix tests running on big endian arch
* Fix double free in parsing sizeof()
- Update rpmlintrc to suppress warnings about plugins
- Initial checkin of libtraceevent.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtraceevent?expand=0&rev=31
- Update to 1.8.2
* New APIs:
- tep_record_is_event() - A helper function that basically converts
int type= tep_data_type(event->tep, record);
if (event->id == type) {
/* do something */
}
into:
if (tep_record_is_event(record, event)) {
/* do something */
}
- tep_get_sub_buffer_commit_offset() - Add a function to return the
offset of where the "commit" is located on the subbuffer
so that the application can do its own direct reading of it.
- kbuffer_read_buffer() - Add the functionality to the kbuffer to
act like the read syscall of the ring buffer. That is, it
will load the passed in buffer with the events where the
kbuffer left off, and that passed in buffer can be loaded
into another kbuffer via kbuffer_load_subbuffer().
- kbuffer_dup() - Create a new kbuffer with the same fields of an
existing kbuffer. This will allow traversing a subbuffer
without modifying the contents of another kbuffer that
points to the subbuffer.
- kbuffer_subbuffer() - Return the subbuffer that was loaded into
a kbuffer via kbuffer_load_subbuffer().
- kbuffer_refresh() - In the case of the subbuffer that was loaded
into a kbuffer via kbuffer_load_subbuffer() that is still
active, this function will refresh the meta data to continue
reading events if more were written to it.
- Added tep_get_sub_buffer_data_size() helper function
OBS-URL: https://build.opensuse.org/request/show/1181477
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtraceevent?expand=0&rev=29
- Update to release 1.7.0
- New APIs:
tep_find_function_info() - Returns not only the name of a function from its
address, but also where the function starts and
its size.
tep_kbuffer() - Returns the kbuffer parser for a tep handle.
- Now handles cpumask() macro parsing.
- Add SAME_AS_HOST for endian and long size to kbuffer_alloc()
- Handle dynamic fields that are not arrays.
- Allow function parameters to have operators.
- sizeof() parsing for some basic types.
- Added man pages for the kbuffer API.
- print_field_raw() terminates with '\0'
- Fix uninitialized variables
- Fix a "check after derer" coverity flaw
- Fix testing the dereference pointer instead of the pointer for NULL.
- Fix double free
- Build project with Meson
* add 0001-libtraceevent-Add-initial-support-for-meson.patch
OBS-URL: https://build.opensuse.org/request/show/1045602
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtraceevent?expand=0&rev=17
oid sha256:233d88adf5bae6b4511980f0f6314f348326b55fdb3dc9c4212c810e1ab06789
size 156029
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.