projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support flight recorder mode for a session
[lttng-tools.git]
/
src
/
common
/
consumer.c
diff --git
a/src/common/consumer.c
b/src/common/consumer.c
index b9b5818808203332f220d97f21a23b30dff982b6..e3b6cd5bfd3d3673063b12c0d1900808a5258758 100644
(file)
--- a/
src/common/consumer.c
+++ b/
src/common/consumer.c
@@
-747,7
+747,8
@@
struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
uint64_t relayd_id,
enum lttng_event_output output,
uint64_t tracefile_size,
uint64_t relayd_id,
enum lttng_event_output output,
uint64_t tracefile_size,
- uint64_t tracefile_count)
+ uint64_t tracefile_count,
+ unsigned int monitor)
{
struct lttng_consumer_channel *channel;
{
struct lttng_consumer_channel *channel;
@@
-766,6
+767,7
@@
struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
channel->output = output;
channel->tracefile_size = tracefile_size;
channel->tracefile_count = tracefile_count;
channel->output = output;
channel->tracefile_size = tracefile_size;
channel->tracefile_count = tracefile_count;
+ channel->monitor = monitor;
strncpy(channel->pathname, pathname, sizeof(channel->pathname));
channel->pathname[sizeof(channel->pathname) - 1] = '\0';
strncpy(channel->pathname, pathname, sizeof(channel->pathname));
channel->pathname[sizeof(channel->pathname) - 1] = '\0';
This page took
0.025227 seconds
and
5
git commands to generate.