Re: [PATCH 0/2] perf: Use LBR for machine/oops debugging

From: Stephane Eranian
Date: Mon Mar 29 2010 - 09:16:31 EST


On Mon, Mar 29, 2010 at 2:08 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> writes:
>
>> The LBRs are relatively cheap to keep enabled and provide some history
>> to OOPSen, also some CPUs are reported to keep them over soft-reset,
>> which allows us to use them to debug things like tripple faults.
>>
>> Therefore introduce a boot option: lbr_debug=on, which always enable
>> the LBRs and will print the LBRs on CPU init and die().
>
>
> die is too late. they will only contain the oops code then.
>
Most likely yes, especially with small LBR, such as on Intel Core.


> -Andi
>
> --
> ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/