diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-14 18:20:53 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-17 22:47:21 -0500 |
commit | b7f179695496dc25b72175a3fcaf4163c8ee9027 (patch) | |
tree | 5f22cf52d0714f7df345ff3beb35d544c7b91e56 /trace-graph.h | |
parent | 1ed72ada8dacf1b12c4b02c9d57c3ea42e8c202b (diff) |
Add trace graph to graph CPU traces
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-graph.h')
-rw-r--r-- | trace-graph.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/trace-graph.h b/trace-graph.h new file mode 100644 index 0000000..18426e6 --- /dev/null +++ b/trace-graph.h | |||
@@ -0,0 +1,38 @@ | |||
1 | #ifndef _TRACE_GRAPH_H | ||
2 | #define _TRACE_GRAPH_H | ||
3 | |||
4 | #include "trace-cmd.h" | ||
5 | |||
6 | struct graph_info { | ||
7 | struct tracecmd_input *handle; | ||
8 | struct pevent *pevent; | ||
9 | gint cpus; | ||
10 | GtkWidget *draw; | ||
11 | GdkPixmap *main_pixmap; | ||
12 | GdkPixmap *curr_pixmap; | ||
13 | guint64 start_time; | ||
14 | guint64 end_time; | ||
15 | guint64 view_start_time; | ||
16 | guint64 view_end_time; | ||
17 | |||
18 | gdouble resolution; | ||
19 | |||
20 | gint last_x; | ||
21 | gint last_y; | ||
22 | gint mov_w; | ||
23 | gint mov_h; | ||
24 | |||
25 | gint max_width; | ||
26 | gint max_height; | ||
27 | |||
28 | gboolean save; | ||
29 | gboolean draw_line; | ||
30 | gchar *test; | ||
31 | |||
32 | gint cpu_data_x; | ||
33 | gint cpu_data_y; | ||
34 | gint cpu_data_w; | ||
35 | gint cpu_data_h; | ||
36 | }; | ||
37 | |||
38 | #endif /* _TRACE_GRAPH_H */ | ||