lib: update copyrights
[babeltrace.git] / lib / trace-ir / event-class.c
index 971d8115cb6a3b0c6ab001e9745478da457eff05..52d23a6bb66d75fe0fc76baa63b577c2510a90e8 100644 (file)
@@ -1,8 +1,7 @@
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 2013, 2014 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  *
- * Author: Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
  * in the Software without restriction, including without limitation the rights
@@ -27,9 +26,9 @@
 
 #include <babeltrace/assert-pre-internal.h>
 #include <babeltrace/trace-ir/clock-value-internal.h>
-#include <babeltrace/trace-ir/fields-internal.h>
-#include <babeltrace/trace-ir/field-classes.h>
-#include <babeltrace/trace-ir/field-classes-internal.h>
+#include <babeltrace/trace-ir/field-internal.h>
+#include <babeltrace/trace-ir/field-class.h>
+#include <babeltrace/trace-ir/field-class-internal.h>
 #include <babeltrace/trace-ir/event-class.h>
 #include <babeltrace/trace-ir/event-class-const.h>
 #include <babeltrace/trace-ir/event-class-internal.h>
@@ -44,7 +43,7 @@
 #include <babeltrace/compiler-internal.h>
 #include <babeltrace/endian-internal.h>
 #include <babeltrace/types.h>
-#include <babeltrace/values-internal.h>
+#include <babeltrace/value-internal.h>
 #include <babeltrace/assert-internal.h>
 #include <inttypes.h>
 #include <stdlib.h>
@@ -70,9 +69,9 @@ void destroy_event_class(struct bt_object *obj)
                event_class->emf_uri.str = NULL;
        }
 
-       BT_LOGD_STR("Putting context field classe.");
+       BT_LOGD_STR("Putting context field class.");
        BT_OBJECT_PUT_REF_AND_RESET(event_class->specific_context_fc);
-       BT_LOGD_STR("Putting payload field classe.");
+       BT_LOGD_STR("Putting payload field class.");
        BT_OBJECT_PUT_REF_AND_RESET(event_class->payload_fc);
        bt_object_pool_finalize(&event_class->event_pool);
        g_free(obj);
@@ -296,7 +295,7 @@ int bt_event_class_set_specific_context_field_class(
        BT_ASSERT_PRE_EVENT_CLASS_HOT(event_class);
        BT_ASSERT_PRE(bt_field_class_get_type(field_class) ==
                BT_FIELD_CLASS_TYPE_STRUCTURE,
-               "Specific context field classe is not a structure field classe: "
+               "Specific context field class is not a structure field class: "
                "%!+F", field_class);
        stream_class = bt_event_class_borrow_stream_class_inline(
                event_class);
@@ -317,7 +316,7 @@ int bt_event_class_set_specific_context_field_class(
        event_class->specific_context_fc = field_class;
        bt_object_get_no_null_check(event_class->specific_context_fc);
        bt_field_class_freeze(field_class);
-       BT_LIB_LOGV("Set event class's specific context field classe: %!+E",
+       BT_LIB_LOGV("Set event class's specific context field class: %!+E",
                event_class);
 
 end:
@@ -352,7 +351,7 @@ int bt_event_class_set_payload_field_class(
        BT_ASSERT_PRE_EVENT_CLASS_HOT(event_class);
        BT_ASSERT_PRE(bt_field_class_get_type(field_class) ==
                BT_FIELD_CLASS_TYPE_STRUCTURE,
-               "Payload field classe is not a structure field classe: %!+F",
+               "Payload field class is not a structure field class: %!+F",
                field_class);
        stream_class = bt_event_class_borrow_stream_class_inline(
                event_class);
@@ -374,7 +373,7 @@ int bt_event_class_set_payload_field_class(
        event_class->payload_fc = field_class;
        bt_object_get_no_null_check(event_class->payload_fc);
        bt_field_class_freeze(field_class);
-       BT_LIB_LOGV("Set event class's payload field classe: %!+E", event_class);
+       BT_LIB_LOGV("Set event class's payload field class: %!+E", event_class);
 
 end:
        return ret;
This page took 0.023801 seconds and 4 git commands to generate.