Re: [PATCH] Identify which executable object the userspace addressbelongs to. Store thread group leader id, and use it to lookup theaddress in the process's map. We could have looked up the addresson thread's map, but the thread might not exist by the time we arecalled. The process might not exist either, but if you are readingtrace_pipe, that is unlikely.

From: Christoph Hellwig
Date: Tue Nov 04 2008 - 13:26:55 EST


On Mon, Nov 03, 2008 at 08:32:57AM +0100, Ingo Molnar wrote:
> could you please help out with such a helper? This is really about
> visualization, not to rely on it.

Is this kindergarten? Take a look at seq_path - what you want
is the combination of d_path + mangle_path and the combination of two
would be rather trivial. In fact I'd say you don't even need the helper
but just make mangle_path global (and document it while you're at it)
and then use it.

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