aboutsummaryrefslogtreecommitdiffstats
path: root/rt-plot-vcpu.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2012-10-03 18:59:38 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2012-10-03 18:59:38 -0400
commit8e74ea12a1fcbe0a799284163f0cf72bcb916df7 (patch)
tree4c333218d62fab110dfb146d43c76efe9dbb134c /rt-plot-vcpu.c
parentfe1bbdcd1f561aba818c55dfede6b932ff8e4001 (diff)
Temporarily disable hash-based plotting until it works with blocking.
Diffstat (limited to 'rt-plot-vcpu.c')
-rw-r--r--rt-plot-vcpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rt-plot-vcpu.c b/rt-plot-vcpu.c
index 1467660..8f850b9 100644
--- a/rt-plot-vcpu.c
+++ b/rt-plot-vcpu.c
@@ -84,7 +84,7 @@ static int try_switch_to(struct graph_info *ginfo, struct vcpu_info *vcpu_info,
84 unsigned long long ts; 84 unsigned long long ts;
85 85
86 match = rt_graph_check_switch_to(ginfo, record, &pid, &job, &ts); 86 match = rt_graph_check_switch_to(ginfo, record, &pid, &job, &ts);
87 if (match && pid && pid == vcpu_info->run_tid && vcpu_info->run_time) { 87 if (match && pid && (pid == vcpu_info->run_tid || pid == -vcpu_info->run_tid) && vcpu_info->run_time) {
88 vcpu_info->running = TRUE; 88 vcpu_info->running = TRUE;
89 89
90 /* Draw empty box for time spent not running a task */ 90 /* Draw empty box for time spent not running a task */
@@ -312,7 +312,7 @@ rt_vcpu_plot_write_header(struct rt_plot_common *rt,
312 struct trace_seq *s, 312 struct trace_seq *s,
313 unsigned long long time) 313 unsigned long long time)
314{ 314{
315 int is_running, job, tid, tjob; 315 int is_running, job = 0, tid, tjob;
316 unsigned long long release, deadline; 316 unsigned long long release, deadline;
317 struct vcpu_info *vcpu_info = (struct vcpu_info*)rt; 317 struct vcpu_info *vcpu_info = (struct vcpu_info*)rt;
318 struct record *record; 318 struct record *record;