aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-01-08 15:12:30 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-01-08 15:12:30 -0500
commit6b73f870603f04381542adfc3e90f64831299a0d (patch)
tree8827b66147f220fcf4eb3f46f4f39aa4bc221d2f
parent425ffe3314a66fc335736249717b3641c5590f55 (diff)
trace-graph: Remove 'hello' print
The graph had a little 'hello' test to prove that the proper pointer was being sent to the destroy function. Remove it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--trace-graph.c4
-rw-r--r--trace-graph.h4
2 files changed, 0 insertions, 8 deletions
diff --git a/trace-graph.c b/trace-graph.c
index b1217d0..c190649 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -1874,9 +1874,6 @@ destroy_event(GtkWidget *widget, gpointer data)
1874 filter_task_hash_free(ginfo->task_filter); 1874 filter_task_hash_free(ginfo->task_filter);
1875 filter_task_hash_free(ginfo->hide_tasks); 1875 filter_task_hash_free(ginfo->hide_tasks);
1876 1876
1877 if (ginfo->test)
1878 dprintf(1, "test = %s\n", ginfo->test);
1879
1880 return TRUE; 1877 return TRUE;
1881} 1878}
1882 1879
@@ -1998,7 +1995,6 @@ trace_graph_create_with_callbacks(struct tracecmd_input *handle,
1998 1995
1999 ginfo = g_new0(typeof(*ginfo), 1); 1996 ginfo = g_new0(typeof(*ginfo), 1);
2000 g_assert(ginfo != NULL); 1997 g_assert(ginfo != NULL);
2001 ginfo->test = "hello!";
2002 1998
2003 ginfo->handle = handle; 1999 ginfo->handle = handle;
2004 ginfo->pevent = tracecmd_get_pevent(handle); 2000 ginfo->pevent = tracecmd_get_pevent(handle);
diff --git a/trace-graph.h b/trace-graph.h
index 508614a..33e7355 100644
--- a/trace-graph.h
+++ b/trace-graph.h
@@ -73,10 +73,6 @@ struct graph_info {
73 gint cpu_data_h; 73 gint cpu_data_h;
74 74
75 gint cpu_x; /* x coord where CPU numbers are drawn */ 75 gint cpu_x; /* x coord where CPU numbers are drawn */
76
77 /* not needed in future */
78
79 gchar *test;
80}; 76};
81 77
82 78