mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof: add missing new func
This commit is contained in:
@ -290,3 +290,9 @@ source_iface_init (SysprofSourceInterface *iface)
|
|||||||
iface->set_writer = sysprof_tracefd_source_set_writer;
|
iface->set_writer = sysprof_tracefd_source_set_writer;
|
||||||
iface->stop = sysprof_tracefd_source_stop;
|
iface->stop = sysprof_tracefd_source_stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SysprofSource *
|
||||||
|
sysprof_tracefd_source_new (void)
|
||||||
|
{
|
||||||
|
return g_object_new (SYSPROF_TYPE_TRACEFD_SOURCE, NULL);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user