projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove private babeltrace.h
[babeltrace.git]
/
src
/
plugins
/
utils
/
counter
/
counter.c
diff --git
a/src/plugins/utils/counter/counter.c
b/src/plugins/utils/counter/counter.c
index 37ddd0306edb95af3989621332b53ddb10db63d1..200b9aa752866a68ba96443df5f78f787de902fb 100644
(file)
--- a/
src/plugins/utils/counter/counter.c
+++ b/
src/plugins/utils/counter/counter.c
@@
-24,7
+24,7
@@
#include "logging.h"
#include <babeltrace2/babeltrace.h>
#include "logging.h"
#include <babeltrace2/babeltrace.h>
-#include "common/
babeltrace
.h"
+#include "common/
macros
.h"
#include "common/common.h"
#include "plugins/plugins-common.h"
#include "common/assert.h"
#include "common/common.h"
#include "plugins/plugins-common.h"
#include "common/assert.h"
@@
-236,7
+236,7
@@
bt_self_component_status counter_consume(
bt_self_component_sink_as_self_component(comp));
BT_ASSERT(counter);
bt_self_component_sink_as_self_component(comp));
BT_ASSERT(counter);
- if (
unlikely
(!counter->msg_iter)) {
+ if (
G_UNLIKELY
(!counter->msg_iter)) {
try_print_last(counter);
ret = BT_SELF_COMPONENT_STATUS_END;
goto end;
try_print_last(counter);
ret = BT_SELF_COMPONENT_STATUS_END;
goto end;
This page took
0.026123 seconds
and
4
git commands to generate.