Re: [tip:perfcounters/core] perf record/report: Add call graph /call chain profiling

From: Ingo Molnar
Date: Wed Jun 17 2009 - 08:25:34 EST



* Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> wrote:

> > The context IDs would occupy some rare and
> > unlikely-to-be-allocated-soon corner of the address space - say
> > startig at 0x8765432112345000. (and real RIPs would be filtered
> > and nudged just outside that space of a handful IDs.)
>
> Right, that works too, but should we use (u64)-1..-4095 for that?
> We already use that range for things like ERR_PTR() so its very
> unlikely we have something sensible mapped there.

Makes sense. It's also an easier (and more natural) enumeration
method.

Ingo
--
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/