* loglevel from the list. The session teardown will take care
* of freeing the event memory.
*/
- cds_list_for_each_entry_safe(ev, tmp, &loglevel->events, list) {
- cds_list_del(&ev->list);
+ cds_list_for_each_entry_safe(ev, tmp, &loglevel->events,
+ loglevel_list) {
+ cds_list_del(&ev->loglevel_list);
}
cds_list_del(&loglevel->session_list);
cds_list_del(&loglevel->list);
if (loglevel->enabled)
return -EEXIST;
- cds_list_for_each_entry(ev, &loglevel->events, list) {
+ cds_list_for_each_entry(ev, &loglevel->events, loglevel_list) {
ret = ltt_event_enable(ev);
if (ret) {
DBG("Error: enable error.\n");
if (!loglevel->enabled)
return -EEXIST;
- cds_list_for_each_entry(ev, &loglevel->events, list) {
+ cds_list_for_each_entry(ev, &loglevel->events, loglevel_list) {
ret = ltt_event_disable(ev);
if (ret) {
DBG("Error: disable error.\n");
* wildcard from the list. The session teardown will take care
* of freeing the event memory.
*/
- cds_list_for_each_entry_safe(ev, tmp, &wildcard->events, list) {
- cds_list_del(&ev->list);
+ cds_list_for_each_entry_safe(ev, tmp, &wildcard->events,
+ wildcard_list) {
+ cds_list_del(&ev->wildcard_list);
}
cds_list_del(&wildcard->session_list);
cds_list_del(&wildcard->list);
if (wildcard->enabled)
return -EEXIST;
- cds_list_for_each_entry(ev, &wildcard->events, list) {
+ cds_list_for_each_entry(ev, &wildcard->events, wildcard_list) {
ret = ltt_event_enable(ev);
if (ret) {
DBG("Error: enable error.\n");
if (!wildcard->enabled)
return -EEXIST;
- cds_list_for_each_entry(ev, &wildcard->events, list) {
+ cds_list_for_each_entry(ev, &wildcard->events, wildcard_list) {
ret = ltt_event_disable(ev);
if (ret) {
DBG("Error: disable error.\n");