summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-timechart.c
diff options
context:
space:
mode:
authorIngo Molnar2010-08-06 09:00:32 +0200
committerIngo Molnar2010-08-06 09:00:32 +0200
commite66b688c6456e6a607a1636e228fe0395d6c7214 (patch)
treebcdd5a9d23d78d91419b3b61de76a5b9fb955008 /tools/perf/builtin-timechart.c
parentoprofile: add support for Intel processor model 30 (diff)
parentperf report: Speed up exit path (diff)
downloadkernel-qcow2-linux-e66b688c6456e6a607a1636e228fe0395d6c7214.tar.gz
kernel-qcow2-linux-e66b688c6456e6a607a1636e228fe0395d6c7214.tar.xz
kernel-qcow2-linux-e66b688c6456e6a607a1636e228fe0395d6c7214.zip
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
Diffstat (limited to 'tools/perf/builtin-timechart.c')
-rw-r--r--tools/perf/builtin-timechart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-timechart.c b/tools/perf/builtin-timechart.c
index 5161619d4714..9bcc38f0b706 100644
--- a/tools/perf/builtin-timechart.c
+++ b/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) {