projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
filter by facility
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
traceset.c
diff --git
a/ltt/branches/poly/lttv/lttv/traceset.c
b/ltt/branches/poly/lttv/lttv/traceset.c
index a190486a0ceeaae5f7915afa1a6e6cfe3307283d..181bdd53430de5739316262bc618ebc1e29a2d40 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/traceset.c
+++ b/
ltt/branches/poly/lttv/lttv/traceset.c
@@
-16,6
+16,9
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <lttv/traceset.h>
#include <lttv/iattribute.h>
#include <lttv/traceset.h>
#include <lttv/iattribute.h>
@@
-203,7
+206,7
@@
guint lttv_trace_ref(LttvTrace * t)
guint lttv_trace_unref(LttvTrace * t)
{
guint lttv_trace_unref(LttvTrace * t)
{
- if(
t->ref_count > 0
)
+ if(
likely(t->ref_count > 0)
)
t->ref_count--;
return t->ref_count;
t->ref_count--;
return t->ref_count;
This page took
0.022442 seconds
and
4
git commands to generate.