mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
libsysprof: whitespace
This commit is contained in:
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user