# HG changeset patch # User Matt Johnston # Date 1590766339 -28800 # Node ID 3f80da5fe0b402e67c561a37b2ca5332f41a74cd # Parent 5b701bf529aa52aee5369b2515817640d71bc3bd Remove unused DEBUG_FORKGPROF diff -r 5b701bf529aa -r 3f80da5fe0b4 debug.h --- a/debug.h Fri May 29 18:26:22 2020 +0500 +++ b/debug.h Fri May 29 23:32:19 2020 +0800 @@ -43,12 +43,6 @@ #define CHECKCLEARTOWRITE() #endif -/* Define this, compile with -pg and set GMON_OUT_PREFIX=gmon to get gmon - * output when Dropbear forks. This will allow it gprof to be used. - * It's useful to run dropbear -F, so you don't fork as much */ -/* (This is Linux specific) */ -/*#define DEBUG_FORKGPROF*/ - /* A couple of flags, not usually useful, and mightn't do anything */ /*#define DEBUG_KEXHASH*/ diff -r 5b701bf529aa -r 3f80da5fe0b4 svr-main.c --- a/svr-main.c Fri May 29 18:26:22 2020 +0500 +++ b/svr-main.c Fri May 29 23:32:19 2020 +0800 @@ -296,11 +296,6 @@ } else { /* child */ -#ifdef DEBUG_FORKGPROF - extern void _start(void), etext(void); - monstartup((u_long)&_start, (u_long)&etext); -#endif /* DEBUG_FORKGPROF */ - getaddrstring(&remoteaddr, NULL, &remote_port, 0); dropbear_log(LOG_INFO, "Child connection from %s:%s", remote_host, remote_port); m_free(remote_host);