From 95ca4eaa27662477d4252d79a787b556d5bba6b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= Date: Tue, 23 Nov 2004 00:01:11 +0000 Subject: [PATCH] *** empty log message *** --- sysprof-module.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysprof-module.c b/sysprof-module.c index 7ae2ca91..05a1cfa5 100644 --- a/sysprof-module.c +++ b/sysprof-module.c @@ -304,11 +304,12 @@ on_timer(unsigned long dong) { struct task_struct *p; - static const int cpu_profiler = 1; /* set to 0 to profile disk */ + static const int cpu_profiler = 0; /* set to 0 to profile disk */ for_each_process (p) { - if (p->state == (cpu_profiler? TASK_RUNNING : TASK_UNINTERRUPTIBLE)) + if (p->state == (cpu_profiler? TASK_RUNNING : TASK_UNINTERRUPTIBLE)) { queue_generate_stack_trace (p); + } } add_timeout (INTERVAL, on_timer);