-#ifndef BABELTRACE_COMPONENT_NOTIFICATION_EVENT_INTERNAL_H
-#define BABELTRACE_COMPONENT_NOTIFICATION_EVENT_INTERNAL_H
+#ifndef BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H
+#define BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H
/*
* BabelTrace - Plug-in Event Notification internal
#include <babeltrace/ctf-ir/event.h>
#include <babeltrace/graph/notification-internal.h>
#include <babeltrace/graph/clock-class-priority-map.h>
+#include <babeltrace/assert-internal.h>
#ifdef __cplusplus
extern "C" {
struct bt_notification_event *notif_event = container_of(notif,
struct bt_notification_event, parent);
- assert(notif_event);
+ BT_ASSERT(notif_event);
return notif_event->event;
}
struct bt_notification_event *notif_event = container_of(notif,
struct bt_notification_event, parent);
- assert(notif_event);
+ BT_ASSERT(notif_event);
return notif_event->cc_prio_map;
}
}
#endif
-#endif /* BABELTRACECOMPONENTPLUGIN_NOTIFICATION_EVENT_INTERNAL_H */
+#endif /* BABELTRACE_GRAPH_NOTIFICATION_EVENT_INTERNAL_H */