Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
valgrind: Enable running processes under valgrind
Assumes /usr/bin/valgrind is the right location. Create a file: XORP_USE_VALGRIND in the local directory that you are running xorp. Start xorp_rtrmgr as normal (possibly under valgrind as well). Anything that xorp_rtrmgr runs will be started under valgrind as well. Also: If xorp_do_run is false (shutting down process), don't let eventloop sleep more than 1 second per loop. This should fix hangs on shutdown that I (still) see in bgp. Signed-off-by: Ben Greear <greearb@candelatech.com>
- Loading branch information
Showing
4 changed files
with
67 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters