Revert "Rename "libside" to "libtgif""
[libside.git] / src / tracer.c
index f86d4c84fcd68e5ecd8ae02c5fd61cf7b6b1f259..8dd938807912af54f86fe2bb00b805e1b900795f 100644 (file)
@@ -11,7 +11,7 @@
 #include <string.h>
 #include <iconv.h>
 
-#include <tgif/trace.h>
+#include <side/trace.h>
 
 enum tracer_display_base {
        TRACER_DISPLAY_BASE_2,
@@ -25,43 +25,43 @@ union int64_value {
        int64_t s;
 };
 
-static struct tgif_tracer_handle *tracer_handle;
+static struct side_tracer_handle *tracer_handle;
 
 static
-void tracer_print_struct(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec);
+void tracer_print_struct(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec);
 static
-void tracer_print_array(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec);
+void tracer_print_array(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec);
 static
-void tracer_print_vla(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec);
+void tracer_print_vla(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec);
 static
-void tracer_print_vla_visitor(const struct tgif_type *type_desc, void *app_ctx);
+void tracer_print_vla_visitor(const struct side_type *type_desc, void *app_ctx);
 static
-void tracer_print_dynamic(const struct tgif_arg *dynamic_item);
+void tracer_print_dynamic(const struct side_arg *dynamic_item);
 static
-uint32_t tracer_print_gather_bool_type(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_bool_type(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_byte_type(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_byte_type(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_integer_type(const struct tgif_type_gather *type_gather, const void *_ptr,
+uint32_t tracer_print_gather_integer_type(const struct side_type_gather *type_gather, const void *_ptr,
                enum tracer_display_base default_base);
 static
-uint32_t tracer_print_gather_float_type(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_float_type(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_string_type(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_string_type(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_enum_type(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_enum_type(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_struct(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_struct(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_array(const struct tgif_type_gather *type_gather, const void *_ptr);
+uint32_t tracer_print_gather_array(const struct side_type_gather *type_gather, const void *_ptr);
 static
-uint32_t tracer_print_gather_vla(const struct tgif_type_gather *type_gather, const void *_ptr,
+uint32_t tracer_print_gather_vla(const struct side_type_gather *type_gather, const void *_ptr,
                const void *_length_ptr);
 static
-void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg *item);
+void tracer_print_type(const struct side_type *type_desc, const struct side_arg *item);
 
 static
-void tracer_convert_string_to_utf8(const void *p, uint8_t unit_size, enum tgif_type_label_byte_order byte_order,
+void tracer_convert_string_to_utf8(const void *p, uint8_t unit_size, enum side_type_label_byte_order byte_order,
                size_t *strlen_with_null,
                char **output_str)
 {
@@ -81,12 +81,12 @@ void tracer_convert_string_to_utf8(const void *p, uint8_t unit_size, enum tgif_t
                const uint16_t *p16 = p;
 
                switch (byte_order) {
-               case TGIF_TYPE_BYTE_ORDER_LE:
+               case SIDE_TYPE_BYTE_ORDER_LE:
                {
                        fromcode = "UTF-16LE";
                        break;
                }
-               case TGIF_TYPE_BYTE_ORDER_BE:
+               case SIDE_TYPE_BYTE_ORDER_BE:
                {
                        fromcode = "UTF-16BE";
                        break;
@@ -109,12 +109,12 @@ void tracer_convert_string_to_utf8(const void *p, uint8_t unit_size, enum tgif_t
                const uint32_t *p32 = p;
 
                switch (byte_order) {
-               case TGIF_TYPE_BYTE_ORDER_LE:
+               case SIDE_TYPE_BYTE_ORDER_LE:
                {
                        fromcode = "UTF-32LE";
                        break;
                }
-               case TGIF_TYPE_BYTE_ORDER_BE:
+               case SIDE_TYPE_BYTE_ORDER_BE:
                {
                        fromcode = "UTF-32BE";
                        break;
@@ -168,7 +168,7 @@ void tracer_convert_string_to_utf8(const void *p, uint8_t unit_size, enum tgif_t
 }
 
 static
-void tracer_print_string(const void *p, uint8_t unit_size, enum tgif_type_label_byte_order byte_order,
+void tracer_print_string(const void *p, uint8_t unit_size, enum side_type_label_byte_order byte_order,
                size_t *strlen_with_null)
 {
        char *output_str = NULL;
@@ -180,34 +180,34 @@ void tracer_print_string(const void *p, uint8_t unit_size, enum tgif_type_label_
 }
 
 static
-int64_t get_attr_integer_value(const struct tgif_attr *attr)
+int64_t get_attr_integer_value(const struct side_attr *attr)
 {
        int64_t val;
 
        switch (attr->value.type) {
-       case TGIF_ATTR_TYPE_U8:
-               val = attr->value.u.integer_value.tgif_u8;
+       case SIDE_ATTR_TYPE_U8:
+               val = attr->value.u.integer_value.side_u8;
                break;
-       case TGIF_ATTR_TYPE_U16:
-               val = attr->value.u.integer_value.tgif_u16;
+       case SIDE_ATTR_TYPE_U16:
+               val = attr->value.u.integer_value.side_u16;
                break;
-       case TGIF_ATTR_TYPE_U32:
-               val = attr->value.u.integer_value.tgif_u32;
+       case SIDE_ATTR_TYPE_U32:
+               val = attr->value.u.integer_value.side_u32;
                break;
-       case TGIF_ATTR_TYPE_U64:
-               val = attr->value.u.integer_value.tgif_u64;
+       case SIDE_ATTR_TYPE_U64:
+               val = attr->value.u.integer_value.side_u64;
                break;
-       case TGIF_ATTR_TYPE_S8:
-               val = attr->value.u.integer_value.tgif_s8;
+       case SIDE_ATTR_TYPE_S8:
+               val = attr->value.u.integer_value.side_s8;
                break;
-       case TGIF_ATTR_TYPE_S16:
-               val = attr->value.u.integer_value.tgif_s16;
+       case SIDE_ATTR_TYPE_S16:
+               val = attr->value.u.integer_value.side_s16;
                break;
-       case TGIF_ATTR_TYPE_S32:
-               val = attr->value.u.integer_value.tgif_s32;
+       case SIDE_ATTR_TYPE_S32:
+               val = attr->value.u.integer_value.side_s32;
                break;
-       case TGIF_ATTR_TYPE_S64:
-               val = attr->value.u.integer_value.tgif_s64;
+       case SIDE_ATTR_TYPE_S64:
+               val = attr->value.u.integer_value.side_s64;
                break;
        default:
                fprintf(stderr, "Unexpected attribute type\n");
@@ -217,13 +217,13 @@ int64_t get_attr_integer_value(const struct tgif_attr *attr)
 }
 
 static
-enum tracer_display_base get_attr_display_base(const struct tgif_attr *_attr, uint32_t nr_attr,
+enum tracer_display_base get_attr_display_base(const struct side_attr *_attr, uint32_t nr_attr,
                                enum tracer_display_base default_base)
 {
        uint32_t i;
 
        for (i = 0; i < nr_attr; i++) {
-               const struct tgif_attr *attr = &_attr[i];
+               const struct side_attr *attr = &_attr[i];
                char *utf8_str = NULL;
                bool cmp;
 
@@ -254,7 +254,7 @@ enum tracer_display_base get_attr_display_base(const struct tgif_attr *_attr, ui
 }
 
 static
-void tracer_print_attr_type(const char *separator, const struct tgif_attr *attr)
+void tracer_print_attr_type(const char *separator, const struct side_attr *attr)
 {
        char *utf8_str = NULL;
 
@@ -264,66 +264,66 @@ void tracer_print_attr_type(const char *separator, const struct tgif_attr *attr)
        if (utf8_str != attr->key.p)
                free(utf8_str);
        switch (attr->value.type) {
-       case TGIF_ATTR_TYPE_BOOL:
+       case SIDE_ATTR_TYPE_BOOL:
                printf("%s", attr->value.u.bool_value ? "true" : "false");
                break;
-       case TGIF_ATTR_TYPE_U8:
-               printf("%" PRIu8, attr->value.u.integer_value.tgif_u8);
+       case SIDE_ATTR_TYPE_U8:
+               printf("%" PRIu8, attr->value.u.integer_value.side_u8);
                break;
-       case TGIF_ATTR_TYPE_U16:
-               printf("%" PRIu16, attr->value.u.integer_value.tgif_u16);
+       case SIDE_ATTR_TYPE_U16:
+               printf("%" PRIu16, attr->value.u.integer_value.side_u16);
                break;
-       case TGIF_ATTR_TYPE_U32:
-               printf("%" PRIu32, attr->value.u.integer_value.tgif_u32);
+       case SIDE_ATTR_TYPE_U32:
+               printf("%" PRIu32, attr->value.u.integer_value.side_u32);
                break;
-       case TGIF_ATTR_TYPE_U64:
-               printf("%" PRIu64, attr->value.u.integer_value.tgif_u64);
+       case SIDE_ATTR_TYPE_U64:
+               printf("%" PRIu64, attr->value.u.integer_value.side_u64);
                break;
-       case TGIF_ATTR_TYPE_S8:
-               printf("%" PRId8, attr->value.u.integer_value.tgif_s8);
+       case SIDE_ATTR_TYPE_S8:
+               printf("%" PRId8, attr->value.u.integer_value.side_s8);
                break;
-       case TGIF_ATTR_TYPE_S16:
-               printf("%" PRId16, attr->value.u.integer_value.tgif_s16);
+       case SIDE_ATTR_TYPE_S16:
+               printf("%" PRId16, attr->value.u.integer_value.side_s16);
                break;
-       case TGIF_ATTR_TYPE_S32:
-               printf("%" PRId32, attr->value.u.integer_value.tgif_s32);
+       case SIDE_ATTR_TYPE_S32:
+               printf("%" PRId32, attr->value.u.integer_value.side_s32);
                break;
-       case TGIF_ATTR_TYPE_S64:
-               printf("%" PRId64, attr->value.u.integer_value.tgif_s64);
+       case SIDE_ATTR_TYPE_S64:
+               printf("%" PRId64, attr->value.u.integer_value.side_s64);
                break;
-       case TGIF_ATTR_TYPE_FLOAT_BINARY16:
+       case SIDE_ATTR_TYPE_FLOAT_BINARY16:
 #if __HAVE_FLOAT16
-               printf("%g", (double) attr->value.u.float_value.tgif_float_binary16);
+               printf("%g", (double) attr->value.u.float_value.side_float_binary16);
                break;
 #else
                fprintf(stderr, "ERROR: Unsupported binary16 float type\n");
                abort();
 #endif
-       case TGIF_ATTR_TYPE_FLOAT_BINARY32:
+       case SIDE_ATTR_TYPE_FLOAT_BINARY32:
 #if __HAVE_FLOAT32
-               printf("%g", (double) attr->value.u.float_value.tgif_float_binary32);
+               printf("%g", (double) attr->value.u.float_value.side_float_binary32);
                break;
 #else
                fprintf(stderr, "ERROR: Unsupported binary32 float type\n");
                abort();
 #endif
-       case TGIF_ATTR_TYPE_FLOAT_BINARY64:
+       case SIDE_ATTR_TYPE_FLOAT_BINARY64:
 #if __HAVE_FLOAT64
-               printf("%g", (double) attr->value.u.float_value.tgif_float_binary64);
+               printf("%g", (double) attr->value.u.float_value.side_float_binary64);
                break;
 #else
                fprintf(stderr, "ERROR: Unsupported binary64 float type\n");
                abort();
 #endif
-       case TGIF_ATTR_TYPE_FLOAT_BINARY128:
+       case SIDE_ATTR_TYPE_FLOAT_BINARY128:
 #if __HAVE_FLOAT128
-               printf("%Lg", (long double) attr->value.u.float_value.tgif_float_binary128);
+               printf("%Lg", (long double) attr->value.u.float_value.side_float_binary128);
                break;
 #else
                fprintf(stderr, "ERROR: Unsupported binary128 float type\n");
                abort();
 #endif
-       case TGIF_ATTR_TYPE_STRING:
+       case SIDE_ATTR_TYPE_STRING:
                tracer_print_string(attr->value.u.string_value.p,
                                attr->value.u.string_value.unit_size,
                                attr->value.u.string_value.byte_order, NULL);
@@ -337,7 +337,7 @@ void tracer_print_attr_type(const char *separator, const struct tgif_attr *attr)
 
 static
 void print_attributes(const char *prefix_str, const char *separator,
-               const struct tgif_attr *attr, uint32_t nr_attr)
+               const struct side_attr *attr, uint32_t nr_attr)
 {
        uint32_t i;
 
@@ -352,8 +352,8 @@ void print_attributes(const char *prefix_str, const char *separator,
 }
 
 static
-union int64_value tracer_load_integer_value(const struct tgif_type_integer *type_integer,
-               const union tgif_integer_value *value,
+union int64_value tracer_load_integer_value(const struct side_type_integer *type_integer,
+               const union side_integer_value *value,
                uint16_t offset_bits, uint16_t *_len_bits)
 {
        union int64_value v64;
@@ -366,63 +366,63 @@ union int64_value tracer_load_integer_value(const struct tgif_type_integer *type
                len_bits = type_integer->len_bits;
        if (len_bits + offset_bits > type_integer->integer_size * CHAR_BIT)
                abort();
-       reverse_bo = type_integer->byte_order != TGIF_TYPE_BYTE_ORDER_HOST;
+       reverse_bo = type_integer->byte_order != SIDE_TYPE_BYTE_ORDER_HOST;
        switch (type_integer->integer_size) {
        case 1:
                if (type_integer->signedness)
-                       v64.s = value->tgif_s8;
+                       v64.s = value->side_s8;
                else
-                       v64.u = value->tgif_u8;
+                       v64.u = value->side_u8;
                break;
        case 2:
                if (type_integer->signedness) {
-                       int16_t tgif_s16;
+                       int16_t side_s16;
 
-                       tgif_s16 = value->tgif_s16;
+                       side_s16 = value->side_s16;
                        if (reverse_bo)
-                               tgif_s16 = tgif_bswap_16(tgif_s16);
-                       v64.s = tgif_s16;
+                               side_s16 = side_bswap_16(side_s16);
+                       v64.s = side_s16;
                } else {
-                       uint16_t tgif_u16;
+                       uint16_t side_u16;
 
-                       tgif_u16 = value->tgif_u16;
+                       side_u16 = value->side_u16;
                        if (reverse_bo)
-                               tgif_u16 = tgif_bswap_16(tgif_u16);
-                       v64.u = tgif_u16;
+                               side_u16 = side_bswap_16(side_u16);
+                       v64.u = side_u16;
                }
                break;
        case 4:
                if (type_integer->signedness) {
-                       int32_t tgif_s32;
+                       int32_t side_s32;
 
-                       tgif_s32 = value->tgif_s32;
+                       side_s32 = value->side_s32;
                        if (reverse_bo)
-                               tgif_s32 = tgif_bswap_32(tgif_s32);
-                       v64.s = tgif_s32;
+                               side_s32 = side_bswap_32(side_s32);
+                       v64.s = side_s32;
                } else {
-                       uint32_t tgif_u32;
+                       uint32_t side_u32;
 
-                       tgif_u32 = value->tgif_u32;
+                       side_u32 = value->side_u32;
                        if (reverse_bo)
-                               tgif_u32 = tgif_bswap_32(tgif_u32);
-                       v64.u = tgif_u32;
+                               side_u32 = side_bswap_32(side_u32);
+                       v64.u = side_u32;
                }
                break;
        case 8:
                if (type_integer->signedness) {
-                       int64_t tgif_s64;
+                       int64_t side_s64;
 
-                       tgif_s64 = value->tgif_s64;
+                       side_s64 = value->side_s64;
                        if (reverse_bo)
-                               tgif_s64 = tgif_bswap_64(tgif_s64);
-                       v64.s = tgif_s64;
+                               side_s64 = side_bswap_64(side_s64);
+                       v64.s = side_s64;
                } else {
-                       uint64_t tgif_u64;
+                       uint64_t side_u64;
 
-                       tgif_u64 = value->tgif_u64;
+                       side_u64 = value->side_u64;
                        if (reverse_bo)
-                               tgif_u64 = tgif_bswap_64(tgif_u64);
-                       v64.u = tgif_u64;
+                               side_u64 = side_bswap_64(side_u64);
+                       v64.u = side_u64;
                }
                break;
        default:
@@ -443,13 +443,13 @@ union int64_value tracer_load_integer_value(const struct tgif_type_integer *type
 }
 
 static
-void print_enum_labels(const struct tgif_enum_mappings *mappings, union int64_value v64)
+void print_enum_labels(const struct side_enum_mappings *mappings, union int64_value v64)
 {
        uint32_t i, print_count = 0;
 
        printf(", labels: [ ");
        for (i = 0; i < mappings->nr_mappings; i++) {
-               const struct tgif_enum_mapping *mapping = &mappings->mappings[i];
+               const struct side_enum_mapping *mapping = &mappings->mappings[i];
 
                if (mapping->range_end < mapping->range_begin) {
                        fprintf(stderr, "ERROR: Unexpected enum range: %" PRIu64 "-%" PRIu64 "\n",
@@ -467,18 +467,18 @@ void print_enum_labels(const struct tgif_enum_mappings *mappings, union int64_va
 }
 
 static
-void tracer_print_enum(const struct tgif_type *type_desc, const struct tgif_arg *item)
+void tracer_print_enum(const struct side_type *type_desc, const struct side_arg *item)
 {
-       const struct tgif_enum_mappings *mappings = type_desc->u.tgif_enum.mappings;
-       const struct tgif_type *elem_type = type_desc->u.tgif_enum.elem_type;
+       const struct side_enum_mappings *mappings = type_desc->u.side_enum.mappings;
+       const struct side_type *elem_type = type_desc->u.side_enum.elem_type;
        union int64_value v64;
 
        if (elem_type->type != item->type) {
                fprintf(stderr, "ERROR: Unexpected enum element type\n");
                abort();
        }
-       v64 = tracer_load_integer_value(&elem_type->u.tgif_integer,
-                       &item->u.tgif_static.integer_value, 0, NULL);
+       v64 = tracer_load_integer_value(&elem_type->u.side_integer,
+                       &item->u.side_static.integer_value, 0, NULL);
        print_attributes("attr", ":", mappings->attr, mappings->nr_attr);
        printf("%s", mappings->nr_attr ? ", " : "");
        tracer_print_type(elem_type, item);
@@ -486,24 +486,24 @@ void tracer_print_enum(const struct tgif_type *type_desc, const struct tgif_arg
 }
 
 static
-uint32_t elem_type_to_stride(const struct tgif_type *elem_type)
+uint32_t elem_type_to_stride(const struct side_type *elem_type)
 {
        uint32_t stride_bit;
 
        switch (elem_type->type) {
-       case TGIF_TYPE_BYTE:
+       case SIDE_TYPE_BYTE:
                stride_bit = 8;
                break;
 
-       case TGIF_TYPE_U8:
-       case TGIF_TYPE_U16:
-       case TGIF_TYPE_U32:
-       case TGIF_TYPE_U64:
-       case TGIF_TYPE_S8:
-       case TGIF_TYPE_S16:
-       case TGIF_TYPE_S32:
-       case TGIF_TYPE_S64:
-               return elem_type->u.tgif_integer.integer_size * CHAR_BIT;
+       case SIDE_TYPE_U8:
+       case SIDE_TYPE_U16:
+       case SIDE_TYPE_U32:
+       case SIDE_TYPE_U64:
+       case SIDE_TYPE_S8:
+       case SIDE_TYPE_S16:
+       case SIDE_TYPE_S32:
+       case SIDE_TYPE_S64:
+               return elem_type->u.side_integer.integer_size * CHAR_BIT;
        default:
                fprintf(stderr, "ERROR: Unexpected enum bitmap element type\n");
                abort();
@@ -512,37 +512,37 @@ uint32_t elem_type_to_stride(const struct tgif_type *elem_type)
 }
 
 static
-void tracer_print_enum_bitmap(const struct tgif_type *type_desc,
-               const struct tgif_arg *item)
+void tracer_print_enum_bitmap(const struct side_type *type_desc,
+               const struct side_arg *item)
 {
-       const struct tgif_enum_bitmap_mappings *tgif_enum_mappings = type_desc->u.tgif_enum_bitmap.mappings;
-       const struct tgif_type *enum_elem_type = type_desc->u.tgif_enum_bitmap.elem_type, *elem_type;
+       const struct side_enum_bitmap_mappings *side_enum_mappings = type_desc->u.side_enum_bitmap.mappings;
+       const struct side_type *enum_elem_type = type_desc->u.side_enum_bitmap.elem_type, *elem_type;
        uint32_t i, print_count = 0, stride_bit, nr_items;
-       const struct tgif_arg *array_item;
+       const struct side_arg *array_item;
 
        switch (enum_elem_type->type) {
-       case TGIF_TYPE_U8:              /* Fall-through */
-       case TGIF_TYPE_BYTE:            /* Fall-through */
-       case TGIF_TYPE_U16:             /* Fall-through */
-       case TGIF_TYPE_U32:             /* Fall-through */
-       case TGIF_TYPE_U64:             /* Fall-through */
-       case TGIF_TYPE_S8:              /* Fall-through */
-       case TGIF_TYPE_S16:             /* Fall-through */
-       case TGIF_TYPE_S32:             /* Fall-through */
-       case TGIF_TYPE_S64:
+       case SIDE_TYPE_U8:              /* Fall-through */
+       case SIDE_TYPE_BYTE:            /* Fall-through */
+       case SIDE_TYPE_U16:             /* Fall-through */
+       case SIDE_TYPE_U32:             /* Fall-through */
+       case SIDE_TYPE_U64:             /* Fall-through */
+       case SIDE_TYPE_S8:              /* Fall-through */
+       case SIDE_TYPE_S16:             /* Fall-through */
+       case SIDE_TYPE_S32:             /* Fall-through */
+       case SIDE_TYPE_S64:
                elem_type = enum_elem_type;
                array_item = item;
                nr_items = 1;
                break;
-       case TGIF_TYPE_ARRAY:
-               elem_type = enum_elem_type->u.tgif_array.elem_type;
-               array_item = item->u.tgif_static.tgif_array->sav;
-               nr_items = type_desc->u.tgif_array.length;
+       case SIDE_TYPE_ARRAY:
+               elem_type = enum_elem_type->u.side_array.elem_type;
+               array_item = item->u.side_static.side_array->sav;
+               nr_items = type_desc->u.side_array.length;
                break;
-       case TGIF_TYPE_VLA:
-               elem_type = enum_elem_type->u.tgif_vla.elem_type;
-               array_item = item->u.tgif_static.tgif_vla->sav;
-               nr_items = item->u.tgif_static.tgif_vla->len;
+       case SIDE_TYPE_VLA:
+               elem_type = enum_elem_type->u.side_vla.elem_type;
+               array_item = item->u.side_static.side_vla->sav;
+               nr_items = item->u.side_static.side_vla->len;
                break;
        default:
                fprintf(stderr, "ERROR: Unexpected enum element type\n");
@@ -550,11 +550,11 @@ void tracer_print_enum_bitmap(const struct tgif_type *type_desc,
        }
        stride_bit = elem_type_to_stride(elem_type);
 
-       print_attributes("attr", ":", tgif_enum_mappings->attr, tgif_enum_mappings->nr_attr);
-       printf("%s", tgif_enum_mappings->nr_attr ? ", " : "");
+       print_attributes("attr", ":", side_enum_mappings->attr, side_enum_mappings->nr_attr);
+       printf("%s", side_enum_mappings->nr_attr ? ", " : "");
        printf("labels: [ ");
-       for (i = 0; i < tgif_enum_mappings->nr_mappings; i++) {
-               const struct tgif_enum_bitmap_mapping *mapping = &tgif_enum_mappings->mappings[i];
+       for (i = 0; i < side_enum_mappings->nr_mappings; i++) {
+               const struct side_enum_bitmap_mapping *mapping = &side_enum_mappings->mappings[i];
                bool match = false;
                uint64_t bit;
 
@@ -566,8 +566,8 @@ void tracer_print_enum_bitmap(const struct tgif_type *type_desc,
                for (bit = mapping->range_begin; bit <= mapping->range_end; bit++) {
                        if (bit > (nr_items * stride_bit) - 1)
                                break;
-                       if (elem_type->type == TGIF_TYPE_BYTE) {
-                               uint8_t v = array_item[bit / 8].u.tgif_static.byte_value;
+                       if (elem_type->type == SIDE_TYPE_BYTE) {
+                               uint8_t v = array_item[bit / 8].u.side_static.byte_value;
                                if (v & (1ULL << (bit % 8))) {
                                        match = true;
                                        goto match;
@@ -575,8 +575,8 @@ void tracer_print_enum_bitmap(const struct tgif_type *type_desc,
                        } else {
                                union int64_value v64;
 
-                               v64 = tracer_load_integer_value(&elem_type->u.tgif_integer,
-                                               &array_item[bit / stride_bit].u.tgif_static.integer_value,
+                               v64 = tracer_load_integer_value(&elem_type->u.side_integer,
+                                               &array_item[bit / stride_bit].u.side_static.integer_value,
                                                0, NULL);
                                if (v64.u & (1ULL << (bit % stride_bit))) {
                                        match = true;
@@ -610,7 +610,7 @@ void print_integer_binary(uint64_t v, int bits)
 
 static
 void tracer_print_type_header(const char *separator,
-               const struct tgif_attr *attr, uint32_t nr_attr)
+               const struct side_attr *attr, uint32_t nr_attr)
 {
        print_attributes("attr", separator, attr, nr_attr);
        printf("%s", nr_attr ? ", " : "");
@@ -619,8 +619,8 @@ void tracer_print_type_header(const char *separator,
 
 static
 void tracer_print_type_bool(const char *separator,
-               const struct tgif_type_bool *type_bool,
-               const union tgif_bool_value *value,
+               const struct side_type_bool *type_bool,
+               const union side_bool_value *value,
                uint16_t offset_bits)
 {
        uint32_t len_bits;
@@ -633,39 +633,39 @@ void tracer_print_type_bool(const char *separator,
                len_bits = type_bool->len_bits;
        if (len_bits + offset_bits > type_bool->bool_size * CHAR_BIT)
                abort();
-       reverse_bo = type_bool->byte_order != TGIF_TYPE_BYTE_ORDER_HOST;
+       reverse_bo = type_bool->byte_order != SIDE_TYPE_BYTE_ORDER_HOST;
        switch (type_bool->bool_size) {
        case 1:
-               v = value->tgif_bool8;
+               v = value->side_bool8;
                break;
        case 2:
        {
-               uint16_t tgif_u16;
+               uint16_t side_u16;
 
-               tgif_u16 = value->tgif_bool16;
+               side_u16 = value->side_bool16;
                if (reverse_bo)
-                       tgif_u16 = tgif_bswap_16(tgif_u16);
-               v = tgif_u16;
+                       side_u16 = side_bswap_16(side_u16);
+               v = side_u16;
                break;
        }
        case 4:
        {
-               uint32_t tgif_u32;
+               uint32_t side_u32;
 
-               tgif_u32 = value->tgif_bool32;
+               side_u32 = value->side_bool32;
                if (reverse_bo)
-                       tgif_u32 = tgif_bswap_32(tgif_u32);
-               v = tgif_u32;
+                       side_u32 = side_bswap_32(side_u32);
+               v = side_u32;
                break;
        }
        case 8:
        {
-               uint64_t tgif_u64;
+               uint64_t side_u64;
 
-               tgif_u64 = value->tgif_bool64;
+               side_u64 = value->side_bool64;
                if (reverse_bo)
-                       tgif_u64 = tgif_bswap_64(tgif_u64);
-               v = tgif_u64;
+                       side_u64 = side_bswap_64(side_u64);
+               v = side_u64;
                break;
        }
        default:
@@ -680,8 +680,8 @@ void tracer_print_type_bool(const char *separator,
 
 static
 void tracer_print_type_integer(const char *separator,
-               const struct tgif_type_integer *type_integer,
-               const union tgif_integer_value *value,
+               const struct side_type_integer *type_integer,
+               const union side_integer_value *value,
                uint16_t offset_bits,
                enum tracer_display_base default_base)
 {
@@ -721,13 +721,13 @@ void tracer_print_type_integer(const char *separator,
 
 static
 void tracer_print_type_float(const char *separator,
-               const struct tgif_type_float *type_float,
-               const union tgif_float_value *value)
+               const struct side_type_float *type_float,
+               const union side_float_value *value)
 {
        bool reverse_bo;
 
        tracer_print_type_header(separator, type_float->attr, type_float->nr_attr);
-       reverse_bo = type_float->byte_order != TGIF_TYPE_FLOAT_WORD_ORDER_HOST;
+       reverse_bo = type_float->byte_order != SIDE_TYPE_FLOAT_WORD_ORDER_HOST;
        switch (type_float->float_size) {
        case 2:
        {
@@ -736,11 +736,11 @@ void tracer_print_type_float(const char *separator,
                        _Float16 f;
                        uint16_t u;
                } float16 = {
-                       .f = value->tgif_float_binary16,
+                       .f = value->side_float_binary16,
                };
 
                if (reverse_bo)
-                       float16.u = tgif_bswap_16(float16.u);
+                       float16.u = side_bswap_16(float16.u);
                printf("%g", (double) float16.f);
                break;
 #else
@@ -755,11 +755,11 @@ void tracer_print_type_float(const char *separator,
                        _Float32 f;
                        uint32_t u;
                } float32 = {
-                       .f = value->tgif_float_binary32,
+                       .f = value->side_float_binary32,
                };
 
                if (reverse_bo)
-                       float32.u = tgif_bswap_32(float32.u);
+                       float32.u = side_bswap_32(float32.u);
                printf("%g", (double) float32.f);
                break;
 #else
@@ -774,11 +774,11 @@ void tracer_print_type_float(const char *separator,
                        _Float64 f;
                        uint64_t u;
                } float64 = {
-                       .f = value->tgif_float_binary64,
+                       .f = value->side_float_binary64,
                };
 
                if (reverse_bo)
-                       float64.u = tgif_bswap_64(float64.u);
+                       float64.u = side_bswap_64(float64.u);
                printf("%g", (double) float64.f);
                break;
 #else
@@ -793,11 +793,11 @@ void tracer_print_type_float(const char *separator,
                        _Float128 f;
                        char arr[16];
                } float128 = {
-                       .f = value->tgif_float_binary128,
+                       .f = value->side_float_binary128,
                };
 
                if (reverse_bo)
-                       tgif_bswap_128p(float128.arr);
+                       side_bswap_128p(float128.arr);
                printf("%Lg", (long double) float128.f);
                break;
 #else
@@ -812,21 +812,21 @@ void tracer_print_type_float(const char *separator,
 }
 
 static
-void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg *item)
+void tracer_print_type(const struct side_type *type_desc, const struct side_arg *item)
 {
-       enum tgif_type_label type;
+       enum side_type_label type;
 
        switch (type_desc->type) {
-       case TGIF_TYPE_ENUM:
+       case SIDE_TYPE_ENUM:
                switch (item->type) {
-               case TGIF_TYPE_U8:
-               case TGIF_TYPE_U16:
-               case TGIF_TYPE_U32:
-               case TGIF_TYPE_U64:
-               case TGIF_TYPE_S8:
-               case TGIF_TYPE_S16:
-               case TGIF_TYPE_S32:
-               case TGIF_TYPE_S64:
+               case SIDE_TYPE_U8:
+               case SIDE_TYPE_U16:
+               case SIDE_TYPE_U32:
+               case SIDE_TYPE_U64:
+               case SIDE_TYPE_S8:
+               case SIDE_TYPE_S16:
+               case SIDE_TYPE_S32:
+               case SIDE_TYPE_S64:
                        break;
                default:
                        fprintf(stderr, "ERROR: type mismatch between description and arguments\n");
@@ -835,15 +835,15 @@ void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg
                }
                break;
 
-       case TGIF_TYPE_ENUM_BITMAP:
+       case SIDE_TYPE_ENUM_BITMAP:
                switch (item->type) {
-               case TGIF_TYPE_U8:
-               case TGIF_TYPE_BYTE:
-               case TGIF_TYPE_U16:
-               case TGIF_TYPE_U32:
-               case TGIF_TYPE_U64:
-               case TGIF_TYPE_ARRAY:
-               case TGIF_TYPE_VLA:
+               case SIDE_TYPE_U8:
+               case SIDE_TYPE_BYTE:
+               case SIDE_TYPE_U16:
+               case SIDE_TYPE_U32:
+               case SIDE_TYPE_U64:
+               case SIDE_TYPE_ARRAY:
+               case SIDE_TYPE_VLA:
                        break;
                default:
                        fprintf(stderr, "ERROR: type mismatch between description and arguments\n");
@@ -852,9 +852,9 @@ void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg
                }
                break;
 
-       case TGIF_TYPE_GATHER_ENUM:
+       case SIDE_TYPE_GATHER_ENUM:
                switch (item->type) {
-               case TGIF_TYPE_GATHER_INTEGER:
+               case SIDE_TYPE_GATHER_INTEGER:
                        break;
                default:
                        fprintf(stderr, "ERROR: type mismatch between description and arguments\n");
@@ -863,19 +863,19 @@ void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg
                }
                break;
 
-       case TGIF_TYPE_DYNAMIC:
+       case SIDE_TYPE_DYNAMIC:
                switch (item->type) {
-               case TGIF_TYPE_DYNAMIC_NULL:
-               case TGIF_TYPE_DYNAMIC_BOOL:
-               case TGIF_TYPE_DYNAMIC_INTEGER:
-               case TGIF_TYPE_DYNAMIC_BYTE:
-               case TGIF_TYPE_DYNAMIC_POINTER:
-               case TGIF_TYPE_DYNAMIC_FLOAT:
-               case TGIF_TYPE_DYNAMIC_STRING:
-               case TGIF_TYPE_DYNAMIC_STRUCT:
-               case TGIF_TYPE_DYNAMIC_STRUCT_VISITOR:
-               case TGIF_TYPE_DYNAMIC_VLA:
-               case TGIF_TYPE_DYNAMIC_VLA_VISITOR:
+               case SIDE_TYPE_DYNAMIC_NULL:
+               case SIDE_TYPE_DYNAMIC_BOOL:
+               case SIDE_TYPE_DYNAMIC_INTEGER:
+               case SIDE_TYPE_DYNAMIC_BYTE:
+               case SIDE_TYPE_DYNAMIC_POINTER:
+               case SIDE_TYPE_DYNAMIC_FLOAT:
+               case SIDE_TYPE_DYNAMIC_STRING:
+               case SIDE_TYPE_DYNAMIC_STRUCT:
+               case SIDE_TYPE_DYNAMIC_STRUCT_VISITOR:
+               case SIDE_TYPE_DYNAMIC_VLA:
+               case SIDE_TYPE_DYNAMIC_VLA_VISITOR:
                        break;
                default:
                        fprintf(stderr, "ERROR: Unexpected dynamic type\n");
@@ -892,136 +892,136 @@ void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg
                break;
        }
 
-       if (type_desc->type == TGIF_TYPE_ENUM || type_desc->type == TGIF_TYPE_ENUM_BITMAP ||
-                       type_desc->type == TGIF_TYPE_GATHER_ENUM)
-               type = (enum tgif_type_label) type_desc->type;
+       if (type_desc->type == SIDE_TYPE_ENUM || type_desc->type == SIDE_TYPE_ENUM_BITMAP ||
+                       type_desc->type == SIDE_TYPE_GATHER_ENUM)
+               type = (enum side_type_label) type_desc->type;
        else
-               type = (enum tgif_type_label) item->type;
+               type = (enum side_type_label) item->type;
 
        printf("{ ");
        switch (type) {
                /* Stack-copy basic types */
-       case TGIF_TYPE_NULL:
-               tracer_print_type_header(":", type_desc->u.tgif_null.attr, type_desc->u.tgif_null.nr_attr);
+       case SIDE_TYPE_NULL:
+               tracer_print_type_header(":", type_desc->u.side_null.attr, type_desc->u.side_null.nr_attr);
                printf("<NULL TYPE>");
                break;
 
-       case TGIF_TYPE_BOOL:
-               tracer_print_type_bool(":", &type_desc->u.tgif_bool, &item->u.tgif_static.bool_value, 0);
+       case SIDE_TYPE_BOOL:
+               tracer_print_type_bool(":", &type_desc->u.side_bool, &item->u.side_static.bool_value, 0);
                break;
 
-       case TGIF_TYPE_U8:
-       case TGIF_TYPE_U16:
-       case TGIF_TYPE_U32:
-       case TGIF_TYPE_U64:
-       case TGIF_TYPE_S8:
-       case TGIF_TYPE_S16:
-       case TGIF_TYPE_S32:
-       case TGIF_TYPE_S64:
-               tracer_print_type_integer(":", &type_desc->u.tgif_integer, &item->u.tgif_static.integer_value, 0,
+       case SIDE_TYPE_U8:
+       case SIDE_TYPE_U16:
+       case SIDE_TYPE_U32:
+       case SIDE_TYPE_U64:
+       case SIDE_TYPE_S8:
+       case SIDE_TYPE_S16:
+       case SIDE_TYPE_S32:
+       case SIDE_TYPE_S64:
+               tracer_print_type_integer(":", &type_desc->u.side_integer, &item->u.side_static.integer_value, 0,
                                TRACER_DISPLAY_BASE_10);
                break;
 
-       case TGIF_TYPE_BYTE:
-               tracer_print_type_header(":", type_desc->u.tgif_byte.attr, type_desc->u.tgif_byte.nr_attr);
-               printf("0x%" PRIx8, item->u.tgif_static.byte_value);
+       case SIDE_TYPE_BYTE:
+               tracer_print_type_header(":", type_desc->u.side_byte.attr, type_desc->u.side_byte.nr_attr);
+               printf("0x%" PRIx8, item->u.side_static.byte_value);
                break;
 
-       case TGIF_TYPE_POINTER:
-               tracer_print_type_integer(":", &type_desc->u.tgif_integer, &item->u.tgif_static.integer_value, 0,
+       case SIDE_TYPE_POINTER:
+               tracer_print_type_integer(":", &type_desc->u.side_integer, &item->u.side_static.integer_value, 0,
                                TRACER_DISPLAY_BASE_16);
                break;
 
-       case TGIF_TYPE_FLOAT_BINARY16:
-       case TGIF_TYPE_FLOAT_BINARY32:
-       case TGIF_TYPE_FLOAT_BINARY64:
-       case TGIF_TYPE_FLOAT_BINARY128:
-               tracer_print_type_float(":", &type_desc->u.tgif_float, &item->u.tgif_static.float_value);
+       case SIDE_TYPE_FLOAT_BINARY16:
+       case SIDE_TYPE_FLOAT_BINARY32:
+       case SIDE_TYPE_FLOAT_BINARY64:
+       case SIDE_TYPE_FLOAT_BINARY128:
+               tracer_print_type_float(":", &type_desc->u.side_float, &item->u.side_static.float_value);
                break;
 
-       case TGIF_TYPE_STRING_UTF8:
-       case TGIF_TYPE_STRING_UTF16:
-       case TGIF_TYPE_STRING_UTF32:
-               tracer_print_type_header(":", type_desc->u.tgif_string.attr, type_desc->u.tgif_string.nr_attr);
-               tracer_print_string((const void *)(uintptr_t) item->u.tgif_static.string_value,
-                               type_desc->u.tgif_string.unit_size, type_desc->u.tgif_string.byte_order, NULL);
+       case SIDE_TYPE_STRING_UTF8:
+       case SIDE_TYPE_STRING_UTF16:
+       case SIDE_TYPE_STRING_UTF32:
+               tracer_print_type_header(":", type_desc->u.side_string.attr, type_desc->u.side_string.nr_attr);
+               tracer_print_string((const void *)(uintptr_t) item->u.side_static.string_value,
+                               type_desc->u.side_string.unit_size, type_desc->u.side_string.byte_order, NULL);
                break;
 
                /* Stack-copy compound types */
-       case TGIF_TYPE_STRUCT:
-               tracer_print_struct(type_desc, item->u.tgif_static.tgif_struct);
+       case SIDE_TYPE_STRUCT:
+               tracer_print_struct(type_desc, item->u.side_static.side_struct);
                break;
-       case TGIF_TYPE_ARRAY:
-               tracer_print_array(type_desc, item->u.tgif_static.tgif_array);
+       case SIDE_TYPE_ARRAY:
+               tracer_print_array(type_desc, item->u.side_static.side_array);
                break;
-       case TGIF_TYPE_VLA:
-               tracer_print_vla(type_desc, item->u.tgif_static.tgif_vla);
+       case SIDE_TYPE_VLA:
+               tracer_print_vla(type_desc, item->u.side_static.side_vla);
                break;
-       case TGIF_TYPE_VLA_VISITOR:
-               tracer_print_vla_visitor(type_desc, item->u.tgif_static.tgif_vla_app_visitor_ctx);
+       case SIDE_TYPE_VLA_VISITOR:
+               tracer_print_vla_visitor(type_desc, item->u.side_static.side_vla_app_visitor_ctx);
                break;
 
                /* Stack-copy enumeration types */
-       case TGIF_TYPE_ENUM:
+       case SIDE_TYPE_ENUM:
                tracer_print_enum(type_desc, item);
                break;
-       case TGIF_TYPE_ENUM_BITMAP:
+       case SIDE_TYPE_ENUM_BITMAP:
                tracer_print_enum_bitmap(type_desc, item);
                break;
 
                /* Gather basic types */
-       case TGIF_TYPE_GATHER_BOOL:
-               (void) tracer_print_gather_bool_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_bool_gather_ptr);
+       case SIDE_TYPE_GATHER_BOOL:
+               (void) tracer_print_gather_bool_type(&type_desc->u.side_gather, item->u.side_static.side_bool_gather_ptr);
                break;
-       case TGIF_TYPE_GATHER_INTEGER:
-               (void) tracer_print_gather_integer_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_integer_gather_ptr,
+       case SIDE_TYPE_GATHER_INTEGER:
+               (void) tracer_print_gather_integer_type(&type_desc->u.side_gather, item->u.side_static.side_integer_gather_ptr,
                                        TRACER_DISPLAY_BASE_10);
                break;
-       case TGIF_TYPE_GATHER_BYTE:
-               (void) tracer_print_gather_byte_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_byte_gather_ptr);
+       case SIDE_TYPE_GATHER_BYTE:
+               (void) tracer_print_gather_byte_type(&type_desc->u.side_gather, item->u.side_static.side_byte_gather_ptr);
                break;
-       case TGIF_TYPE_GATHER_POINTER:
-               (void) tracer_print_gather_integer_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_integer_gather_ptr,
+       case SIDE_TYPE_GATHER_POINTER:
+               (void) tracer_print_gather_integer_type(&type_desc->u.side_gather, item->u.side_static.side_integer_gather_ptr,
                                        TRACER_DISPLAY_BASE_16);
                break;
-       case TGIF_TYPE_GATHER_FLOAT:
-               (void) tracer_print_gather_float_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_float_gather_ptr);
+       case SIDE_TYPE_GATHER_FLOAT:
+               (void) tracer_print_gather_float_type(&type_desc->u.side_gather, item->u.side_static.side_float_gather_ptr);
                break;
-       case TGIF_TYPE_GATHER_STRING:
-               (void) tracer_print_gather_string_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_string_gather_ptr);
+       case SIDE_TYPE_GATHER_STRING:
+               (void) tracer_print_gather_string_type(&type_desc->u.side_gather, item->u.side_static.side_string_gather_ptr);
                break;
 
                /* Gather compound type */
-       case TGIF_TYPE_GATHER_STRUCT:
-               (void) tracer_print_gather_struct(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_struct_gather_ptr);
+       case SIDE_TYPE_GATHER_STRUCT:
+               (void) tracer_print_gather_struct(&type_desc->u.side_gather, item->u.side_static.side_struct_gather_ptr);
                break;
-       case TGIF_TYPE_GATHER_ARRAY:
-               (void) tracer_print_gather_array(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_array_gather_ptr);
+       case SIDE_TYPE_GATHER_ARRAY:
+               (void) tracer_print_gather_array(&type_desc->u.side_gather, item->u.side_static.side_array_gather_ptr);
                break;
-       case TGIF_TYPE_GATHER_VLA:
-               (void) tracer_print_gather_vla(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_vla_gather.ptr,
-                               item->u.tgif_static.tgif_vla_gather.length_ptr);
+       case SIDE_TYPE_GATHER_VLA:
+               (void) tracer_print_gather_vla(&type_desc->u.side_gather, item->u.side_static.side_vla_gather.ptr,
+                               item->u.side_static.side_vla_gather.length_ptr);
                break;
 
                /* Gather enumeration types */
-       case TGIF_TYPE_GATHER_ENUM:
-               (void) tracer_print_gather_enum_type(&type_desc->u.tgif_gather, item->u.tgif_static.tgif_integer_gather_ptr);
+       case SIDE_TYPE_GATHER_ENUM:
+               (void) tracer_print_gather_enum_type(&type_desc->u.side_gather, item->u.side_static.side_integer_gather_ptr);
                break;
 
        /* Dynamic basic types */
-       case TGIF_TYPE_DYNAMIC_NULL:
-       case TGIF_TYPE_DYNAMIC_BOOL:
-       case TGIF_TYPE_DYNAMIC_INTEGER:
-       case TGIF_TYPE_DYNAMIC_BYTE:
-       case TGIF_TYPE_DYNAMIC_POINTER:
-       case TGIF_TYPE_DYNAMIC_FLOAT:
-       case TGIF_TYPE_DYNAMIC_STRING:
+       case SIDE_TYPE_DYNAMIC_NULL:
+       case SIDE_TYPE_DYNAMIC_BOOL:
+       case SIDE_TYPE_DYNAMIC_INTEGER:
+       case SIDE_TYPE_DYNAMIC_BYTE:
+       case SIDE_TYPE_DYNAMIC_POINTER:
+       case SIDE_TYPE_DYNAMIC_FLOAT:
+       case SIDE_TYPE_DYNAMIC_STRING:
 
        /* Dynamic compound types */
-       case TGIF_TYPE_DYNAMIC_STRUCT:
-       case TGIF_TYPE_DYNAMIC_STRUCT_VISITOR:
-       case TGIF_TYPE_DYNAMIC_VLA:
-       case TGIF_TYPE_DYNAMIC_VLA_VISITOR:
+       case SIDE_TYPE_DYNAMIC_STRUCT:
+       case SIDE_TYPE_DYNAMIC_STRUCT_VISITOR:
+       case SIDE_TYPE_DYNAMIC_VLA:
+       case SIDE_TYPE_DYNAMIC_VLA_VISITOR:
                tracer_print_dynamic(item);
                break;
        default:
@@ -1032,77 +1032,77 @@ void tracer_print_type(const struct tgif_type *type_desc, const struct tgif_arg
 }
 
 static
-void tracer_print_field(const struct tgif_event_field *item_desc, const struct tgif_arg *item)
+void tracer_print_field(const struct side_event_field *item_desc, const struct side_arg *item)
 {
        printf("%s: ", item_desc->field_name);
-       tracer_print_type(&item_desc->tgif_type, item);
+       tracer_print_type(&item_desc->side_type, item);
 }
 
 static
-void tracer_print_struct(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec)
+void tracer_print_struct(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec)
 {
-       const struct tgif_arg *sav = tgif_arg_vec->sav;
-       uint32_t i, tgif_sav_len = tgif_arg_vec->len;
+       const struct side_arg *sav = side_arg_vec->sav;
+       uint32_t i, side_sav_len = side_arg_vec->len;
 
-       if (type_desc->u.tgif_struct->nr_fields != tgif_sav_len) {
+       if (type_desc->u.side_struct->nr_fields != side_sav_len) {
                fprintf(stderr, "ERROR: number of fields mismatch between description and arguments of structure\n");
                abort();
        }
-       print_attributes("attr", ":", type_desc->u.tgif_struct->attr, type_desc->u.tgif_struct->nr_attr);
-       printf("%s", type_desc->u.tgif_struct->nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_desc->u.side_struct->attr, type_desc->u.side_struct->nr_attr);
+       printf("%s", type_desc->u.side_struct->nr_attr ? ", " : "");
        printf("fields: { ");
-       for (i = 0; i < tgif_sav_len; i++) {
+       for (i = 0; i < side_sav_len; i++) {
                printf("%s", i ? ", " : "");
-               tracer_print_field(&type_desc->u.tgif_struct->fields[i], &sav[i]);
+               tracer_print_field(&type_desc->u.side_struct->fields[i], &sav[i]);
        }
        printf(" }");
 }
 
 static
-void tracer_print_array(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec)
+void tracer_print_array(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec)
 {
-       const struct tgif_arg *sav = tgif_arg_vec->sav;
-       uint32_t i, tgif_sav_len = tgif_arg_vec->len;
+       const struct side_arg *sav = side_arg_vec->sav;
+       uint32_t i, side_sav_len = side_arg_vec->len;
 
-       if (type_desc->u.tgif_array.length != tgif_sav_len) {
+       if (type_desc->u.side_array.length != side_sav_len) {
                fprintf(stderr, "ERROR: length mismatch between description and arguments of array\n");
                abort();
        }
-       print_attributes("attr", ":", type_desc->u.tgif_array.attr, type_desc->u.tgif_array.nr_attr);
-       printf("%s", type_desc->u.tgif_array.nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_desc->u.side_array.attr, type_desc->u.side_array.nr_attr);
+       printf("%s", type_desc->u.side_array.nr_attr ? ", " : "");
        printf("elements: ");
        printf("[ ");
-       for (i = 0; i < tgif_sav_len; i++) {
+       for (i = 0; i < side_sav_len; i++) {
                printf("%s", i ? ", " : "");
-               tracer_print_type(type_desc->u.tgif_array.elem_type, &sav[i]);
+               tracer_print_type(type_desc->u.side_array.elem_type, &sav[i]);
        }
        printf(" ]");
 }
 
 static
-void tracer_print_vla(const struct tgif_type *type_desc, const struct tgif_arg_vec *tgif_arg_vec)
+void tracer_print_vla(const struct side_type *type_desc, const struct side_arg_vec *side_arg_vec)
 {
-       const struct tgif_arg *sav = tgif_arg_vec->sav;
-       uint32_t i, tgif_sav_len = tgif_arg_vec->len;
+       const struct side_arg *sav = side_arg_vec->sav;
+       uint32_t i, side_sav_len = side_arg_vec->len;
 
-       print_attributes("attr", ":", type_desc->u.tgif_vla.attr, type_desc->u.tgif_vla.nr_attr);
-       printf("%s", type_desc->u.tgif_vla.nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_desc->u.side_vla.attr, type_desc->u.side_vla.nr_attr);
+       printf("%s", type_desc->u.side_vla.nr_attr ? ", " : "");
        printf("elements: ");
        printf("[ ");
-       for (i = 0; i < tgif_sav_len; i++) {
+       for (i = 0; i < side_sav_len; i++) {
                printf("%s", i ? ", " : "");
-               tracer_print_type(type_desc->u.tgif_vla.elem_type, &sav[i]);
+               tracer_print_type(type_desc->u.side_vla.elem_type, &sav[i]);
        }
        printf(" ]");
 }
 
 static
-const char *tracer_gather_access(enum tgif_type_gather_access_mode access_mode, const char *ptr)
+const char *tracer_gather_access(enum side_type_gather_access_mode access_mode, const char *ptr)
 {
        switch (access_mode) {
-       case TGIF_TYPE_GATHER_ACCESS_DIRECT:
+       case SIDE_TYPE_GATHER_ACCESS_DIRECT:
                return ptr;
-       case TGIF_TYPE_GATHER_ACCESS_POINTER:
+       case SIDE_TYPE_GATHER_ACCESS_POINTER:
                /* Dereference pointer */
                memcpy(&ptr, ptr, sizeof(ptr));
                return ptr;
@@ -1112,12 +1112,12 @@ const char *tracer_gather_access(enum tgif_type_gather_access_mode access_mode,
 }
 
 static
-uint32_t tracer_gather_size(enum tgif_type_gather_access_mode access_mode, uint32_t len)
+uint32_t tracer_gather_size(enum side_type_gather_access_mode access_mode, uint32_t len)
 {
        switch (access_mode) {
-       case TGIF_TYPE_GATHER_ACCESS_DIRECT:
+       case SIDE_TYPE_GATHER_ACCESS_DIRECT:
                return len;
-       case TGIF_TYPE_GATHER_ACCESS_POINTER:
+       case SIDE_TYPE_GATHER_ACCESS_POINTER:
                return sizeof(void *);
        default:
                abort();
@@ -1125,29 +1125,29 @@ uint32_t tracer_gather_size(enum tgif_type_gather_access_mode access_mode, uint3
 }
 
 static
-union int64_value tracer_load_gather_integer_value(const struct tgif_type_gather_integer *tgif_integer,
+union int64_value tracer_load_gather_integer_value(const struct side_type_gather_integer *side_integer,
                const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) tgif_integer->access_mode;
-       uint32_t integer_size_bytes = tgif_integer->type.integer_size;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) side_integer->access_mode;
+       uint32_t integer_size_bytes = side_integer->type.integer_size;
        const char *ptr = (const char *) _ptr;
-       union tgif_integer_value value;
+       union side_integer_value value;
 
-       ptr = tracer_gather_access(access_mode, ptr + tgif_integer->offset);
+       ptr = tracer_gather_access(access_mode, ptr + side_integer->offset);
        memcpy(&value, ptr, integer_size_bytes);
-       return tracer_load_integer_value(&tgif_integer->type, &value,
-                       tgif_integer->offset_bits, NULL);
+       return tracer_load_integer_value(&side_integer->type, &value,
+                       side_integer->offset_bits, NULL);
 }
 
 static
-uint32_t tracer_print_gather_bool_type(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_bool_type(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_bool.access_mode;
-       uint32_t bool_size_bytes = type_gather->u.tgif_bool.type.bool_size;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_bool.access_mode;
+       uint32_t bool_size_bytes = type_gather->u.side_bool.type.bool_size;
        const char *ptr = (const char *) _ptr;
-       union tgif_bool_value value;
+       union side_bool_value value;
 
        switch (bool_size_bytes) {
        case 1:
@@ -1158,38 +1158,38 @@ uint32_t tracer_print_gather_bool_type(const struct tgif_type_gather *type_gathe
        default:
                abort();
        }
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_bool.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_bool.offset);
        memcpy(&value, ptr, bool_size_bytes);
-       tracer_print_type_bool(":", &type_gather->u.tgif_bool.type, &value,
-                       type_gather->u.tgif_bool.offset_bits);
+       tracer_print_type_bool(":", &type_gather->u.side_bool.type, &value,
+                       type_gather->u.side_bool.offset_bits);
        return tracer_gather_size(access_mode, bool_size_bytes);
 }
 
 static
-uint32_t tracer_print_gather_byte_type(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_byte_type(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_byte.access_mode;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_byte.access_mode;
        const char *ptr = (const char *) _ptr;
        uint8_t value;
 
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_byte.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_byte.offset);
        memcpy(&value, ptr, 1);
-       tracer_print_type_header(":", type_gather->u.tgif_byte.type.attr,
-                       type_gather->u.tgif_byte.type.nr_attr);
+       tracer_print_type_header(":", type_gather->u.side_byte.type.attr,
+                       type_gather->u.side_byte.type.nr_attr);
        printf("0x%" PRIx8, value);
        return tracer_gather_size(access_mode, 1);
 }
 
 static
-uint32_t tracer_print_gather_integer_type(const struct tgif_type_gather *type_gather, const void *_ptr,
+uint32_t tracer_print_gather_integer_type(const struct side_type_gather *type_gather, const void *_ptr,
                enum tracer_display_base default_base)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_integer.access_mode;
-       uint32_t integer_size_bytes = type_gather->u.tgif_integer.type.integer_size;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_integer.access_mode;
+       uint32_t integer_size_bytes = type_gather->u.side_integer.type.integer_size;
        const char *ptr = (const char *) _ptr;
-       union tgif_integer_value value;
+       union side_integer_value value;
 
        switch (integer_size_bytes) {
        case 1:
@@ -1200,21 +1200,21 @@ uint32_t tracer_print_gather_integer_type(const struct tgif_type_gather *type_ga
        default:
                abort();
        }
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_integer.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_integer.offset);
        memcpy(&value, ptr, integer_size_bytes);
-       tracer_print_type_integer(":", &type_gather->u.tgif_integer.type, &value,
-                       type_gather->u.tgif_integer.offset_bits, default_base);
+       tracer_print_type_integer(":", &type_gather->u.side_integer.type, &value,
+                       type_gather->u.side_integer.offset_bits, default_base);
        return tracer_gather_size(access_mode, integer_size_bytes);
 }
 
 static
-uint32_t tracer_print_gather_float_type(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_float_type(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_float.access_mode;
-       uint32_t float_size_bytes = type_gather->u.tgif_float.type.float_size;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_float.access_mode;
+       uint32_t float_size_bytes = type_gather->u.side_float.type.float_size;
        const char *ptr = (const char *) _ptr;
-       union tgif_float_value value;
+       union side_float_value value;
 
        switch (float_size_bytes) {
        case 2:
@@ -1225,76 +1225,76 @@ uint32_t tracer_print_gather_float_type(const struct tgif_type_gather *type_gath
        default:
                abort();
        }
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_float.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_float.offset);
        memcpy(&value, ptr, float_size_bytes);
-       tracer_print_type_float(":", &type_gather->u.tgif_float.type, &value);
+       tracer_print_type_float(":", &type_gather->u.side_float.type, &value);
        return tracer_gather_size(access_mode, float_size_bytes);
 }
 
 static
-uint32_t tracer_print_gather_string_type(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_string_type(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_string.access_mode;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_string.access_mode;
        const char *ptr = (const char *) _ptr;
        size_t string_len;
 
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_string.offset);
-       tracer_print_type_header(":", type_gather->u.tgif_string.type.attr,
-                       type_gather->u.tgif_string.type.nr_attr);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_string.offset);
+       tracer_print_type_header(":", type_gather->u.side_string.type.attr,
+                       type_gather->u.side_string.type.nr_attr);
        if (ptr) {
-               tracer_print_string(ptr, type_gather->u.tgif_string.type.unit_size,
-                               type_gather->u.tgif_string.type.byte_order, &string_len);
+               tracer_print_string(ptr, type_gather->u.side_string.type.unit_size,
+                               type_gather->u.side_string.type.byte_order, &string_len);
        } else {
                printf("<NULL>");
-               string_len = type_gather->u.tgif_string.type.unit_size;
+               string_len = type_gather->u.side_string.type.unit_size;
        }
        return tracer_gather_size(access_mode, string_len);
 }
 
 static
-uint32_t tracer_print_gather_type(const struct tgif_type *type_desc, const void *ptr)
+uint32_t tracer_print_gather_type(const struct side_type *type_desc, const void *ptr)
 {
        uint32_t len;
 
        printf("{ ");
        switch (type_desc->type) {
                /* Gather basic types */
-       case TGIF_TYPE_GATHER_BOOL:
-               len = tracer_print_gather_bool_type(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_BOOL:
+               len = tracer_print_gather_bool_type(&type_desc->u.side_gather, ptr);
                break;
-       case TGIF_TYPE_GATHER_INTEGER:
-               len = tracer_print_gather_integer_type(&type_desc->u.tgif_gather, ptr,
+       case SIDE_TYPE_GATHER_INTEGER:
+               len = tracer_print_gather_integer_type(&type_desc->u.side_gather, ptr,
                                TRACER_DISPLAY_BASE_10);
                break;
-       case TGIF_TYPE_GATHER_BYTE:
-               len = tracer_print_gather_byte_type(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_BYTE:
+               len = tracer_print_gather_byte_type(&type_desc->u.side_gather, ptr);
                break;
-       case TGIF_TYPE_GATHER_POINTER:
-               len = tracer_print_gather_integer_type(&type_desc->u.tgif_gather, ptr,
+       case SIDE_TYPE_GATHER_POINTER:
+               len = tracer_print_gather_integer_type(&type_desc->u.side_gather, ptr,
                                TRACER_DISPLAY_BASE_16);
                break;
-       case TGIF_TYPE_GATHER_FLOAT:
-               len = tracer_print_gather_float_type(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_FLOAT:
+               len = tracer_print_gather_float_type(&type_desc->u.side_gather, ptr);
                break;
-       case TGIF_TYPE_GATHER_STRING:
-               len = tracer_print_gather_string_type(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_STRING:
+               len = tracer_print_gather_string_type(&type_desc->u.side_gather, ptr);
                break;
 
                /* Gather enum types */
-       case TGIF_TYPE_GATHER_ENUM:
-               len = tracer_print_gather_enum_type(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_ENUM:
+               len = tracer_print_gather_enum_type(&type_desc->u.side_gather, ptr);
                break;
 
                /* Gather compound types */
-       case TGIF_TYPE_GATHER_STRUCT:
-               len = tracer_print_gather_struct(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_STRUCT:
+               len = tracer_print_gather_struct(&type_desc->u.side_gather, ptr);
                break;
-       case TGIF_TYPE_GATHER_ARRAY:
-               len = tracer_print_gather_array(&type_desc->u.tgif_gather, ptr);
+       case SIDE_TYPE_GATHER_ARRAY:
+               len = tracer_print_gather_array(&type_desc->u.side_gather, ptr);
                break;
-       case TGIF_TYPE_GATHER_VLA:
-               len = tracer_print_gather_vla(&type_desc->u.tgif_gather, ptr, ptr);
+       case SIDE_TYPE_GATHER_VLA:
+               len = tracer_print_gather_vla(&type_desc->u.side_gather, ptr, ptr);
                break;
        default:
                fprintf(stderr, "<UNKNOWN GATHER TYPE>");
@@ -1305,16 +1305,16 @@ uint32_t tracer_print_gather_type(const struct tgif_type *type_desc, const void
 }
 
 static
-uint32_t tracer_print_gather_enum_type(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_enum_type(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       const struct tgif_enum_mappings *mappings = type_gather->u.tgif_enum.mappings;
-       const struct tgif_type *enum_elem_type = type_gather->u.tgif_enum.elem_type;
-       const struct tgif_type_gather_integer *tgif_integer = &enum_elem_type->u.tgif_gather.u.tgif_integer;
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) tgif_integer->access_mode;
-       uint32_t integer_size_bytes = tgif_integer->type.integer_size;
+       const struct side_enum_mappings *mappings = type_gather->u.side_enum.mappings;
+       const struct side_type *enum_elem_type = type_gather->u.side_enum.elem_type;
+       const struct side_type_gather_integer *side_integer = &enum_elem_type->u.side_gather.u.side_integer;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) side_integer->access_mode;
+       uint32_t integer_size_bytes = side_integer->type.integer_size;
        const char *ptr = (const char *) _ptr;
-       union tgif_integer_value value;
+       union side_integer_value value;
        union int64_value v64;
 
        switch (integer_size_bytes) {
@@ -1326,9 +1326,9 @@ uint32_t tracer_print_gather_enum_type(const struct tgif_type_gather *type_gathe
        default:
                abort();
        }
-       ptr = tracer_gather_access(access_mode, ptr + tgif_integer->offset);
+       ptr = tracer_gather_access(access_mode, ptr + side_integer->offset);
        memcpy(&value, ptr, integer_size_bytes);
-       v64 = tracer_load_gather_integer_value(tgif_integer, &value);
+       v64 = tracer_load_gather_integer_value(side_integer, &value);
        print_attributes("attr", ":", mappings->attr, mappings->nr_attr);
        printf("%s", mappings->nr_attr ? ", " : "");
        tracer_print_gather_type(enum_elem_type, ptr);
@@ -1337,142 +1337,142 @@ uint32_t tracer_print_gather_enum_type(const struct tgif_type_gather *type_gathe
 }
 
 static
-void tracer_print_gather_field(const struct tgif_event_field *field, const void *ptr)
+void tracer_print_gather_field(const struct side_event_field *field, const void *ptr)
 {
        printf("%s: ", field->field_name);
-       (void) tracer_print_gather_type(&field->tgif_type, ptr);
+       (void) tracer_print_gather_type(&field->side_type, ptr);
 }
 
 static
-uint32_t tracer_print_gather_struct(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_struct(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_struct.access_mode;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_struct.access_mode;
        const char *ptr = (const char *) _ptr;
        uint32_t i;
 
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_struct.offset);
-       print_attributes("attr", ":", type_gather->u.tgif_struct.type->attr, type_gather->u.tgif_struct.type->nr_attr);
-       printf("%s", type_gather->u.tgif_struct.type->nr_attr ? ", " : "");
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_struct.offset);
+       print_attributes("attr", ":", type_gather->u.side_struct.type->attr, type_gather->u.side_struct.type->nr_attr);
+       printf("%s", type_gather->u.side_struct.type->nr_attr ? ", " : "");
        printf("fields: { ");
-       for (i = 0; i < type_gather->u.tgif_struct.type->nr_fields; i++) {
+       for (i = 0; i < type_gather->u.side_struct.type->nr_fields; i++) {
                printf("%s", i ? ", " : "");
-               tracer_print_gather_field(&type_gather->u.tgif_struct.type->fields[i], ptr);
+               tracer_print_gather_field(&type_gather->u.side_struct.type->fields[i], ptr);
        }
        printf(" }");
-       return tracer_gather_size(access_mode, type_gather->u.tgif_struct.size);
+       return tracer_gather_size(access_mode, type_gather->u.side_struct.size);
 }
 
 static
-uint32_t tracer_print_gather_array(const struct tgif_type_gather *type_gather, const void *_ptr)
+uint32_t tracer_print_gather_array(const struct side_type_gather *type_gather, const void *_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_array.access_mode;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_array.access_mode;
        const char *ptr = (const char *) _ptr, *orig_ptr;
        uint32_t i;
 
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_array.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_array.offset);
        orig_ptr = ptr;
-       print_attributes("attr", ":", type_gather->u.tgif_array.type.attr, type_gather->u.tgif_array.type.nr_attr);
-       printf("%s", type_gather->u.tgif_array.type.nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_gather->u.side_array.type.attr, type_gather->u.side_array.type.nr_attr);
+       printf("%s", type_gather->u.side_array.type.nr_attr ? ", " : "");
        printf("elements: ");
        printf("[ ");
-       for (i = 0; i < type_gather->u.tgif_array.type.length; i++) {
-               switch (type_gather->u.tgif_array.type.elem_type->type) {
-               case TGIF_TYPE_GATHER_VLA:
+       for (i = 0; i < type_gather->u.side_array.type.length; i++) {
+               switch (type_gather->u.side_array.type.elem_type->type) {
+               case SIDE_TYPE_GATHER_VLA:
                        fprintf(stderr, "<gather VLA only supported within gather structures>\n");
                        abort();
                default:
                        break;
                }
                printf("%s", i ? ", " : "");
-               ptr += tracer_print_gather_type(type_gather->u.tgif_array.type.elem_type, ptr);
+               ptr += tracer_print_gather_type(type_gather->u.side_array.type.elem_type, ptr);
        }
        printf(" ]");
        return tracer_gather_size(access_mode, ptr - orig_ptr);
 }
 
 static
-uint32_t tracer_print_gather_vla(const struct tgif_type_gather *type_gather, const void *_ptr,
+uint32_t tracer_print_gather_vla(const struct side_type_gather *type_gather, const void *_ptr,
                const void *_length_ptr)
 {
-       enum tgif_type_gather_access_mode access_mode =
-               (enum tgif_type_gather_access_mode) type_gather->u.tgif_vla.access_mode;
+       enum side_type_gather_access_mode access_mode =
+               (enum side_type_gather_access_mode) type_gather->u.side_vla.access_mode;
        const char *ptr = (const char *) _ptr, *orig_ptr;
        const char *length_ptr = (const char *) _length_ptr;
        union int64_value v64;
        uint32_t i, length;
 
        /* Access length */
-       switch (type_gather->u.tgif_vla.length_type->type) {
-       case TGIF_TYPE_GATHER_INTEGER:
+       switch (type_gather->u.side_vla.length_type->type) {
+       case SIDE_TYPE_GATHER_INTEGER:
                break;
        default:
                fprintf(stderr, "<gather VLA expects integer gather length type>\n");
                abort();
        }
-       v64 = tracer_load_gather_integer_value(&type_gather->u.tgif_vla.length_type->u.tgif_gather.u.tgif_integer,
+       v64 = tracer_load_gather_integer_value(&type_gather->u.side_vla.length_type->u.side_gather.u.side_integer,
                                        length_ptr);
        length = (uint32_t) v64.u;
-       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.tgif_vla.offset);
+       ptr = tracer_gather_access(access_mode, ptr + type_gather->u.side_vla.offset);
        orig_ptr = ptr;
-       print_attributes("attr", ":", type_gather->u.tgif_vla.type.attr, type_gather->u.tgif_vla.type.nr_attr);
-       printf("%s", type_gather->u.tgif_vla.type.nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_gather->u.side_vla.type.attr, type_gather->u.side_vla.type.nr_attr);
+       printf("%s", type_gather->u.side_vla.type.nr_attr ? ", " : "");
        printf("elements: ");
        printf("[ ");
        for (i = 0; i < length; i++) {
-               switch (type_gather->u.tgif_vla.type.elem_type->type) {
-               case TGIF_TYPE_GATHER_VLA:
+               switch (type_gather->u.side_vla.type.elem_type->type) {
+               case SIDE_TYPE_GATHER_VLA:
                        fprintf(stderr, "<gather VLA only supported within gather structures>\n");
                        abort();
                default:
                        break;
                }
                printf("%s", i ? ", " : "");
-               ptr += tracer_print_gather_type(type_gather->u.tgif_vla.type.elem_type, ptr);
+               ptr += tracer_print_gather_type(type_gather->u.side_vla.type.elem_type, ptr);
        }
        printf(" ]");
        return tracer_gather_size(access_mode, ptr - orig_ptr);
 }
 
 struct tracer_visitor_priv {
-       const struct tgif_type *elem_type;
+       const struct side_type *elem_type;
        int i;
 };
 
 static
-enum tgif_visitor_status tracer_write_elem_cb(const struct tgif_tracer_visitor_ctx *tracer_ctx,
-                       const struct tgif_arg *elem)
+enum side_visitor_status tracer_write_elem_cb(const struct side_tracer_visitor_ctx *tracer_ctx,
+                       const struct side_arg *elem)
 {
        struct tracer_visitor_priv *tracer_priv = (struct tracer_visitor_priv *) tracer_ctx->priv;
 
        printf("%s", tracer_priv->i++ ? ", " : "");
        tracer_print_type(tracer_priv->elem_type, elem);
-       return TGIF_VISITOR_STATUS_OK;
+       return SIDE_VISITOR_STATUS_OK;
 }
 
 static
-void tracer_print_vla_visitor(const struct tgif_type *type_desc, void *app_ctx)
+void tracer_print_vla_visitor(const struct side_type *type_desc, void *app_ctx)
 {
-       enum tgif_visitor_status status;
+       enum side_visitor_status status;
        struct tracer_visitor_priv tracer_priv = {
-               .elem_type = type_desc->u.tgif_vla_visitor.elem_type,
+               .elem_type = type_desc->u.side_vla_visitor.elem_type,
                .i = 0,
        };
-       const struct tgif_tracer_visitor_ctx tracer_ctx = {
+       const struct side_tracer_visitor_ctx tracer_ctx = {
                .write_elem = tracer_write_elem_cb,
                .priv = &tracer_priv,
        };
 
-       print_attributes("attr", ":", type_desc->u.tgif_vla_visitor.attr, type_desc->u.tgif_vla_visitor.nr_attr);
-       printf("%s", type_desc->u.tgif_vla_visitor.nr_attr ? ", " : "");
+       print_attributes("attr", ":", type_desc->u.side_vla_visitor.attr, type_desc->u.side_vla_visitor.nr_attr);
+       printf("%s", type_desc->u.side_vla_visitor.nr_attr ? ", " : "");
        printf("elements: ");
        printf("[ ");
-       status = type_desc->u.tgif_vla_visitor.visitor(&tracer_ctx, app_ctx);
+       status = type_desc->u.side_vla_visitor.visitor(&tracer_ctx, app_ctx);
        switch (status) {
-       case TGIF_VISITOR_STATUS_OK:
+       case SIDE_VISITOR_STATUS_OK:
                break;
-       case TGIF_VISITOR_STATUS_ERROR:
+       case SIDE_VISITOR_STATUS_ERROR:
                fprintf(stderr, "ERROR: Visitor error\n");
                abort();
        }
@@ -1480,9 +1480,9 @@ void tracer_print_vla_visitor(const struct tgif_type *type_desc, void *app_ctx)
 }
 
 static
-void tracer_print_dynamic_struct(const struct tgif_arg_dynamic_struct *dynamic_struct)
+void tracer_print_dynamic_struct(const struct side_arg_dynamic_struct *dynamic_struct)
 {
-       const struct tgif_arg_dynamic_field *fields = dynamic_struct->fields;
+       const struct side_arg_dynamic_field *fields = dynamic_struct->fields;
        uint32_t i, len = dynamic_struct->len;
 
        print_attributes("attr", "::", dynamic_struct->attr, dynamic_struct->nr_attr);
@@ -1502,9 +1502,9 @@ struct tracer_dynamic_struct_visitor_priv {
 };
 
 static
-enum tgif_visitor_status tracer_dynamic_struct_write_elem_cb(
-                       const struct tgif_tracer_dynamic_struct_visitor_ctx *tracer_ctx,
-                       const struct tgif_arg_dynamic_field *dynamic_field)
+enum side_visitor_status tracer_dynamic_struct_write_elem_cb(
+                       const struct side_tracer_dynamic_struct_visitor_ctx *tracer_ctx,
+                       const struct side_arg_dynamic_field *dynamic_field)
 {
        struct tracer_dynamic_struct_visitor_priv *tracer_priv =
                (struct tracer_dynamic_struct_visitor_priv *) tracer_ctx->priv;
@@ -1512,31 +1512,31 @@ enum tgif_visitor_status tracer_dynamic_struct_write_elem_cb(
        printf("%s", tracer_priv->i++ ? ", " : "");
        printf("%s:: ", dynamic_field->field_name);
        tracer_print_dynamic(&dynamic_field->elem);
-       return TGIF_VISITOR_STATUS_OK;
+       return SIDE_VISITOR_STATUS_OK;
 }
 
 static
-void tracer_print_dynamic_struct_visitor(const struct tgif_arg *item)
+void tracer_print_dynamic_struct_visitor(const struct side_arg *item)
 {
-       enum tgif_visitor_status status;
+       enum side_visitor_status status;
        struct tracer_dynamic_struct_visitor_priv tracer_priv = {
                .i = 0,
        };
-       const struct tgif_tracer_dynamic_struct_visitor_ctx tracer_ctx = {
+       const struct side_tracer_dynamic_struct_visitor_ctx tracer_ctx = {
                .write_field = tracer_dynamic_struct_write_elem_cb,
                .priv = &tracer_priv,
        };
-       void *app_ctx = item->u.tgif_dynamic.tgif_dynamic_struct_visitor.app_ctx;
+       void *app_ctx = item->u.side_dynamic.side_dynamic_struct_visitor.app_ctx;
 
-       print_attributes("attr", "::", item->u.tgif_dynamic.tgif_dynamic_struct_visitor.attr, item->u.tgif_dynamic.tgif_dynamic_struct_visitor.nr_attr);
-       printf("%s", item->u.tgif_dynamic.tgif_dynamic_struct_visitor.nr_attr ? ", " : "");
+       print_attributes("attr", "::", item->u.side_dynamic.side_dynamic_struct_visitor.attr, item->u.side_dynamic.side_dynamic_struct_visitor.nr_attr);
+       printf("%s", item->u.side_dynamic.side_dynamic_struct_visitor.nr_attr ? ", " : "");
        printf("fields:: ");
        printf("[ ");
-       status = item->u.tgif_dynamic.tgif_dynamic_struct_visitor.visitor(&tracer_ctx, app_ctx);
+       status = item->u.side_dynamic.side_dynamic_struct_visitor.visitor(&tracer_ctx, app_ctx);
        switch (status) {
-       case TGIF_VISITOR_STATUS_OK:
+       case SIDE_VISITOR_STATUS_OK:
                break;
-       case TGIF_VISITOR_STATUS_ERROR:
+       case SIDE_VISITOR_STATUS_ERROR:
                fprintf(stderr, "ERROR: Visitor error\n");
                abort();
        }
@@ -1544,16 +1544,16 @@ void tracer_print_dynamic_struct_visitor(const struct tgif_arg *item)
 }
 
 static
-void tracer_print_dynamic_vla(const struct tgif_arg_dynamic_vla *vla)
+void tracer_print_dynamic_vla(const struct side_arg_dynamic_vla *vla)
 {
-       const struct tgif_arg *sav = vla->sav;
-       uint32_t i, tgif_sav_len = vla->len;
+       const struct side_arg *sav = vla->sav;
+       uint32_t i, side_sav_len = vla->len;
 
        print_attributes("attr", "::", vla->attr, vla->nr_attr);
        printf("%s", vla->nr_attr ? ", " : "");
        printf("elements:: ");
        printf("[ ");
-       for (i = 0; i < tgif_sav_len; i++) {
+       for (i = 0; i < side_sav_len; i++) {
                printf("%s", i ? ", " : "");
                tracer_print_dynamic(&sav[i]);
        }
@@ -1565,40 +1565,40 @@ struct tracer_dynamic_vla_visitor_priv {
 };
 
 static
-enum tgif_visitor_status tracer_dynamic_vla_write_elem_cb(
-                       const struct tgif_tracer_visitor_ctx *tracer_ctx,
-                       const struct tgif_arg *elem)
+enum side_visitor_status tracer_dynamic_vla_write_elem_cb(
+                       const struct side_tracer_visitor_ctx *tracer_ctx,
+                       const struct side_arg *elem)
 {
        struct tracer_dynamic_vla_visitor_priv *tracer_priv =
                (struct tracer_dynamic_vla_visitor_priv *) tracer_ctx->priv;
 
        printf("%s", tracer_priv->i++ ? ", " : "");
        tracer_print_dynamic(elem);
-       return TGIF_VISITOR_STATUS_OK;
+       return SIDE_VISITOR_STATUS_OK;
 }
 
 static
-void tracer_print_dynamic_vla_visitor(const struct tgif_arg *item)
+void tracer_print_dynamic_vla_visitor(const struct side_arg *item)
 {
-       enum tgif_visitor_status status;
+       enum side_visitor_status status;
        struct tracer_dynamic_vla_visitor_priv tracer_priv = {
                .i = 0,
        };
-       const struct tgif_tracer_visitor_ctx tracer_ctx = {
+       const struct side_tracer_visitor_ctx tracer_ctx = {
                .write_elem = tracer_dynamic_vla_write_elem_cb,
                .priv = &tracer_priv,
        };
-       void *app_ctx = item->u.tgif_dynamic.tgif_dynamic_vla_visitor.app_ctx;
+       void *app_ctx = item->u.side_dynamic.side_dynamic_vla_visitor.app_ctx;
 
-       print_attributes("attr", "::", item->u.tgif_dynamic.tgif_dynamic_vla_visitor.attr, item->u.tgif_dynamic.tgif_dynamic_vla_visitor.nr_attr);
-       printf("%s", item->u.tgif_dynamic.tgif_dynamic_vla_visitor.nr_attr ? ", " : "");
+       print_attributes("attr", "::", item->u.side_dynamic.side_dynamic_vla_visitor.attr, item->u.side_dynamic.side_dynamic_vla_visitor.nr_attr);
+       printf("%s", item->u.side_dynamic.side_dynamic_vla_visitor.nr_attr ? ", " : "");
        printf("elements:: ");
        printf("[ ");
-       status = item->u.tgif_dynamic.tgif_dynamic_vla_visitor.visitor(&tracer_ctx, app_ctx);
+       status = item->u.side_dynamic.side_dynamic_vla_visitor.visitor(&tracer_ctx, app_ctx);
        switch (status) {
-       case TGIF_VISITOR_STATUS_OK:
+       case SIDE_VISITOR_STATUS_OK:
                break;
-       case TGIF_VISITOR_STATUS_ERROR:
+       case SIDE_VISITOR_STATUS_ERROR:
                fprintf(stderr, "ERROR: Visitor error\n");
                abort();
        }
@@ -1606,52 +1606,52 @@ void tracer_print_dynamic_vla_visitor(const struct tgif_arg *item)
 }
 
 static
-void tracer_print_dynamic(const struct tgif_arg *item)
+void tracer_print_dynamic(const struct side_arg *item)
 {
        printf("{ ");
        switch (item->type) {
                /* Dynamic basic types */
-       case TGIF_TYPE_DYNAMIC_NULL:
-               tracer_print_type_header("::", item->u.tgif_dynamic.tgif_null.attr, item->u.tgif_dynamic.tgif_null.nr_attr);
+       case SIDE_TYPE_DYNAMIC_NULL:
+               tracer_print_type_header("::", item->u.side_dynamic.side_null.attr, item->u.side_dynamic.side_null.nr_attr);
                printf("<NULL TYPE>");
                break;
-       case TGIF_TYPE_DYNAMIC_BOOL:
-               tracer_print_type_bool("::", &item->u.tgif_dynamic.tgif_bool.type, &item->u.tgif_dynamic.tgif_bool.value, 0);
+       case SIDE_TYPE_DYNAMIC_BOOL:
+               tracer_print_type_bool("::", &item->u.side_dynamic.side_bool.type, &item->u.side_dynamic.side_bool.value, 0);
                break;
-       case TGIF_TYPE_DYNAMIC_INTEGER:
-               tracer_print_type_integer("::", &item->u.tgif_dynamic.tgif_integer.type, &item->u.tgif_dynamic.tgif_integer.value, 0,
+       case SIDE_TYPE_DYNAMIC_INTEGER:
+               tracer_print_type_integer("::", &item->u.side_dynamic.side_integer.type, &item->u.side_dynamic.side_integer.value, 0,
                                TRACER_DISPLAY_BASE_10);
                break;
-       case TGIF_TYPE_DYNAMIC_BYTE:
-               tracer_print_type_header("::", item->u.tgif_dynamic.tgif_byte.type.attr, item->u.tgif_dynamic.tgif_byte.type.nr_attr);
-               printf("0x%" PRIx8, item->u.tgif_dynamic.tgif_byte.value);
+       case SIDE_TYPE_DYNAMIC_BYTE:
+               tracer_print_type_header("::", item->u.side_dynamic.side_byte.type.attr, item->u.side_dynamic.side_byte.type.nr_attr);
+               printf("0x%" PRIx8, item->u.side_dynamic.side_byte.value);
                break;
-       case TGIF_TYPE_DYNAMIC_POINTER:
-               tracer_print_type_integer("::", &item->u.tgif_dynamic.tgif_integer.type, &item->u.tgif_dynamic.tgif_integer.value, 0,
+       case SIDE_TYPE_DYNAMIC_POINTER:
+               tracer_print_type_integer("::", &item->u.side_dynamic.side_integer.type, &item->u.side_dynamic.side_integer.value, 0,
                                TRACER_DISPLAY_BASE_16);
                break;
-       case TGIF_TYPE_DYNAMIC_FLOAT:
-               tracer_print_type_float("::", &item->u.tgif_dynamic.tgif_float.type,
-                                       &item->u.tgif_dynamic.tgif_float.value);
+       case SIDE_TYPE_DYNAMIC_FLOAT:
+               tracer_print_type_float("::", &item->u.side_dynamic.side_float.type,
+                                       &item->u.side_dynamic.side_float.value);
                break;
-       case TGIF_TYPE_DYNAMIC_STRING:
-               tracer_print_type_header("::", item->u.tgif_dynamic.tgif_string.type.attr, item->u.tgif_dynamic.tgif_string.type.nr_attr);
-               tracer_print_string((const char *)(uintptr_t) item->u.tgif_dynamic.tgif_string.value,
-                               item->u.tgif_dynamic.tgif_string.type.unit_size,
-                               item->u.tgif_dynamic.tgif_string.type.byte_order, NULL);
+       case SIDE_TYPE_DYNAMIC_STRING:
+               tracer_print_type_header("::", item->u.side_dynamic.side_string.type.attr, item->u.side_dynamic.side_string.type.nr_attr);
+               tracer_print_string((const char *)(uintptr_t) item->u.side_dynamic.side_string.value,
+                               item->u.side_dynamic.side_string.type.unit_size,
+                               item->u.side_dynamic.side_string.type.byte_order, NULL);
                break;
 
                /* Dynamic compound types */
-       case TGIF_TYPE_DYNAMIC_STRUCT:
-               tracer_print_dynamic_struct(item->u.tgif_dynamic.tgif_dynamic_struct);
+       case SIDE_TYPE_DYNAMIC_STRUCT:
+               tracer_print_dynamic_struct(item->u.side_dynamic.side_dynamic_struct);
                break;
-       case TGIF_TYPE_DYNAMIC_STRUCT_VISITOR:
+       case SIDE_TYPE_DYNAMIC_STRUCT_VISITOR:
                tracer_print_dynamic_struct_visitor(item);
                break;
-       case TGIF_TYPE_DYNAMIC_VLA:
-               tracer_print_dynamic_vla(item->u.tgif_dynamic.tgif_dynamic_vla);
+       case SIDE_TYPE_DYNAMIC_VLA:
+               tracer_print_dynamic_vla(item->u.side_dynamic.side_dynamic_vla);
                break;
-       case TGIF_TYPE_DYNAMIC_VLA_VISITOR:
+       case SIDE_TYPE_DYNAMIC_VLA_VISITOR:
                tracer_print_dynamic_vla_visitor(item);
                break;
        default:
@@ -1662,52 +1662,52 @@ void tracer_print_dynamic(const struct tgif_arg *item)
 }
 
 static
-void tracer_print_static_fields(const struct tgif_event_description *desc,
-               const struct tgif_arg_vec *tgif_arg_vec,
+void tracer_print_static_fields(const struct side_event_description *desc,
+               const struct side_arg_vec *side_arg_vec,
                uint32_t *nr_items)
 {
-       const struct tgif_arg *sav = tgif_arg_vec->sav;
-       uint32_t i, tgif_sav_len = tgif_arg_vec->len;
+       const struct side_arg *sav = side_arg_vec->sav;
+       uint32_t i, side_sav_len = side_arg_vec->len;
 
        printf("provider: %s, event: %s", desc->provider_name, desc->event_name);
-       if (desc->nr_fields != tgif_sav_len) {
+       if (desc->nr_fields != side_sav_len) {
                fprintf(stderr, "ERROR: number of fields mismatch between description and arguments\n");
                abort();
        }
        print_attributes(", attr", ":", desc->attr, desc->nr_attr);
-       printf("%s", tgif_sav_len ? ", fields: [ " : "");
-       for (i = 0; i < tgif_sav_len; i++) {
+       printf("%s", side_sav_len ? ", fields: [ " : "");
+       for (i = 0; i < side_sav_len; i++) {
                printf("%s", i ? ", " : "");
                tracer_print_field(&desc->fields[i], &sav[i]);
        }
        if (nr_items)
                *nr_items = i;
-       if (tgif_sav_len)
+       if (side_sav_len)
                printf(" ]");
 }
 
 static
-void tracer_call(const struct tgif_event_description *desc,
-               const struct tgif_arg_vec *tgif_arg_vec,
+void tracer_call(const struct side_event_description *desc,
+               const struct side_arg_vec *side_arg_vec,
                void *priv __attribute__((unused)))
 {
        uint32_t nr_fields = 0;
 
-       tracer_print_static_fields(desc, tgif_arg_vec, &nr_fields);
+       tracer_print_static_fields(desc, side_arg_vec, &nr_fields);
        printf("\n");
 }
 
 static
-void tracer_call_variadic(const struct tgif_event_description *desc,
-               const struct tgif_arg_vec *tgif_arg_vec,
-               const struct tgif_arg_dynamic_struct *var_struct,
+void tracer_call_variadic(const struct side_event_description *desc,
+               const struct side_arg_vec *side_arg_vec,
+               const struct side_arg_dynamic_struct *var_struct,
                void *priv __attribute__((unused)))
 {
        uint32_t nr_fields = 0, i, var_struct_len = var_struct->len;
 
-       tracer_print_static_fields(desc, tgif_arg_vec, &nr_fields);
+       tracer_print_static_fields(desc, side_arg_vec, &nr_fields);
 
-       if (tgif_unlikely(!(desc->flags & TGIF_EVENT_FLAG_VARIADIC))) {
+       if (side_unlikely(!(desc->flags & SIDE_EVENT_FLAG_VARIADIC))) {
                fprintf(stderr, "ERROR: unexpected non-variadic event description\n");
                abort();
        }
@@ -1724,8 +1724,8 @@ void tracer_call_variadic(const struct tgif_event_description *desc,
 }
 
 static
-void tracer_event_notification(enum tgif_tracer_notification notif,
-               struct tgif_event_description **events, uint32_t nr_events,
+void tracer_event_notification(enum side_tracer_notification notif,
+               struct side_event_description **events, uint32_t nr_events,
                void *priv __attribute__((unused)))
 {
        uint32_t i;
@@ -1733,32 +1733,32 @@ void tracer_event_notification(enum tgif_tracer_notification notif,
 
        printf("----------------------------------------------------------\n");
        printf("Tracer notified of events %s\n",
-               notif == TGIF_TRACER_NOTIFICATION_INSERT_EVENTS ? "inserted" : "removed");
+               notif == SIDE_TRACER_NOTIFICATION_INSERT_EVENTS ? "inserted" : "removed");
        for (i = 0; i < nr_events; i++) {
-               struct tgif_event_description *event = events[i];
+               struct side_event_description *event = events[i];
 
                /* Skip NULL pointers */
                if (!event)
                        continue;
                printf("provider: %s, event: %s\n",
                        event->provider_name, event->event_name);
-               if  (notif == TGIF_TRACER_NOTIFICATION_INSERT_EVENTS) {
-                       if (event->flags & TGIF_EVENT_FLAG_VARIADIC) {
-                               ret = tgif_tracer_callback_variadic_register(event, tracer_call_variadic, NULL);
+               if  (notif == SIDE_TRACER_NOTIFICATION_INSERT_EVENTS) {
+                       if (event->flags & SIDE_EVENT_FLAG_VARIADIC) {
+                               ret = side_tracer_callback_variadic_register(event, tracer_call_variadic, NULL);
                                if (ret)
                                        abort();
                        } else {
-                               ret = tgif_tracer_callback_register(event, tracer_call, NULL);
+                               ret = side_tracer_callback_register(event, tracer_call, NULL);
                                if (ret)
                                        abort();
                        }
                } else {
-                       if (event->flags & TGIF_EVENT_FLAG_VARIADIC) {
-                               ret = tgif_tracer_callback_variadic_unregister(event, tracer_call_variadic, NULL);
+                       if (event->flags & SIDE_EVENT_FLAG_VARIADIC) {
+                               ret = side_tracer_callback_variadic_unregister(event, tracer_call_variadic, NULL);
                                if (ret)
                                        abort();
                        } else {
-                               ret = tgif_tracer_callback_unregister(event, tracer_call, NULL);
+                               ret = side_tracer_callback_unregister(event, tracer_call, NULL);
                                if (ret)
                                        abort();
                        }
@@ -1772,7 +1772,7 @@ void tracer_init(void);
 static
 void tracer_init(void)
 {
-       tracer_handle = tgif_tracer_event_notification_register(tracer_event_notification, NULL);
+       tracer_handle = side_tracer_event_notification_register(tracer_event_notification, NULL);
        if (!tracer_handle)
                abort();
 }
@@ -1782,5 +1782,5 @@ void tracer_exit(void);
 static
 void tracer_exit(void)
 {
-       tgif_tracer_event_notification_unregister(tracer_handle);
+       side_tracer_event_notification_unregister(tracer_handle);
 }
This page took 0.067983 seconds and 4 git commands to generate.