Re: [Review] Remove procfs dependency of truss

From: Howard Su <howard0su_at_gmail.com>
Date: Wed, 4 Apr 2007 19:30:26 +0800
On 4/4/07, Alfred Perlstein <alfred_at_freebsd.org> wrote:
> * Howard Su <howard0su_at_gmail.com> [070404 01:20] wrote:
> > Following the suggestion in idea page, I proposed the attached patch.
> > I didn't change any kernel part because I think PTRACE(2) is
> > functional although man page didn't document it.
> >
> > I tested the patch under i386 and amd64 box. The help on testing and
> > code review will be appreciated.
>
> wow, well done!  any draw backs to using ptrace over procfs?
I didn't see.
>
> have you tested performance?
Not yet. Base on the number of kernel syscall, new implementaion keep
in a same level. However ptrace calls has a short code path compare to
generic read syscall. I suppose there will be some improvement.
Anyway, I will try to get perf data.
>
> -Alfred
>
>

-- 
-Howard
Received on Wed Apr 04 2007 - 09:30:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:07 UTC