Fix typos
[babeltrace.git] / src / plugins / lttng-utils / debug-info / trace-ir-mapping.c
index 8faff7bcec6e1013263d211e374ad70cc4d62cea..5c805f2d5971867cbdc52e260c9f583b4e5331e8 100644 (file)
@@ -1,28 +1,12 @@
 /*
- * Babeltrace - Mapping of IR metadata and data object between input and output
- *             trace
+ * SPDX-License-Identifier: MIT
  *
  * Copyright (c) 2015 EfficiOS Inc. and Linux Foundation
  * Copyright (c) 2018 Philippe Proulx <pproulx@efficios.com>
  * Copyright (c) 2019 Francis Deslauriers <francis.deslauriers@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
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
+ * Babeltrace - Mapping of IR metadata and data object between input and output
+ *             trace
  */
 
 #define BT_COMP_LOG_SELF_COMP (ir_maps->self_comp)
@@ -56,7 +40,7 @@ bt_trace_class *create_new_mapped_trace_class(struct trace_ir_maps *ir_maps,
 
        BT_ASSERT(!metadata_maps->output_trace_class);
 
-       /* Create the ouput trace class. */
+       /* Create the output trace class. */
        metadata_maps->output_trace_class  =
                bt_trace_class_create(ir_maps->self_comp);
        if (!metadata_maps->output_trace_class) {
@@ -149,7 +133,6 @@ end:
        return out_trace;
 }
 
-BT_HIDDEN
 bt_stream_class *trace_ir_mapping_borrow_mapped_stream_class(
                struct trace_ir_maps *ir_maps,
                const bt_stream_class *in_stream_class)
@@ -164,7 +147,6 @@ bt_stream_class *trace_ir_mapping_borrow_mapped_stream_class(
                (gpointer) in_stream_class);
 }
 
-BT_HIDDEN
 bt_stream_class *trace_ir_mapping_create_new_mapped_stream_class(
                struct trace_ir_maps *ir_maps,
                const bt_stream_class *in_stream_class)
@@ -233,7 +215,6 @@ bt_stream *borrow_mapped_stream(struct trace_ir_data_maps *d_maps,
        return g_hash_table_lookup(d_maps->stream_map, (gpointer) in_stream);
 }
 
-BT_HIDDEN
 bt_stream *trace_ir_mapping_create_new_mapped_stream(
                struct trace_ir_maps *ir_maps, const bt_stream *in_stream)
 {
@@ -314,7 +295,6 @@ end:
        return out_stream;
 }
 
-BT_HIDDEN
 bt_stream *trace_ir_mapping_borrow_mapped_stream(struct trace_ir_maps *ir_maps,
                const bt_stream *in_stream)
 {
@@ -336,7 +316,6 @@ bt_event_class *borrow_mapped_event_class(struct trace_ir_metadata_maps *md_maps
                (gpointer) in_event_class);
 }
 
-BT_HIDDEN
 bt_event_class *trace_ir_mapping_create_new_mapped_event_class(
                struct trace_ir_maps *ir_maps,
                const bt_event_class *in_event_class)
@@ -403,7 +382,6 @@ end:
        return out_event_class;
 }
 
-BT_HIDDEN
 bt_event_class *trace_ir_mapping_borrow_mapped_event_class(
                struct trace_ir_maps *ir_maps,
                const bt_event_class *in_event_class)
@@ -430,7 +408,6 @@ bt_packet *borrow_mapped_packet(struct trace_ir_data_maps *d_maps,
        return g_hash_table_lookup(d_maps->packet_map, (gpointer) in_packet);
 }
 
-BT_HIDDEN
 bt_packet *trace_ir_mapping_create_new_mapped_packet(
                struct trace_ir_maps *ir_maps,
                const bt_packet *in_packet)
@@ -489,7 +466,6 @@ end:
        return out_packet;
 }
 
-BT_HIDDEN
 bt_packet *trace_ir_mapping_borrow_mapped_packet(struct trace_ir_maps *ir_maps,
                const bt_packet *in_packet)
 {
@@ -502,7 +478,6 @@ bt_packet *trace_ir_mapping_borrow_mapped_packet(struct trace_ir_maps *ir_maps,
        return borrow_mapped_packet(d_maps, in_packet);
 }
 
-BT_HIDDEN
 void trace_ir_mapping_remove_mapped_packet(struct trace_ir_maps *ir_maps,
                const bt_packet *in_packet)
 {
@@ -519,7 +494,6 @@ void trace_ir_mapping_remove_mapped_packet(struct trace_ir_maps *ir_maps,
        BT_ASSERT(ret);
 }
 
-BT_HIDDEN
 void trace_ir_mapping_remove_mapped_stream(struct trace_ir_maps *ir_maps,
                const bt_stream *in_stream)
 {
@@ -642,7 +616,6 @@ error:
        return md_maps;
 }
 
-BT_HIDDEN
 void trace_ir_data_maps_destroy(struct trace_ir_data_maps *maps)
 {
        bt_trace_remove_listener_status status;
@@ -675,7 +648,6 @@ void trace_ir_data_maps_destroy(struct trace_ir_data_maps *maps)
        g_free(maps);
 }
 
-BT_HIDDEN
 void trace_ir_metadata_maps_destroy(struct trace_ir_metadata_maps *maps)
 {
        bt_trace_class_remove_listener_status status;
@@ -729,7 +701,6 @@ void trace_ir_maps_clear(struct trace_ir_maps *maps)
        }
 }
 
-BT_HIDDEN
 void trace_ir_maps_destroy(struct trace_ir_maps *maps)
 {
        if (!maps) {
@@ -751,7 +722,6 @@ void trace_ir_maps_destroy(struct trace_ir_maps *maps)
        g_free(maps);
 }
 
-BT_HIDDEN
 struct trace_ir_maps *trace_ir_maps_create(bt_self_component *self_comp,
                const char *debug_info_field_name, bt_logging_level log_level)
 {
This page took 0.028321 seconds and 4 git commands to generate.