summaryrefslogtreecommitdiff
path: root/cmd/dmap/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dmap/main.go')
-rw-r--r--cmd/dmap/main.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go
index f3f706a..07b7f2f 100644
--- a/cmd/dmap/main.go
+++ b/cmd/dmap/main.go
@@ -10,7 +10,6 @@ import (
"github.com/mimecast/dtail/internal/config"
"github.com/mimecast/dtail/internal/io/logger"
"github.com/mimecast/dtail/internal/omode"
- "github.com/mimecast/dtail/internal/pprof"
"github.com/mimecast/dtail/internal/user"
"github.com/mimecast/dtail/internal/version"
)
@@ -24,7 +23,6 @@ func main() {
var displayVersion bool
var files string
var noColor bool
- var pprofEnable bool
var queryStr string
var serversStr string
var silentEnable bool
@@ -36,7 +34,6 @@ func main() {
flag.BoolVar(&debugEnable, "debug", false, "Activate debug messages")
flag.BoolVar(&displayVersion, "version", false, "Display version")
flag.BoolVar(&noColor, "noColor", false, "Disable ANSII terminal colors")
- flag.BoolVar(&pprofEnable, "pprofEnable", false, "Enable pprof server")
flag.BoolVar(&silentEnable, "silent", false, "Reduce output")
flag.BoolVar(&trustAllHosts, "trustAllHosts", false, "Auto trust all unknown host keys")
flag.IntVar(&connectionsPerCPU, "cpc", 10, "How many connections established per CPU core concurrently")
@@ -61,9 +58,6 @@ func main() {
serverEnable := false
logger.Start(ctx, serverEnable, debugEnable, silentEnable, silentEnable)
- if pprofEnable || config.Common.PProfEnable {
- pprof.Start()
- }
args := clients.Args{
ConnectionsPerCPU: connectionsPerCPU,