projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: send per-pid session id in channel creation
[lttng-tools.git]
/
src
/
common
/
consumer.h
diff --git
a/src/common/consumer.h
b/src/common/consumer.h
index f804b7260ce7e6d013eb55ff36c90487930562e3..ca567d7ff8844dcdb99b5aab0bb20bf4897e4256 100644
(file)
--- a/
src/common/consumer.h
+++ b/
src/common/consumer.h
@@
-106,6
+106,11
@@
struct lttng_consumer_channel {
int refcount;
/* Tracing session id on the session daemon side. */
uint64_t session_id;
int refcount;
/* Tracing session id on the session daemon side. */
uint64_t session_id;
+ /*
+ * Session id when requesting metadata to the session daemon for
+ * a session with per-PID buffers.
+ */
+ uint64_t session_id_per_pid;
/* Channel trace file path name. */
char pathname[PATH_MAX];
/* Channel name. */
/* Channel trace file path name. */
char pathname[PATH_MAX];
/* Channel name. */
@@
-493,6
+498,7
@@
struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
enum lttng_event_output output,
uint64_t tracefile_size,
uint64_t tracefile_count,
enum lttng_event_output output,
uint64_t tracefile_size,
uint64_t tracefile_count,
+ uint64_t session_id_per_pid,
unsigned int monitor);
void consumer_del_stream(struct lttng_consumer_stream *stream,
struct lttng_ht *ht);
unsigned int monitor);
void consumer_del_stream(struct lttng_consumer_stream *stream,
struct lttng_ht *ht);
This page took
0.023848 seconds
and
4
git commands to generate.