File: README-freebsd

package info (click to toggle)
cde 0.1%2Bgit9-g551e54d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,340 kB
  • ctags: 10,812
  • sloc: ansic: 75,881; sh: 4,282; python: 1,006; perl: 438; makefile: 297; lisp: 44; java: 5
file content (26 lines) | stat: -rw-r--r-- 979 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Here's a preliminary port of strace to FreeBSD.

Here are some notes about it :

- This couldn't have been done without the sources of the truss
  utility by Sean Eric Fagan, which were of great help.

- The tracing mecanism used by FreeBD is a lot like the SVR4 one, so
  this port shares a lot of code with the SVR4 port, including the
  akward event loop when tracing multiple processes.

- This works for i386 binaries, although support for alpha processor
  should be quite straight forward, but I do not have an alpha to
  test it on.

- Tracing linux binaries is not supported yet, but should be possible
  with some work.

- There are some issues with following forks, and only a few FreeBSD
  specific syscalls are decoded right now.

- This was tested on FreeBSD 4.0. I believe the tracing interface is
  present since at least FreeBSD 3.0, so it "should" work on all
  latest releases. I have no idea for other BSDs, though.

Gal Roualland <gael.roualland@iname.com>