Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flowtracing units

From: Peter Zijlstra
Date: Thu Dec 19 2013 - 10:02:48 EST


On Thu, Dec 19, 2013 at 03:49:42PM +0100, Frederic Weisbecker wrote:
> On Thu, Dec 19, 2013 at 04:30:53PM +0200, Alexander Shishkin wrote:
> > Or the interface and implementation of BTS support in the kernel
> > discourage its use and that is why it is so rarely used.
>
> I never heard complains about it. It's a simple dump of from/to address couples.
> I just think nobody take the time to develop userspace tooling to exploit it.
> But it's famous slowness might have had a bad influence on this. And may be
> also the fact that it's very architecture specific. AMD doesn't support BTS if I recall
> correctly. Or may be it has its own different implementation?

No AMD doesn't do anything like that.

There was some attempt to cure some of the wobblies:

https://lkml.org/lkml/2013/7/8/154

But people never pursued that.

That said, if people want overwrite mode to work for PT we'd need to fix
the same thing.
--
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/