#server #spawn #connect #components #component #demos

bin+lib functiontrace-server

The server component that FunctionTrace (functiontrace.com) clients will spawn and connect to

13 unstable releases (3 breaking)

0.4.0 Dec 28, 2020
0.3.5 Nov 5, 2020
0.3.4 Sep 3, 2020
0.3.2 Aug 31, 2020
0.1.3 Apr 22, 2020
Download history 9/week @ 2021-02-20 10/week @ 2021-02-27 20/week @ 2021-03-06 9/week @ 2021-03-13 43/week @ 2021-03-20 40/week @ 2021-03-27 26/week @ 2021-04-03 61/week @ 2021-04-10 14/week @ 2021-04-17 15/week @ 2021-04-24 26/week @ 2021-05-01 7/week @ 2021-05-08 23/week @ 2021-05-15 13/week @ 2021-05-22 2/week @ 2021-05-29 18/week @ 2021-06-05

142 downloads per month

Custom license

57KB
1K SLoC

See https://functiontrace.com/ for end user instructions and demos.

Functiontrace is implemented as two components:

  1. A server, written in Rust, which aggregates trace information from running processes
  2. A python module, written in C and Python, which hooks in to the various traced events.

Building the server

$ cargo build

Building the python module

$ cd py-functiontrace
$ python setup.py build
$ python setup.py bdist_wheel --dist-dir ./dist

Testing

This currently requires installing the built modules globally.

# The test script will use the server built in target/release
$ pip install py-functiontrace/dist/*.whl
$ python integration_tests.py

Dependencies

~3.5–5MB
~92K SLoC