mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof: cleanup
This commit is contained in:
@ -432,10 +432,9 @@ sysprof_perf_counter_open (SysprofPerfCounter *self,
|
|||||||
g_return_val_if_fail (group_fd >= -1, -1);
|
g_return_val_if_fail (group_fd >= -1, -1);
|
||||||
|
|
||||||
if (sysprof_helpers_perf_event_open (helpers, attr, pid, cpu, group_fd, flags, NULL, &out_fd, NULL))
|
if (sysprof_helpers_perf_event_open (helpers, attr, pid, cpu, group_fd, flags, NULL, &out_fd, NULL))
|
||||||
{
|
return out_fd;
|
||||||
}
|
|
||||||
|
|
||||||
return out_fd;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user