mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Comment out some debugging spam; update copyright
This commit is contained in:
@ -665,7 +665,7 @@ on_about_activated (GtkWidget *widget, gpointer data)
|
|||||||
gtk_show_about_dialog (GTK_WINDOW (app->main_window),
|
gtk_show_about_dialog (GTK_WINDOW (app->main_window),
|
||||||
"logo", app->icon,
|
"logo", app->icon,
|
||||||
name_property, APPLICATION_NAME,
|
name_property, APPLICATION_NAME,
|
||||||
"copyright", "Copyright 2004-2008, S"OSLASH"ren Sandmann",
|
"copyright", "Copyright 2004-2009, S"OSLASH"ren Sandmann",
|
||||||
"version", PACKAGE_VERSION,
|
"version", PACKAGE_VERSION,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -497,7 +497,9 @@ process_fork (state_t *state, fork_t *fork)
|
|||||||
process_t *process = g_new0 (process_t, 1);
|
process_t *process = g_new0 (process_t, 1);
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
#if 0
|
||||||
g_print ("new child %d\n", fork->child_pid);
|
g_print ("new child %d\n", fork->child_pid);
|
||||||
|
#endif
|
||||||
|
|
||||||
process->pid = fork->child_pid;
|
process->pid = fork->child_pid;
|
||||||
process->comm = g_strdup (parent? parent->comm : "<unknown>");
|
process->comm = g_strdup (parent? parent->comm : "<unknown>");
|
||||||
@ -525,7 +527,9 @@ process_fork (state_t *state, fork_t *fork)
|
|||||||
static void
|
static void
|
||||||
process_exit (state_t *state, exit_t *exit)
|
process_exit (state_t *state, exit_t *exit)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
g_print ("Exit for %d\n", exit->pid);
|
g_print ("Exit for %d\n", exit->pid);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ignore for now */
|
/* ignore for now */
|
||||||
}
|
}
|
||||||
@ -916,7 +920,9 @@ process_sample (state_t *state, StackStash *resolved, sample_t *sample)
|
|||||||
static gboolean warned;
|
static gboolean warned;
|
||||||
if (!warned || sample->pid != 0)
|
if (!warned || sample->pid != 0)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
g_print ("sample for unknown process %d\n", sample->pid);
|
g_print ("sample for unknown process %d\n", sample->pid);
|
||||||
|
#endif
|
||||||
warned = TRUE;
|
warned = TRUE;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user