[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [LINUX] Add process profiling hook to timer ISR.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 51edd3c6a4d861db6ce1c9a02251ed49213c3002
# Parent  6a26f49d3b168496025d3c7edf3861d503c3a03b
[LINUX] Add process profiling hook to timer ISR.
Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 6a26f49d3b16 -r 51edd3c6a4d8 
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c
--- a/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c  Fri Nov 17 10:29:08 
2006 +0000
+++ b/linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c  Fri Nov 17 10:32:57 
2006 +0000
@@ -716,6 +716,7 @@ irqreturn_t timer_interrupt(int irq, voi
                rcu_check_callbacks(cpu, user_mode(regs));
        scheduler_tick();
        run_posix_cpu_timers(current);
+       profile_tick(CPU_PROFILING, regs);
 
        return IRQ_HANDLED;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.