Re: Instruction Tracing for Linux

From: Andi Kleen
Date: Fri Jul 08 2005 - 14:40:56 EST


On Fri, Jul 08, 2005 at 12:23:34PM -0700, David S. Miller wrote:
> From: Andi Kleen <ak@xxxxxxx>
> Date: 08 Jul 2005 21:11:03 +0200
>
> > While some CPUs (like Intel P4) have ways to do such hardware
> > tracing I know of no free tool that uses it. There are some user
> > space tools to collect at user space, but they probably won't help you.
>
> FWIW, even without explicit tracing support in the CPU it
> is possible to get these kinds of traces nontheless.

x86 has single step by default, but doing full tracing with that
would be difficult and slow. With the simulators it is really
easy though - i used that extensively while bringing up x86-64.

-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/