[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1707 [Tor Relay]: We need a howto for running oprofile properly
#1707: We need a howto for running oprofile properly
-------------------------+--------------------------------------------------
Reporter: nickm | Owner: weasel
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
-------------------------+--------------------------------------------------
Comment(by weasel):
<weasel> - build tor with debugging symbols (you probably already have)
<weasel> - build all the libraries you care about with debugging symbols
(probably you only care about libssl, maybe zlib)
<weasel> - copy this tor to a new directory
<weasel> - copy all the libraries it uses to that dir too (ldd ./tor will
tell you)
<weasel> - set LD_LIBRARY_PATH to include that dir. ldd ./tor should now
show you it's using the libs in that dir
<weasel> - run that tor
<weasel> - reset oprofiles counters/start it
<weasel> - after a while, have it dump the stats on tor and all the libs
in that dir you created.
<weasel> - profit
<Sebastian> Is there a reason not to care about libevent?
<weasel> don't know
<weasel> your profile will tell you afterwards
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1707#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs