list_add(&desc->head, probe_list);
desc_added:
pr_debug("LTTng: just registered probe %s containing %u events\n",
list_add(&desc->head, probe_list);
desc_added:
pr_debug("LTTng: just registered probe %s containing %u events\n",
struct list_head *probe_list;
probe_list = lttng_get_probe_list_head();
list_for_each_entry(iter, probe_list, head) {
struct list_head *probe_list;
probe_list = lttng_get_probe_list_head();
list_for_each_entry(iter, probe_list, head) {
ret = -EEXIST;
goto end;
}
list_add(&desc->lazy_init_head, &lazy_probe_init);
desc->lazy = 1;
pr_debug("LTTng: adding probe %s containing %u events to lazy registration list\n",
ret = -EEXIST;
goto end;
}
list_add(&desc->lazy_init_head, &lazy_probe_init);
desc->lazy = 1;
pr_debug("LTTng: adding probe %s containing %u events to lazy registration list\n",
/*
* If there is at least one active session, we need to register
* the probe immediately, since we cannot delay event
* registration because they are needed ASAP.
*/
/*
* If there is at least one active session, we need to register
* the probe immediately, since we cannot delay event
* registration because they are needed ASAP.
*/
int i;
list_for_each_entry(probe_desc, &_probe_list, head) {
for (i = 0; i < probe_desc->nr_events; i++) {
int i;
list_for_each_entry(probe_desc, &_probe_list, head) {
for (i = 0; i < probe_desc->nr_events; i++) {