Re: [PATCH] x86: optionally show last exception from/to registercontents

From: Randy Dunlap
Date: Mon Aug 13 2007 - 13:04:24 EST


On Mon, 13 Aug 2007 16:21:10 +0200 Andi Kleen wrote:

> > I though you did, but since I never saw it appear in any release, I posted
> > this one...
>
> It's a little different (and somewhat hackish I admit)
> ftp://firstfloor.org/pub/ak/x86_64/debug/last-branch
> It has far more overhead than yours of course.
>
> The only way to merge something like that would be dynamic
> patching and I was never quite motivated for that.
>
> > So especially with the first concern of yours - is it worth at all rev-ing this
> > patch to address the other change requests you voiced?
>
> The patch is useful even with the race, just document somewhere
> that it is unreliable (perhaps in the printk itself) and do the
> other changes.

and add "ler" entry to Documentation/kernel-parameters.txt, please,
with what it means.

> I would also suggest to enable it by default.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
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/