projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move LTTng-UST buffer ownership from application to consumer
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.c
diff --git
a/src/bin/lttng-sessiond/trace-kernel.c
b/src/bin/lttng-sessiond/trace-kernel.c
index d3742be16e944c55adac4ab339bb021854b5ef96..48be065765b2a548892bd534cea6cb0ec8c1df10 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.c
+++ b/
src/bin/lttng-sessiond/trace-kernel.c
@@
-109,7
+109,7
@@
struct ltt_kernel_session *trace_kernel_create_session(char *path)
*/
lks->tmp_consumer = NULL;
- if (
path && strlen(path) > 0
) {
+ if (
*path != '\0'
) {
int ret;
/* Use the default consumer output which is the tracing session path. */
@@
-319,6
+319,7
@@
struct ltt_kernel_stream *trace_kernel_create_stream(const char *name,
/* Init stream */
lks->fd = -1;
lks->state = 0;
+ lks->cpu = count;
return lks;
This page took
0.025298 seconds
and
4
git commands to generate.