Commit f843249c authored by Julia Lawall's avatar Julia Lawall Committed by Masami Hiramatsu (Google)
parent a110d172
......@@ -788,12 +788,9 @@ find_and_get_event(const char *system, const char *event_name)
name = trace_event_name(tp_event);
if (!name || strcmp(event_name, name))
continue;
if (!trace_event_try_get_ref(tp_event)) {
if (!trace_event_try_get_ref(tp_event))
return NULL;
break;
}
return tp_event;
break;
}
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment