Re: [PATCH 4/4] tracing, page-allocator: Add a postprocessing script for page-allocator-related ftrace events

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, August 5, 2009 - 6:04 am

On Tue, 2009-08-04 at 22:35 +0200, Ingo Molnar wrote:


If these tracepoints were to use something like (not yet in mainline)

  TP_perf_assign(
 	__perf_data(obj);
  ),

Where obj was the thing being allocated/freed, you could, when using
PERF_SAMPLE_ADDR even match up alloc/frees, combined with
PERF_SAMPLE_CALLCHAIN you could then figure out where the unmatched
entries came from.

Might be useful, dunno.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 4/4] tracing, page-allocator: Add a postprocess ..., Peter Zijlstra, (Wed Aug 5, 6:04 am)
[tip:perfcounters/urgent] perf: "Longum est iter per praec ..., tip-bot for Carlos R ..., (Sat Aug 8, 5:37 am)
[tip:perfcounters/core] perf: "Longum est iter per praecep ..., tip-bot for Carlos R ..., (Sun Aug 9, 4:11 am)