From bfdb3f8c2ce5e5038c83de975bcf85a75eea0329 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Thu, 5 Aug 2010 22:27:51 +0200 Subject: [PATCH] --- yaml --- r: 209249 b: refs/heads/master c: 33e26a1b492d21283d1372ddd547562d371dab98 h: refs/heads/master i: 209247: 2f7bfdfbdec9a7b9685080ec6aaac8f6a5a25b9c v: v3 --- [refs] | 2 +- trunk/tools/perf/builtin-timechart.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 703d12d2b780..969bf374c139 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b7eead86d2951dab733d36554e8166a2a91d7363 +refs/heads/master: 33e26a1b492d21283d1372ddd547562d371dab98 diff --git a/trunk/tools/perf/builtin-timechart.c b/trunk/tools/perf/builtin-timechart.c index 5161619d4714..9bcc38f0b706 100644 --- a/trunk/tools/perf/builtin-timechart.c +++ b/trunk/tools/perf/builtin-timechart.c @@ -455,8 +455,8 @@ static void sched_switch(int cpu, u64 timestamp, struct trace_entry *te) if (p->current->state != TYPE_NONE) pid_put_sample(sw->next_pid, p->current->state, cpu, p->current->state_since, timestamp); - p->current->state_since = timestamp; - p->current->state = TYPE_RUNNING; + p->current->state_since = timestamp; + p->current->state = TYPE_RUNNING; } if (prev_p->current) {