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