Re: [RFC,PATCH 2/2] perf, x86: Utilize the LBRs for machine/oops debugging

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, April 2, 2010 - 1:44 pm

* Peter Zijlstra <peterz@infradead.org> wrote:


No. What i mean is that with your patch, a debugging session would go like 
this:

  < kernel crashes >                            # reboot #1

  < admin logs in and scratches head >
  < admin consults kernel hackers and enables lbr_debug=1 in /etc/grub.conf >

  < admin reboots >                             # reboot #2

  < kernel crashes again >                      # reboot #3

With the sysctl we'd have one reboot less:

  < kernel crashes >                            # reboot #1

  < admin logs in and scratches head >
  < admin consults kernel hackers and tweaks /proc/sys/kernel/x86/lbr_debug >

  < kernel crashes again >                      # reboot #2

Thanks,

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] perf: Use LBR for machine/oops debugging, Peter Zijlstra, (Mon Mar 29, 5:20 am)
Re: [PATCH 0/2] perf: Use LBR for machine/oops debugging, Stephane Eranian, (Mon Mar 29, 6:16 am)
Re: [PATCH 0/2] perf: Use LBR for machine/oops debugging, Peter Zijlstra, (Mon Mar 29, 7:14 am)
Re: [RFC,PATCH 2/2] perf, x86: Utilize the LBRs for machin ..., Ingo Molnar, (Fri Apr 2, 1:44 pm)