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

Christoph Hellwig
2008-11-06T12:27:21Z

On Thu, Nov 06, 2008 at 10:55:47AM +0100, Ingo Molnar wrote:
> > 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? [...]
>
> No, this is lkml where, if you decide to stand in the way of a patch,
> you are supposed to back up your NAK's with a path out of that NAK.
> Instead of forcing people into multiple email ping-pongs trying to
> figure out what exactly the objections mean.

Even if that was true, which would be avery sad world I should be
easy enough for you or anyone to look at what seq_path does and how
to have a version that doesn't use the seq_file insterface. Takes
about two minutes with most of the time spent on finding where seq_file
is implemented.