diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-12 01:55:26 -0400 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-12 01:55:26 -0400 |
| commit | 84c21bf0c89821bd35b035cd9f7f08acc13ea2dc (patch) | |
| tree | 3eecfe012a8654ca473bceb87bd87c4b17b67cf3 /rt-plot.c | |
| parent | 756317e8f3a6ec5a4e6147a28f10157cf8a38f4a (diff) | |
Displayed additional data in server visualizations.
This disables display_last_info until performance problem solved.
Diffstat (limited to 'rt-plot.c')
| -rw-r--r-- | rt-plot.c | 39 |
1 files changed, 20 insertions, 19 deletions
| @@ -211,25 +211,26 @@ rt_plot_display_last_event(struct graph_info *ginfo, struct graph_plot *plot, | |||
| 211 | struct offset_cache *offsets; | 211 | struct offset_cache *offsets; |
| 212 | struct rt_plot_common *rt_info = plot->private; | 212 | struct rt_plot_common *rt_info = plot->private; |
| 213 | 213 | ||
| 214 | offsets = save_offsets(ginfo); | 214 | return 0; |
| 215 | 215 | /* offsets = save_offsets(ginfo); */ | |
| 216 | record = find_rt_display_record(ginfo, rt_info, time); | 216 | |
| 217 | 217 | /* record = find_rt_display_record(ginfo, rt_info, time); */ | |
| 218 | restore_offsets(ginfo, offsets); | 218 | |
| 219 | if (!record) | 219 | /* restore_offsets(ginfo, offsets); */ |
| 220 | return 0; | 220 | /* if (!record) */ |
| 221 | 221 | /* return 0; */ | |
| 222 | eid = pevent_data_type(ginfo->pevent, record); | 222 | |
| 223 | event = pevent_data_event_from_type(ginfo->pevent, eid); | 223 | /* eid = pevent_data_type(ginfo->pevent, record); */ |
| 224 | if (event) | 224 | /* event = pevent_data_event_from_type(ginfo->pevent, eid); */ |
| 225 | trace_seq_puts(s, event->name); | 225 | /* if (event) */ |
| 226 | else | 226 | /* trace_seq_puts(s, event->name); */ |
| 227 | trace_seq_printf(s, "UNKNOWN EVENT %d\n", eid); | 227 | /* else */ |
| 228 | trace_seq_putc(s, '\n'); | 228 | /* trace_seq_printf(s, "UNKNOWN EVENT %d\n", eid); */ |
| 229 | trace_seq_printf(s, "CPU %d\n", record->cpu); | 229 | /* trace_seq_putc(s, '\n'); */ |
| 230 | free_record(record); | 230 | /* trace_seq_printf(s, "CPU %d\n", record->cpu); */ |
| 231 | 231 | /* free_record(record); */ | |
| 232 | return 1; | 232 | |
| 233 | /* return 1; */ | ||
| 233 | } | 234 | } |
| 234 | 235 | ||
| 235 | /** | 236 | /** |
