lkml.org 
[lkml]   [2008]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] add /proc/pid/stack to dump task's stack trace

* Alexey Dobriyan <adobriyan@gmail.com> wrote:

> On Sat, Nov 08, 2008 at 01:10:54PM +0100, Ingo Molnar wrote:
> > Sidenote: it would still be nice if the procfs folks converted the
> > old-style code there to the new seqfile APIs, before requiring
> > everyone _else_ to follow those guidelines?
>
> For every existing non seqfile /proc file, there may be (and was
> demonstrated) some userspace which is doing pread(2) on it and
> seqfiles don't support pread currently. Obviously, no such userspace
> exist for /proc/*/stack.

ok, i then dont understand why we are advocating seqfile use, while
seqfiles are inferior replacements in certain aspects (no pread(2)
support). Adding pread(2) support would remove all doubt, and it could
be converted all across the spectrum, eliminating any confusion about
which facility to use, right?

Ingo


\
 
 \ /
  Last update: 2008-11-10 09:43    [W:0.052 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site