projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add type-checked versions of allocation and deallocations functions
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
snapshot.cpp
diff --git
a/src/bin/lttng-sessiond/snapshot.cpp
b/src/bin/lttng-sessiond/snapshot.cpp
index 727dc5db8967bad758a7ac11ed4d6611967cb2d7..1601f17ccc2f0918f1bb81b0c6cc0fe00796ca23 100644
(file)
--- a/
src/bin/lttng-sessiond/snapshot.cpp
+++ b/
src/bin/lttng-sessiond/snapshot.cpp
@@
-10,10
+10,10
@@
#include <string.h>
#include <urcu/uatomic.h>
#include <string.h>
#include <urcu/uatomic.h>
-#include <common/defaults.h>
+#include <common/defaults.h
pp
>
-#include "snapshot.h"
-#include "utils.h"
+#include "snapshot.h
pp
"
+#include "utils.h
pp
"
/*
* Return the atomically incremented value of next_output_id.
/*
* Return the atomically incremented value of next_output_id.
@@
-165,7
+165,7
@@
error:
struct snapshot_output *snapshot_output_alloc(void)
{
struct snapshot_output *snapshot_output_alloc(void)
{
- return
(snapshot_output *) zmalloc(sizeof(struct snapshot_output)
);
+ return
zmalloc<snapshot_output>(
);
}
/*
}
/*
This page took
0.026003 seconds
and
4
git commands to generate.