projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: lttng-sessiond: cpu hotplug: send channel to consumer only once
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
trace-kernel.h
diff --git
a/src/bin/lttng-sessiond/trace-kernel.h
b/src/bin/lttng-sessiond/trace-kernel.h
index b9bcbfa77d242d46637e229d552943819b1be371..93870cbfd6509f98e92b3ff4a4bbb5638c09aaf2 100644
(file)
--- a/
src/bin/lttng-sessiond/trace-kernel.h
+++ b/
src/bin/lttng-sessiond/trace-kernel.h
@@
-71,6
+71,7
@@
struct ltt_kernel_channel {
struct cds_list_head list;
/* Session pointer which has a reference to this object. */
struct ltt_kernel_session *session;
struct cds_list_head list;
/* Session pointer which has a reference to this object. */
struct ltt_kernel_session *session;
+ bool sent_to_consumer;
};
/* Metadata */
};
/* Metadata */
@@
-84,6
+85,7
@@
struct ltt_kernel_stream {
int fd;
int state;
int cpu;
int fd;
int state;
int cpu;
+ bool sent_to_consumer;
/* Format is %s_%d respectively channel name and CPU number. */
char name[DEFAULT_STREAM_NAME_LEN];
uint64_t tracefile_size;
/* Format is %s_%d respectively channel name and CPU number. */
char name[DEFAULT_STREAM_NAME_LEN];
uint64_t tracefile_size;
This page took
0.025632 seconds
and
5
git commands to generate.