From 752881e230917765e06f2feca813664bef9fbc9e Mon Sep 17 00:00:00 2001 From: Raphael 'kena' Poss Date: Mon, 21 Sep 2020 08:56:18 +0200 Subject: [PATCH] Revert "roachtest: enable jemalloc profiling in all roachtests" This reverts commit 2d69b3d769e633a86a846779a713aa7dd9657376. Release note: None --- pkg/cmd/roachtest/cluster.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/cmd/roachtest/cluster.go b/pkg/cmd/roachtest/cluster.go index c760ec2fd40a..7d3bb3a8e446 100644 --- a/pkg/cmd/roachtest/cluster.go +++ b/pkg/cmd/roachtest/cluster.go @@ -2124,20 +2124,12 @@ func (c *cluster) StartE(ctx context.Context, opts ...option) error { } args = append(args, roachprodArgs(opts)...) args = append(args, c.makeNodes(opts...)) - // Enable Jemalloc profiles for all roachtests. This has only - // minimal performance impact and significantly improves the - // troubleshootability of memory-related issues. - args = append(args, enableJemallocArgs()...) if !argExists(args, "--encrypt") && c.encryptDefault { args = append(args, "--encrypt") } return execCmd(ctx, c.l, args...) } -func enableJemallocArgs() []string { - return []string{"-e", "MALLOC_CONF=prof:true"} -} - // Start is like StartE() except it takes a test and, on error, calls t.Fatal(). func (c *cluster) Start(ctx context.Context, t *test, opts ...option) { FatalIfErr(t, c.StartE(ctx, opts...))