Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Tor Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 823
    • Issues 823
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 33
    • Merge requests 33
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Core
  • TorTor
  • Issues
  • #32910
Closed
Open
Created Jan 09, 2020 by David Goulet@dgoulet🔆Owner

trace: Add tracepoints and userspace tracer support

Tor-dev email: https://lists.torproject.org/pipermail/tor-dev/2019-December/014111.html

These are what needs to be done but they sorta need to be together to make sense thus this one ticket:

a. Add a series of tracepoints in tor code base. I propose to start with circuit and cell level tracepoints for now.

b. Add USDT (User Statically-Defined Tracing) probes support which is used by SystemTap, DTrace and perf.

c. Add LTTng support which if enable also emits USDT.

d. Integrate all this to our build system.

About(d), the consensus among the network team is that it should NEVER be enabled in production and should be a configure switch.

I believe if we add on top a torrc option, it might not be that useful in the end considering the configure switch but mainly it will degrade performance since the check needs to be at runtime for every tracepoint.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking