projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ltt-ascii init fix, renaming CONFIG_LTT_* options to LTT_*
[lttng-modules.git]
/
ltt-relay-lockless.c
diff --git
a/ltt-relay-lockless.c
b/ltt-relay-lockless.c
index 0c4c83c25b95631bf24e18fcf4856895397e78f4..db4362d45569801055c3f187720592146dd5e97c 100644
(file)
--- a/
ltt-relay-lockless.c
+++ b/
ltt-relay-lockless.c
@@
-121,7
+121,7
@@
void ltt_chanbuf_free(struct ltt_chanbuf *buf)
struct ltt_chan *chan = container_of(buf->a.chan, struct ltt_chan, a);
ltt_relay_print_buffer_errors(chan, buf->a.cpu);
struct ltt_chan *chan = container_of(buf->a.chan, struct ltt_chan, a);
ltt_relay_print_buffer_errors(chan, buf->a.cpu);
-#ifdef
CONFIG_
LTT_VMCORE
+#ifdef LTT_VMCORE
kfree(buf->commit_seq);
#endif
kfree(buf->commit_count);
kfree(buf->commit_seq);
#endif
kfree(buf->commit_count);
@@
-157,7
+157,7
@@
int ltt_chanbuf_create(struct ltt_chanbuf *buf, struct ltt_chan_alloc *chana,
goto free_chanbuf;
}
goto free_chanbuf;
}
-#ifdef
CONFIG_
LTT_VMCORE
+#ifdef LTT_VMCORE
buf->commit_seq =
kzalloc_node(ALIGN(sizeof(*buf->commit_seq) * chan->a.n_sb,
1 << INTERNODE_CACHE_SHIFT),
buf->commit_seq =
kzalloc_node(ALIGN(sizeof(*buf->commit_seq) * chan->a.n_sb,
1 << INTERNODE_CACHE_SHIFT),
@@
-208,7
+208,7
@@
int ltt_chanbuf_create(struct ltt_chanbuf *buf, struct ltt_chan_alloc *chana,
/* Error handling */
free_init:
/* Error handling */
free_init:
-#ifdef
CONFIG_
LTT_VMCORE
+#ifdef LTT_VMCORE
kfree(buf->commit_seq);
free_commit:
#endif
kfree(buf->commit_seq);
free_commit:
#endif
This page took
0.023843 seconds
and
4
git commands to generate.