#include <babeltrace/ctf-ir/trace.h>
#include <babeltrace/graph/graph-internal.h>
#include <babeltrace/graph/notification-event-internal.h>
#include <babeltrace/ctf-ir/trace.h>
#include <babeltrace/graph/graph-internal.h>
#include <babeltrace/graph/notification-event-internal.h>
#include <babeltrace/types.h>
#include <babeltrace/assert-internal.h>
#include <babeltrace/assert-pre-internal.h>
#include <babeltrace/types.h>
#include <babeltrace/assert-internal.h>
#include <babeltrace/assert-pre-internal.h>
struct bt_event_class *event_class,
struct bt_packet *packet)
{
struct bt_notification_event *notification = NULL;
struct bt_event *event;
struct bt_event_class *event_class,
struct bt_packet *packet)
{
struct bt_notification_event *notification = NULL;
struct bt_event *event;
BT_ASSERT_PRE_NON_NULL(event_class, "Event class");
BT_ASSERT_PRE_NON_NULL(packet, "Packet");
BT_LOGD("Creating event notification object: "
BT_ASSERT_PRE_NON_NULL(event_class, "Event class");
BT_ASSERT_PRE_NON_NULL(packet, "Packet");
BT_LOGD("Creating event notification object: "
* to notify the graph (pool owner) so that it removes the
* notification from its notification array.
*/
* to notify the graph (pool owner) so that it removes the
* notification from its notification array.
*/
notification = (void *) bt_notification_create_from_pool(
&graph->event_notif_pool, graph);
if (unlikely(!notification)) {
notification = (void *) bt_notification_create_from_pool(
&graph->event_notif_pool, graph);
if (unlikely(!notification)) {