#define BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
/*
- * Babeltrace - Internal Trace IR utilities
- *
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
*/
#include <babeltrace/babeltrace-internal.h>
-#include <babeltrace/trace-ir/field-types.h>
+#include <babeltrace/trace-ir/field-classes.h>
#include <babeltrace/trace-ir/clock-class-internal.h>
#include <stdint.h>
}
static inline
-int bt_util_ns_from_origin(struct bt_clock_class *clock_class, uint64_t value,
- int64_t *ns_from_origin)
+int bt_util_ns_from_origin(const struct bt_clock_class *clock_class,
+ uint64_t value, int64_t *ns_from_origin)
{
int ret = 0;
uint64_t value_ns_unsigned;