summaryrefslogtreecommitdiff
path: root/miniperlmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'miniperlmain.c')
-rw-r--r--miniperlmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miniperlmain.c b/miniperlmain.c
index 2994440f46..ed28f47f2a 100644
--- a/miniperlmain.c
+++ b/miniperlmain.c
@@ -42,6 +42,10 @@ main(int argc, char **argv, char **env)
#undef PERLVARIC
#endif
+ /* if user wants control of gprof profiling off by default */
+ /* noop unless Configure is given -Accflags=-DPERL_GPROF_CONTROL */
+ PERL_GPROF_MONCONTROL(0);
+
PERL_SYS_INIT3(&argc,&argv,&env);
if (!PL_do_undump) {