libsysprof: whitespace

This commit is contained in:
Christian Hergert
2019-05-10 20:29:19 -07:00
parent b4fa5ed04f
commit 2f5de2a499

View File

@ -85,12 +85,11 @@ proc_readlines (const gchar *format,
gchar * gchar *
sysprof_proc_source_get_command_line (GPid pid, sysprof_proc_source_get_command_line (GPid pid,
gboolean *is_kernel) gboolean *is_kernel)
{ {
gchar *ret; gchar *ret;
gchar **lines; gchar **lines;
if (is_kernel) if (is_kernel)
*is_kernel = FALSE; *is_kernel = FALSE;
@ -135,7 +134,7 @@ sysprof_proc_source_get_command_line (GPid pid,
static void static void
sysprof_proc_source_populate_process (SysprofProcSource *self, sysprof_proc_source_populate_process (SysprofProcSource *self,
GPid pid) GPid pid)
{ {
gchar *cmdline; gchar *cmdline;
@ -145,10 +144,10 @@ sysprof_proc_source_populate_process (SysprofProcSource *self,
if (NULL != (cmdline = sysprof_proc_source_get_command_line (pid, NULL))) if (NULL != (cmdline = sysprof_proc_source_get_command_line (pid, NULL)))
{ {
sysprof_capture_writer_add_process (self->writer, sysprof_capture_writer_add_process (self->writer,
SYSPROF_CAPTURE_CURRENT_TIME, SYSPROF_CAPTURE_CURRENT_TIME,
-1, -1,
pid, pid,
cmdline); cmdline);
g_free (cmdline); g_free (cmdline);
} }
} }