Skip to content

Commit

Permalink
Remove unused DEBUG_FORKGPROF
Browse files Browse the repository at this point in the history
  • Loading branch information
mkj committed May 29, 2020
1 parent b0243b0 commit 846b8cd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down
5 changes: 0 additions & 5 deletions svr-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,6 @@ static void main_noinetd() {
} 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);
Expand Down

0 comments on commit 846b8cd

Please sign in to comment.