Messages in this thread | | | Subject | Re: [RFC] BTS based perf user callchains | From | Peter Zijlstra <> | Date | Mon, 02 Aug 2010 20:38:52 +0200 |
| |
On Mon, 2010-08-02 at 20:35 +0200, Frederic Weisbecker wrote: > I'm not even sure that will work. Also, while looking at the BTS implementation > in perf, I see we have one BTS buffer per cpu. But that doesn't look right as > the code flow is not linear per cpu but per task. Hence I suspect we need > one BTS buffer per task. But may be someone tried that and encountered a > problem?
IIRC we flush the buffer when we deschedule the counter.
| |