#include <hawktracer/base_types.h>
#include <stddef.h>
Go to the source code of this file.
◆ ht_timeline_listener_push_metadata()
Pushes all metadata events (registry klasses, system information) to a listener.
- Parameters
-
callback | a listener callback. |
listener | a pointer to the listener |
serialize | indicates whether events should be serialized before pushing to listener or not. |
- Returns
- number of bytes which have been pushed to a listener.
◆ HT_TimelineListenerCallback
A callback for the timeline listener.
The callback gets called whenever the internal timeline buffer gets flushed.
- Parameters
-
events | an event buffer containing serialized or non-serialized events. |
buffer_size | a size of the events buffer. |
serialized | indicates whether events in the events buffer are serialized or not. |
user_data | a pointer to object that was passed on listener registration. |