Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame^] | 1 | ======================================================================== |
| 2 | This is the unmodified README from Branko Lankester's release of strace |
| 3 | for Linux. Some of the notes and instructions are no longer valid |
| 4 | however the file has been retained for its historical value. -- jrs |
| 5 | ======================================================================== |
| 6 | |
| 7 | This is the second release of strace for linux, it requires linux |
| 8 | version 0.99.10 or newer. strace was written by Paul Kranenburg for |
| 9 | SunOS, I have modified it to work with linux. Read the file README and |
| 10 | the strace.1 for more info on strace. |
| 11 | |
| 12 | |
| 13 | Changes for this release are: |
| 14 | - bugfixes |
| 15 | - support for new system calls and ioctls |
| 16 | - symbolic output for: termio ioctls, sysv ipc, fcntl file locking, |
| 17 | statfs and ptrace |
| 18 | - microsecond time stamps |
| 19 | |
| 20 | A lot of the changes and bugfixes for this version were done by |
| 21 | Rick Sladkey <jrs@world.std.com>, System V IPC support was added |
| 22 | by Ulrich Pegelow <pegelow@moorea.uni-muenster.de>. |
| 23 | |
| 24 | |
| 25 | FILES: |
| 26 | |
| 27 | README.first this file |
| 28 | README the original readme file for SunOS strace |
| 29 | getioctls script to create the ioctlents.h file for linux. |
| 30 | Sun/* files from the original package I didn't use |
| 31 | |
| 32 | |
| 33 | Notes: |
| 34 | |
| 35 | - With older versions of Linux (before 0.99.10) signals can get lost |
| 36 | for a traced process. |
| 37 | |
| 38 | - strace works best if you have a proc fs mounted on /proc, the |
| 39 | /proc/##/mem frame buffers are used for reading system call arguments. |
| 40 | You can use /dev/ram or some other unused block device for mounting |
| 41 | the proc fs: |
| 42 | |
| 43 | mount -t proc /dev/ram /proc |
| 44 | |
| 45 | or in /etc/fstab: |
| 46 | |
| 47 | /dev/hda /proc proc defaults |
| 48 | |
| 49 | |
| 50 | |
| 51 | Branko Lankester Jun 18 1993 |
| 52 | branko@hacktic.nl || lankeste@fwi.uva.nl |