lib: update copyrights
[babeltrace.git] / lib / trace-ir / trace-class.c
index b8c99470063016fc177d31055280626e2daa4053..6bff90a7b99fcd2399dc8d679453dbbc37e015d0 100644 (file)
@@ -1,8 +1,7 @@
 /*
+ * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright 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
 #include <babeltrace/ctf-writer/functor-internal.h>
 #include <babeltrace/ctf-writer/clock-internal.h>
 #include <babeltrace/trace-ir/field-wrapper-internal.h>
-#include <babeltrace/trace-ir/field-classes-internal.h>
+#include <babeltrace/trace-ir/field-class-internal.h>
 #include <babeltrace/trace-ir/attributes-internal.h>
 #include <babeltrace/trace-ir/utils-internal.h>
 #include <babeltrace/trace-ir/resolve-field-path-internal.h>
 #include <babeltrace/compiler-internal.h>
-#include <babeltrace/values.h>
-#include <babeltrace/values-const.h>
-#include <babeltrace/values-internal.h>
+#include <babeltrace/value.h>
+#include <babeltrace/value-const.h>
+#include <babeltrace/value-internal.h>
 #include <babeltrace/object.h>
 #include <babeltrace/types.h>
 #include <babeltrace/endian-internal.h>
@@ -85,7 +84,7 @@ void destroy_trace_class(struct bt_object *obj)
                tc->stream_classes = NULL;
        }
 
-       BT_LOGD_STR("Putting packet header field classe.");
+       BT_LOGD_STR("Putting packet header field class.");
        bt_object_put_ref(tc->packet_header_fc);
        tc->packet_header_fc = NULL;
        g_free(tc);
@@ -378,7 +377,7 @@ int bt_trace_class_set_packet_header_field_class(
        BT_ASSERT_PRE_TRACE_CLASS_HOT(tc);
        BT_ASSERT_PRE(bt_field_class_get_type(field_class) ==
                BT_FIELD_CLASS_TYPE_STRUCTURE,
-               "Packet header field classe is not a structure field classe: %!+F",
+               "Packet header field class is not a structure field class: %!+F",
                field_class);
        ret = bt_resolve_field_paths(field_class, &resolve_ctx);
        if (ret) {
@@ -390,7 +389,7 @@ int bt_trace_class_set_packet_header_field_class(
        tc->packet_header_fc = field_class;
        bt_object_get_no_null_check(tc->packet_header_fc);
        bt_field_class_freeze(field_class);
-       BT_LIB_LOGV("Set trace class's packet header field classe: %!+T", tc);
+       BT_LIB_LOGV("Set trace class's packet header field class: %!+T", tc);
 
 end:
        return ret;
@@ -399,7 +398,7 @@ end:
 BT_HIDDEN
 void _bt_trace_class_freeze(const struct bt_trace_class *tc)
 {
-       /* The packet header field classe is already frozen */
+       /* The packet header field class is already frozen */
        BT_ASSERT(tc);
        BT_LIB_LOGD("Freezing trace class: %!+T", tc);
        ((struct bt_trace_class *) tc)->frozen = true;
This page took 0.025335 seconds and 4 git commands to generate.