projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: RCU read-side lock released too early in destroy_agent_app
[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 0cba8a334e54609df98d5e615662d68a73654c70..77d4d919518fa1a9cb2eb71eabd4f0ed85e9d108 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry.h
+++ b/
src/bin/lttng-sessiond/ust-registry.h
@@
-66,6
+66,12
@@
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;
+
+ char root_shm_path[PATH_MAX];
+ char shm_path[PATH_MAX];
+ char metadata_path[PATH_MAX];
+ int metadata_fd; /* file-backed metadata FD */
+
/*
* Hash table containing channels sent by the UST tracer. MUST
* be accessed with a RCU read side lock acquired.
/*
* Hash table containing channels sent by the UST tracer. MUST
* be accessed with a RCU read side lock acquired.
@@
-81,6
+87,10
@@
struct ust_registry_session {
* deletes its sessions.
*/
unsigned int metadata_closed;
* deletes its sessions.
*/
unsigned int metadata_closed;
+
+ /* User and group owning the session. */
+ uid_t uid;
+ gid_t gid;
};
struct ust_registry_channel {
};
struct ust_registry_channel {
@@
-225,7
+235,11
@@
int ust_registry_session_init(struct ust_registry_session **sessionp,
uint32_t long_alignment,
int byte_order,
uint32_t major,
uint32_t long_alignment,
int byte_order,
uint32_t major,
- uint32_t minor);
+ uint32_t minor,
+ const char *root_shm_path,
+ const char *shm_path,
+ uid_t euid,
+ gid_t egid);
void ust_registry_session_destroy(struct ust_registry_session *session);
int ust_registry_create_event(struct ust_registry_session *session,
void ust_registry_session_destroy(struct ust_registry_session *session);
int ust_registry_create_event(struct ust_registry_session *session,
This page took
0.026222 seconds
and
4
git commands to generate.