diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-17 22:57:11 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-17 23:01:01 -0500 |
commit | 1d43a5a4f62765bac24a35315ace0d8fbac4451b (patch) | |
tree | 9eea9a5aa557df00a37bc72938f5a985fcf70ba3 /trace-graph.c | |
parent | 03585d0c8c6ba47217c40babdf0980dcbc64c77e (diff) | |
parent | 0b9d85ae412ab92c2690523e1ef4314bc7931a68 (diff) |
Merge branch 'trace-cmd' into trace-view
Fixed trace-cmd view and trace-graph to handle rename of
struct event to struct event_format.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-graph.c')
-rw-r--r-- | trace-graph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/trace-graph.c b/trace-graph.c index 52bf91a..e6a4e5c 100644 --- a/trace-graph.c +++ b/trace-graph.c | |||
@@ -126,7 +126,7 @@ static void clear_last_line(GtkWidget *widget, struct graph_info *ginfo) | |||
126 | static void print_rec_info(struct record *record, struct pevent *pevent, int cpu) | 126 | static void print_rec_info(struct record *record, struct pevent *pevent, int cpu) |
127 | { | 127 | { |
128 | struct trace_seq s; | 128 | struct trace_seq s; |
129 | struct event *event; | 129 | struct event_format *event; |
130 | unsigned long sec, usec; | 130 | unsigned long sec, usec; |
131 | gint type; | 131 | gint type; |
132 | 132 | ||
@@ -156,7 +156,7 @@ static int check_sched_switch(struct graph_info *ginfo, | |||
156 | static struct format_field *ftrace_pid_field; | 156 | static struct format_field *ftrace_pid_field; |
157 | static struct format_field *ftrace_comm_field; | 157 | static struct format_field *ftrace_comm_field; |
158 | unsigned long long val; | 158 | unsigned long long val; |
159 | struct event *event; | 159 | struct event_format *event; |
160 | gint id; | 160 | gint id; |
161 | 161 | ||
162 | if (event_sched_switch_id < 0) { | 162 | if (event_sched_switch_id < 0) { |
@@ -204,7 +204,7 @@ static void draw_cpu_info(struct graph_info *ginfo, gint cpu, gint x, gint y) | |||
204 | PangoLayout *layout; | 204 | PangoLayout *layout; |
205 | struct record *record = NULL; | 205 | struct record *record = NULL; |
206 | struct pevent *pevent; | 206 | struct pevent *pevent; |
207 | struct event *event; | 207 | struct event_format *event; |
208 | guint64 time; | 208 | guint64 time; |
209 | const char *comm; | 209 | const char *comm; |
210 | gint pid = -1; | 210 | gint pid = -1; |
@@ -659,7 +659,7 @@ static void draw_event_label(struct graph_info *ginfo, gint cpu, | |||
659 | gint p1, gint p2, gint p3, | 659 | gint p1, gint p2, gint p3, |
660 | gint width_16, PangoFontDescription *font) | 660 | gint width_16, PangoFontDescription *font) |
661 | { | 661 | { |
662 | struct event *event; | 662 | struct event_format *event; |
663 | PangoLayout *layout; | 663 | PangoLayout *layout; |
664 | struct trace_seq s; | 664 | struct trace_seq s; |
665 | gint text_width; | 665 | gint text_width; |