projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
422138c
)
Change ust app clean list loop
author
David Goulet
<david.goulet@polymtl.ca>
Mon, 28 Nov 2011 19:57:12 +0000
(14:57 -0500)
committer
David Goulet
<david.goulet@polymtl.ca>
Mon, 28 Nov 2011 19:57:12 +0000
(14:57 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
lttng-sessiond/ust-app.c
patch
|
blob
|
blame
|
history
diff --git
a/lttng-sessiond/ust-app.c
b/lttng-sessiond/ust-app.c
index d36cf8893535a24f8583638e25f342b2e33f05b7..51ae71c4f1f0c94319d7b0edad7bf99881d46386 100644
(file)
--- a/
lttng-sessiond/ust-app.c
+++ b/
lttng-sessiond/ust-app.c
@@
-1160,9
+1160,7
@@
void ust_app_clean_list(void)
rcu_read_lock();
- cds_lfht_for_each(ust_app_ht, &iter, node) {
- app = caa_container_of(node, struct ust_app, node);
-
+ cds_lfht_for_each_entry(ust_app_ht, &iter, app, node) {
ret = hashtable_del(ust_app_ht, &iter);
if (!ret) {
call_rcu(&node->head, delete_ust_app_rcu);
This page took
0.026921 seconds
and
4
git commands to generate.