--- zzzz-none-000/linux-2.6.13.1/include/linux/sched.h 2005-09-10 02:42:58.000000000 +0000 +++ ohio-7170-487/linux-2.6.13.1/include/linux/sched.h 2007-06-07 12:01:05.000000000 +0000 @@ -168,6 +168,11 @@ */ extern void show_stack(struct task_struct *task, unsigned long *sp); +#ifdef CONFIG_SCHEDSTATS +extern void show_sched_stats(void); +extern void show_process_eip(unsigned char* name); +#endif + void io_schedule(void); long io_schedule_timeout(long timeout); @@ -441,8 +446,9 @@ struct sched_info { /* cumulative counters */ unsigned long cpu_time, /* time spent on the cpu */ - run_delay, /* time spent waiting on a runqueue */ - pcnt; /* # of timeslices run on this cpu */ + run_delay, /* time spent waiting on a runqueue */ + pcnt, /* # of timeslices run on this cpu */ + cpu_last_hist; /* time spent on the cpu during the last n seconds */ /* timestamps */ unsigned long last_arrival, /* when we last ran on a cpu */