direct-io.hg

changeset 12481:51edd3c6a4d8

[LINUX] Add process profiling hook to timer ISR.
Signed-off-by: Rik van Riel <riel@redhat.com>
author kfraser@localhost.localdomain
date Fri Nov 17 10:32:57 2006 +0000 (2006-11-17)
parents 6a26f49d3b16
children 075f4ffdbbce
files linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c	Fri Nov 17 10:29:08 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c	Fri Nov 17 10:32:57 2006 +0000
     1.3 @@ -716,6 +716,7 @@ irqreturn_t timer_interrupt(int irq, voi
     1.4  		rcu_check_callbacks(cpu, user_mode(regs));
     1.5  	scheduler_tick();
     1.6  	run_posix_cpu_timers(current);
     1.7 +	profile_tick(CPU_PROFILING, regs);
     1.8  
     1.9  	return IRQ_HANDLED;
    1.10  }