*** empty log message ***

This commit is contained in:
Søren Sandmann Pedersen
2004-11-23 00:01:11 +00:00
parent a22bbc8eb0
commit 95ca4eaa27

View File

@ -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);