projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: Add missing include on macOs
[babeltrace.git]
/
src
/
lib
/
graph
/
graph.h
diff --git
a/src/lib/graph/graph.h
b/src/lib/graph/graph.h
index c41d13162e91e03aee7cb1428480c1d1d07b7562..b3b178c647bf4e9ae9b49aa2af3bab96067b9762 100644
(file)
--- a/
src/lib/graph/graph.h
+++ b/
src/lib/graph/graph.h
@@
-26,10
+26,11
@@
#include <babeltrace2/graph/graph.h>
#include <babeltrace2/graph/message-const.h>
#include <babeltrace2/graph/graph.h>
#include <babeltrace2/graph/message-const.h>
-#include "common/
babeltrace
.h"
+#include "common/
macros
.h"
#include "lib/object.h"
#include "lib/object-pool.h"
#include "common/assert.h"
#include "lib/object.h"
#include "lib/object-pool.h"
#include "common/assert.h"
+#include "common/common.h"
#include <stdlib.h>
#include <glib.h>
#include <stdlib.h>
#include <glib.h>
@@
-182,8
+183,6
@@
const char *bt_graph_status_string(enum bt_graph_status status)
return "BT_GRAPH_STATUS_OK";
case BT_GRAPH_STATUS_ERROR:
return "BT_GRAPH_STATUS_ERROR";
return "BT_GRAPH_STATUS_OK";
case BT_GRAPH_STATUS_ERROR:
return "BT_GRAPH_STATUS_ERROR";
- case BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION:
- return "BT_GRAPH_STATUS_COMPONENT_REFUSES_PORT_CONNECTION";
case BT_GRAPH_STATUS_NOMEM:
return "BT_GRAPH_STATUS_NOMEM";
default:
case BT_GRAPH_STATUS_NOMEM:
return "BT_GRAPH_STATUS_NOMEM";
default:
@@
-215,7
+214,7
@@
enum bt_graph_status bt_graph_configure(struct bt_graph *graph)
BT_ASSERT(graph->config_state != BT_GRAPH_CONFIGURATION_STATE_FAULTY);
BT_ASSERT(graph->config_state != BT_GRAPH_CONFIGURATION_STATE_FAULTY);
- if (
likely
(graph->config_state ==
+ if (
G_LIKELY
(graph->config_state ==
BT_GRAPH_CONFIGURATION_STATE_CONFIGURED)) {
goto end;
}
BT_GRAPH_CONFIGURATION_STATE_CONFIGURED)) {
goto end;
}
@@
-292,8
+291,8
@@
static inline
void bt_graph_make_faulty(struct bt_graph *graph)
{
graph->config_state = BT_GRAPH_CONFIGURATION_STATE_FAULTY;
void bt_graph_make_faulty(struct bt_graph *graph)
{
graph->config_state = BT_GRAPH_CONFIGURATION_STATE_FAULTY;
-#ifdef BT_LIB_LOG
D
- BT_LIB_LOG
D
("Set graph's state to faulty: %![graph-]+g", graph);
+#ifdef BT_LIB_LOG
I
+ BT_LIB_LOG
I
("Set graph's state to faulty: %![graph-]+g", graph);
#endif
}
#endif
}
This page took
0.02497 seconds
and
4
git commands to generate.