lkml.org 
[lkml]   [2008]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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
On Sun, Nov 02, 2008 at 11:18:14PM +0200, T??r??k Edwin wrote:
> +static int
> +trace_seq_path(struct trace_seq *s, struct path *path)
> +{
> + int ret;
> + struct seq_file m;
> + m.count = s->len;
> + m.size = PAGE_SIZE;
> + m.buf = s->buffer;
> + ret = seq_path(&m, path, "\n");
> + if (ret)
> + s->len = m.count;
> + return ret;
> +}

NAK. seq_path() is a blatantly wrong thing to use here.


\
 
 \ /
  Last update: 2008-11-02 22:27    [W:0.073 / U:1.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site