[lkml]   [2002]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: ptrace vs /proc
> Linux already posesses modular support for a /proc filesystem, every distribution, and I believe the stock kernel config includes support for this under the filesystems section by default.

I should have been clearer. I would like to know about the features ptrace
supports like "system call tracing", "setting breakpoints" etc.
Traditionally they were done through ptrace interface. In solaris and I
guess in other operating systems like IRIX, they are moved to /proc
interface. Applications wanting to trace programs like gdb, would use
ioctl on the /proc/<pid> and trace the programs.

As far as I could investigate, I didn't find any such interface in linux.
Programs like strace do the tracing through ptrace only.

Please let me know if you know more about this.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:26    [W:0.030 / U:47.228 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site