mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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),
|
||||
"logo", app->icon,
|
||||
name_property, APPLICATION_NAME,
|
||||
"copyright", "Copyright 2004-2008, S"OSLASH"ren Sandmann",
|
||||
"copyright", "Copyright 2004-2009, S"OSLASH"ren Sandmann",
|
||||
"version", PACKAGE_VERSION,
|
||||
NULL);
|
||||
}
|
||||
|
||||
@ -497,7 +497,9 @@ process_fork (state_t *state, fork_t *fork)
|
||||
process_t *process = g_new0 (process_t, 1);
|
||||
int i;
|
||||
|
||||
#if 0
|
||||
g_print ("new child %d\n", fork->child_pid);
|
||||
#endif
|
||||
|
||||
process->pid = fork->child_pid;
|
||||
process->comm = g_strdup (parent? parent->comm : "<unknown>");
|
||||
@ -525,7 +527,9 @@ process_fork (state_t *state, fork_t *fork)
|
||||
static void
|
||||
process_exit (state_t *state, exit_t *exit)
|
||||
{
|
||||
#if 0
|
||||
g_print ("Exit for %d\n", exit->pid);
|
||||
#endif
|
||||
|
||||
/* ignore for now */
|
||||
}
|
||||
@ -916,7 +920,9 @@ process_sample (state_t *state, StackStash *resolved, sample_t *sample)
|
||||
static gboolean warned;
|
||||
if (!warned || sample->pid != 0)
|
||||
{
|
||||
#if 0
|
||||
g_print ("sample for unknown process %d\n", sample->pid);
|
||||
#endif
|
||||
warned = TRUE;
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user