projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clean-up: sessiond: rename public accessors
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-app.cpp
diff --git
a/src/bin/lttng-sessiond/ust-app.cpp
b/src/bin/lttng-sessiond/ust-app.cpp
index 11d604ea9a463e7c32126b5189e46707e74f7ce1..ec8aa1c39ca7e4dd270c2d828e248a8f6b1dfd73 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-app.cpp
+++ b/
src/bin/lttng-sessiond/ust-app.cpp
@@
-3454,7
+3454,7
@@
static int create_channel_per_uid(struct ust_app *app,
{
auto locked_registry = reg_uid->registry->reg.ust->lock();
{
auto locked_registry = reg_uid->registry->reg.ust->lock();
- auto& ust_reg_chan = locked_registry->
get_
channel(ua_chan->tracing_channel_id);
+ auto& ust_reg_chan = locked_registry->channel(ua_chan->tracing_channel_id);
ust_reg_chan._consumer_key = ua_chan->key;
}
ust_reg_chan._consumer_key = ua_chan->key;
}
@@
-3554,7
+3554,7
@@
static int create_channel_per_pid(struct ust_app *app,
{
auto locked_registry = registry->lock();
{
auto locked_registry = registry->lock();
- auto& ust_reg_chan = locked_registry->
get_
channel(chan_reg_key);
+ auto& ust_reg_chan = locked_registry->channel(chan_reg_key);
ust_reg_chan._consumer_key = ua_chan->key;
}
ust_reg_chan._consumer_key = ua_chan->key;
}
@@
-6408,7
+6408,7
@@
static int handle_app_register_channel_notification(int sock,
chan_reg_key = ua_chan->key;
}
chan_reg_key = ua_chan->key;
}
- auto& ust_reg_chan = locked_registry_session->
get_
channel(chan_reg_key);
+ auto& ust_reg_chan = locked_registry_session->channel(chan_reg_key);
/* Channel id is set during the object creation. */
chan_id = ust_reg_chan.id;
/* Channel id is set during the object creation. */
chan_id = ust_reg_chan.id;
@@
-6439,14
+6439,14
@@
static int handle_app_register_channel_notification(int sock,
0, std::move(app_context_fields)) :
nullptr;
0, std::move(app_context_fields)) :
nullptr;
- ust_reg_chan.
set_
event_context(std::move(event_context));
+ ust_reg_chan.event_context(std::move(event_context));
} else {
/*
* Validate that the context fields match between
* registry and newcoming application.
*/
bool context_fields_match;
} else {
/*
* Validate that the context fields match between
* registry and newcoming application.
*/
bool context_fields_match;
- const auto *previous_event_context = ust_reg_chan.
get_
event_context();
+ const auto *previous_event_context = ust_reg_chan.event_context();
if (!previous_event_context) {
context_fields_match = app_context_fields.size() == 0;
if (!previous_event_context) {
context_fields_match = app_context_fields.size() == 0;
@@
-6559,7
+6559,7
@@
static int add_event_ust_registry(int sock, int sobjd, int cobjd, const char *na
* These three variables MUST NOT be read/write after this.
*/
try {
* These three variables MUST NOT be read/write after this.
*/
try {
- auto& channel = locked_registry->
get_
channel(chan_reg_key);
+ auto& channel = locked_registry->channel(chan_reg_key);
/* event_id is set on success. */
channel.add_event(sobjd, cobjd, name, signature.get(),
/* event_id is set on success. */
channel.add_event(sobjd, cobjd, name, signature.get(),
This page took
0.025364 seconds
and
4
git commands to generate.