projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: illegal memory access in output_init
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-registry.h
diff --git
a/src/bin/lttng-sessiond/ust-registry.h
b/src/bin/lttng-sessiond/ust-registry.h
index a8466ebf58c64c9260968e77a8e0573925f9b959..2697cf2ecc7e85bad6579a0ca8c1757a7f8d37aa 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry.h
+++ b/
src/bin/lttng-sessiond/ust-registry.h
@@
-68,6
+68,8
@@
struct ust_registry_session {
size_t metadata_len, metadata_alloc_len;
/* Length of bytes sent to the consumer. */
size_t metadata_len_sent;
size_t metadata_len, metadata_alloc_len;
/* Length of bytes sent to the consumer. */
size_t metadata_len_sent;
+ /* Current version of the metadata. */
+ uint64_t metadata_version;
char root_shm_path[PATH_MAX];
char shm_path[PATH_MAX];
char root_shm_path[PATH_MAX];
char shm_path[PATH_MAX];
@@
-96,6
+98,13
@@
struct ust_registry_session {
/* Enumerations table. */
struct lttng_ht *enums;
/* Enumerations table. */
struct lttng_ht *enums;
+
+ /*
+ * Copy of the tracer version when the first app is registered.
+ * It is used if we need to regenerate the metadata.
+ */
+ uint32_t major;
+ uint32_t minor;
};
struct ust_registry_channel {
};
struct ust_registry_channel {
@@
-345,7
+354,7
@@
void ust_registry_destroy_event(struct ust_registry_channel *chan,
/* The app object can be NULL for registry shared across applications. */
static inline
int ust_metadata_session_statedump(struct ust_registry_session *session,
/* The app object can be NULL for registry shared across applications. */
static inline
int ust_metadata_session_statedump(struct ust_registry_session *session,
- struct ust_app *app)
+ struct ust_app *app
, uint32_t major, uint32_t minor
)
{
return 0;
}
{
return 0;
}
This page took
0.025177 seconds
and
4
git commands to generate.