projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sessiond: ust: conditionally enable the underscore prefix variant quirk
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
ust-registry.cpp
diff --git
a/src/bin/lttng-sessiond/ust-registry.cpp
b/src/bin/lttng-sessiond/ust-registry.cpp
index 2a7d6217a501b605eca4dd50c763b3d94025f5e7..a6ceece9882dad64dfd20606eb2148446bad05e4 100644
(file)
--- a/
src/bin/lttng-sessiond/ust-registry.cpp
+++ b/
src/bin/lttng-sessiond/ust-registry.cpp
@@
-33,11
+33,10
@@
namespace lsu = lttng::sessiond::ust;
*/
static void ust_registry_event_destroy_rcu(struct rcu_head *head)
{
*/
static void ust_registry_event_destroy_rcu(struct rcu_head *head)
{
- struct lttng_ht_node_u64 *node = lttng::utils::container_of(head, <tng_ht_node_u64::head);
DIAGNOSTIC_PUSH
DIAGNOSTIC_IGNORE_INVALID_OFFSETOF
lttng::sessiond::ust::registry_event *event =
DIAGNOSTIC_PUSH
DIAGNOSTIC_IGNORE_INVALID_OFFSETOF
lttng::sessiond::ust::registry_event *event =
- lttng::utils::container_of(
node, <tng::sessiond::ust::registry_event::_node
);
+ lttng::utils::container_of(
head, <tng::sessiond::ust::registry_event::_head
);
DIAGNOSTIC_POP
lttng::sessiond::ust::registry_event_destroy(event);
DIAGNOSTIC_POP
lttng::sessiond::ust::registry_event_destroy(event);
@@
-58,11
+57,11
@@
void ust_registry_channel_destroy_event(lsu::registry_channel *chan,
ASSERT_RCU_READ_LOCKED();
/* Delete the node first. */
ASSERT_RCU_READ_LOCKED();
/* Delete the node first. */
- iter.iter.node = &event->_node
.node
;
+ iter.iter.node = &event->_node;
ret = lttng_ht_del(chan->_events, &iter);
LTTNG_ASSERT(!ret);
ret = lttng_ht_del(chan->_events, &iter);
LTTNG_ASSERT(!ret);
- call_rcu(&event->_
node.
head, ust_registry_event_destroy_rcu);
+ call_rcu(&event->_head, ust_registry_event_destroy_rcu);
return;
}
return;
}
This page took
0.02362 seconds
and
4
git commands to generate.