X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fevent-class-internal.h;fp=include%2Fbabeltrace%2Fctf-ir%2Fevent-class-internal.h;h=316408d84ae1592633dd9b6306d4f1c3c8107229;hp=a89e82dd1c3178920fa75b786188ff7eb58b6115;hb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;hpb=d1e4683534e67cc8643ad27536f64f6cc54bc5dc diff --git a/include/babeltrace/ctf-ir/event-class-internal.h b/include/babeltrace/ctf-ir/event-class-internal.h index a89e82dd..316408d8 100644 --- a/include/babeltrace/ctf-ir/event-class-internal.h +++ b/include/babeltrace/ctf-ir/event-class-internal.h @@ -38,6 +38,7 @@ #include #include #include +#include #include struct bt_event_class_common { @@ -63,6 +64,9 @@ struct bt_event_class_common { struct bt_event_class { struct bt_event_class_common common; + + /* Pool of `struct bt_event *` */ + struct bt_object_pool event_pool; }; BT_HIDDEN @@ -98,6 +102,10 @@ int bt_event_class_common_validate_single_clock_class( struct bt_event_class_common *event_class, struct bt_clock_class **expected_clock_class); +BT_HIDDEN +int bt_event_class_update_event_pool_clock_values( + struct bt_event_class *event_class); + static inline const char *bt_event_class_common_get_name( struct bt_event_class_common *event_class)