Print RIP for early lost tick detection Just to double check if there isn't a pattern Signed-off-by: Andi Kleen --- arch/x86_64/kernel/time.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) Index: linux/arch/x86_64/kernel/time.c =================================================================== --- linux.orig/arch/x86_64/kernel/time.c +++ linux/arch/x86_64/kernel/time.c @@ -43,7 +43,7 @@ #endif #ifdef CONFIG_CPU_FREQ -static void cpufreq_delayed_get(void); +static void cpufreq_delayed_get(struct pt_regs *); #endif extern void i8254_timer_resume(void); extern int using_apic_timer; @@ -336,7 +336,7 @@ static noinline void handle_lost_ticks(i /* In some cases the CPU can change frequency without us noticing Give cpufreq a change to catch up. */ if ((lost_count+1) % 25 == 0) - cpufreq_delayed_get(); + cpufreq_delayed_get(regs); #endif } @@ -601,15 +601,15 @@ static void handle_cpufreq_delayed_get(v * to verify the CPU frequency the timing core thinks the CPU is running * at is still correct. */ -static void cpufreq_delayed_get(void) +static void cpufreq_delayed_get(struct pt_regs *regs) { static int warned; if (cpufreq_init && !cpufreq_delayed_issched) { cpufreq_delayed_issched = 1; if (!warned) { warned = 1; - printk(KERN_DEBUG - "Losing some ticks... checking if CPU frequency changed.\n"); + print_symbol(KERN_DEBUG + "Losing some ticks... checking if CPU frequency changed (rip=%s)\n", regs->rip); } schedule_work(&cpufreq_delayed_get_work); }