Skip to main content
Sign in
Snippets Groups Projects

tracing-instrumentation-usdt fails to build: error: use of undeclared identifier 'tor_circuit'

  • View options
  • Closed created by yurivict
    Closed tracing-instrumentation-usdt fails to build: error: use of undeclared identifier 'tor_circuit'
    • View options
  • src/core/or/circuitlist.c:571:13: error: use of undeclared identifier 'tor_circuit'
      tor_trace(TR_SUBSYS(circuit), TR_EV(change_state), circ, circ->state, state);
                ^
    ./src/lib/trace/events.h:45:25: note: expanded from macro 'TR_SUBSYS'
    #define TR_SUBSYS(name) tor_ ## name
                            ^
    <scratch space>:130:1: note: expanded from here
    tor_circuit
    ^
    src/core/or/circuitlist.c:571:39: error: use of undeclared identifier 'change_state'
      tor_trace(TR_SUBSYS(circuit), TR_EV(change_state), circ, circ->state, state);
                                          ^
    src/core/or/circuitbuild.c:503:3: warning: implicit declaration of function 'STAP_PROBEV' is invalid in C99 [-Wimplicit-function-declaration]
      tor_trace(TR_SUBSYS(circuit), TR_EV(establish), circ);
      ^
    ./src/lib/trace/events.h:53:5: src/core/or/circuitlist.c:1086:3: warning: implicit declaration of function 'STAP_PROBEV' is invalid in C99 [-Wimplicit-function-declaration]
      tor_trace(TR_SUBSYS(circuit), TR_EV(new_origin), circ);
      ^
                                 ^

    0.4.5.1-alpha on FreeBSD 12.2

    Additionally, the file doc/HACKING/Tracing.md mentioned in the changelog https://gitweb.torproject.org/tor.git/tree/ChangeLog?h=tor-0.4.5.1-alpha doesn't exist.

    Attributes

    Assignees

    Labels

    Milestone

    Tor: 0.4.5.x-stable (expired)

    Dates

    Start: None

    Due: None

    Time tracking

    No estimate or time spent
    To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first