X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-events.h;h=28f7391b56a5144bae513d67dabab498edb472d7;hb=246be17ec5a99beae7cc40eede54b4958958d8fb;hp=5d4357084edc69d703fcda27619b6360ac9f361e;hpb=c4d6bd104a561c94c35147ae34d5810ca9f05740;p=lttng-ust.git diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 5d435708..28f7391b 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -513,6 +513,9 @@ struct lttng_session { struct lttng_ust_event_ht events_ht; /* ht of events */ void *owner; /* object owner */ int tstate:1; /* Transient enable state */ + + /* New UST 2.4 */ + int statedump_pending:1; }; struct lttng_transport { @@ -606,4 +609,7 @@ void lttng_filter_sync_state(struct lttng_bytecode_runtime *runtime); struct cds_list_head *lttng_get_probe_list_head(void); int lttng_session_active(void); +typedef int (*t_statedump_func_ptr)(struct lttng_session *session); +int lttng_handle_pending_statedumps(t_statedump_func_ptr statedump_func_ptr); + #endif /* _LTTNG_UST_EVENTS_H */