Re: [PATCH] x86: optionally show last exception from/to register contents
From: Andi Kleen
Date: Mon Aug 13 2007 - 11:29:51 EST
> 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.
I would also suggest to enable it by default.
-Andi
-
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/