weston-log-flight-rec: Introduce flight recorder stream
Like a black box in an airplane, the flight recorder can be used to accumulate data and, when needed, to display its contents. Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
@@ -112,6 +112,15 @@ weston_log_subscriber_create_log(FILE *dump_to);
|
||||
void
|
||||
weston_log_subscriber_destroy_log(struct weston_log_subscriber *sub);
|
||||
|
||||
struct weston_log_subscriber *
|
||||
weston_log_subscriber_create_flight_rec(size_t size);
|
||||
|
||||
void
|
||||
weston_log_subscriber_destroy_flight_rec(struct weston_log_subscriber *sub);
|
||||
|
||||
void
|
||||
weston_log_subscriber_display_flight_rec(struct weston_log_subscriber *sub);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user