projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unneeded RCU lock
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
agent.c
diff --git
a/src/bin/lttng-sessiond/agent.c
b/src/bin/lttng-sessiond/agent.c
index d1e6723337c2a809100124e6762a730816218974..ca2d4c872931632f4e5d46cb9c6b17b6b3d0d8ed 100644
(file)
--- a/
src/bin/lttng-sessiond/agent.c
+++ b/
src/bin/lttng-sessiond/agent.c
@@
-716,10
+716,7
@@
void agent_add_app(struct agent_app *app)
assert(app);
DBG3("Agent adding app sock: %d and pid: %d to ht", app->sock->fd, app->pid);
assert(app);
DBG3("Agent adding app sock: %d and pid: %d to ht", app->sock->fd, app->pid);
-
- rcu_read_lock();
lttng_ht_add_unique_ulong(agent_apps_ht_by_sock, &app->node);
lttng_ht_add_unique_ulong(agent_apps_ht_by_sock, &app->node);
- rcu_read_unlock();
}
/*
}
/*
@@
-792,9
+789,7
@@
void agent_add(struct agent *agt, struct lttng_ht *ht)
DBG3("Agent adding from domain %d", agt->domain);
DBG3("Agent adding from domain %d", agt->domain);
- rcu_read_lock();
lttng_ht_add_unique_u64(ht, &agt->node);
lttng_ht_add_unique_u64(ht, &agt->node);
- rcu_read_unlock();
}
/*
}
/*
@@
-958,6
+953,7
@@
void agent_destroy_event(struct agent_event *event)
assert(event);
free(event->filter);
assert(event);
free(event->filter);
+ free(event->filter_expression);
free(event);
}
free(event);
}
This page took
0.025114 seconds
and
4
git commands to generate.