mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
profiler: extract SpProfiler into an interface
It would be nice to be able to support a remote profiler session in the future, so add SpLocalProfiler implementation of SpProfiler interface.
This commit is contained in:
@ -128,7 +128,7 @@ main (gint argc,
|
||||
g_source_add_unix_fd (gsource, efd, G_IO_IN);
|
||||
g_source_attach (gsource, NULL);
|
||||
|
||||
profiler = sp_profiler_new ();
|
||||
profiler = sp_local_profiler_new ();
|
||||
|
||||
g_signal_connect (profiler,
|
||||
"failed",
|
||||
|
||||
Reference in New Issue
Block a user