[tor-bugs] #32910 [Core Tor/Tor]: trace: Add tracepoints and userspace tracer support

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 20 15:22:38 UTC 2020


#32910: trace: Add tracepoints and userspace tracer support
--------------------------+------------------------------------
 Reporter:  dgoulet       |          Owner:  dgoulet
     Type:  enhancement   |         Status:  needs_review
 Priority:  Medium        |      Milestone:  Tor: 0.4.4.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tracing       |  Actual Points:
Parent ID:                |         Points:  3
 Reviewer:  nickm         |        Sponsor:
--------------------------+------------------------------------

Comment (by nickm):

 Issues we talked about on IRC:
   * Maybe we should disambiguate identifiers used as domains and event
 names.  Prefixes, suffices, InitialCaps, and camelCase were all suggested
 as possibilities. So were TOR_TRACE, macros to create a single macro per
 event, and so on.
   * Testing.  How do we verify that this is working and we haven't broken
 it? We need some kind of test that actually makes sure events are
 happening and getting recorded.
   * Documentation. We should make sure that you don't need to know the tor
 source code intimately to understand the event descriptions.
   * Safety. In order to make sure this feature stays safe:
      * Tor should log loudly when it is enabled.
      * There should be clear safety guidelines about how the data it
 generates if used on the public network should be considered NOT safe to
 share, should NOT be backed up, and should be deleted.
      * We should make sure we tell researchers explicitly that if they try
 to use this for science on the public network, they will get data that
 they cannot ethically share, and they should probably look for another
 approach if they're doing science.
      * We should talk with Roger and the research safety board, looking
 for more suggestions, if they have any.

 Smaller issues:
   * This needs a changes file.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32910#comment:13>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list