Messages in this thread | | | Date | Thu, 20 Jun 2002 17:46:07 -0400 (EDT) | From | Pradeep Padala <> | Subject | Re: 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.
--pradeep
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |