lkml.org 
[lkml]   [2013]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v0 00/71] perf: Add support for Intel Processor Trace

* Alexander Shishkin <alexander.shishkin@linux.intel.com> wrote:

> > One good approach to do that would be to unify the BTS and PT
> > tooling (the kernel side can be unified as well, to the extent it
> > makes sense), and to prove it via actual functionality that this
> > stuff matters. BTS is available widely, so the tooling can be
> > tested by anyone who's interested.
> >
> > Allow people to record crashes in core dumps, allow them to look
> > at histograms/spectrograms of BTS/PT traces, zoom in on actual
> > traces, etc. - make it easier to handle this huge amount of data
> > and visualize traces in other ways you find useful, etc.
> >
> > None of that is done right now via BTS so nobody uses it.
>
> So I can make BTS appear as an "itrace" pmu similarly to PT. One
> question that comes to mind is should we then dispose of the old
> interface that's used for accessing BTS functionality or make it
> coexist with the new one.

So we could make the old ABI a CONFIG_PERF_EVENTS_COMPAT_X86_BTS kind
of legacy option, turned off by default. That allows us its eventual
future phasing out.

It all depends on how useful the new tooling becomes: if interesting
things can be done with it via an obvious, powerful interface then
people might start using it.

Thanks,

Ingo


\
 
 \ /
  Last update: 2013-12-16 16:21    [W:0.150 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site