#define BABELTRACE2_UTIL_H
/*
- * Copyright (c) 2015-2018 Philippe Proulx <pproulx@efficios.com>
+ * Copyright (c) 2010-2019 EfficiOS Inc. and Linux Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
#ifdef __cplusplus
typedef enum bt_util_status {
BT_UTIL_STATUS_OK = 0,
- BT_UTIL_STATUS_OVERFLOW = -75,
+ BT_UTIL_STATUS_OVERFLOW_ERROR = -75,
} bt_util_status;
bt_util_status bt_util_clock_cycles_to_ns_from_origin(uint64_t cycles,