xref: /netbsd-src/external/bsd/jemalloc/dist/test/unit/prof_idump.sh (revision a0698ed9d41653d7a2378819ad501a285ca0d401)
1*a0698ed9Schristos#!/bin/sh
2*a0698ed9Schristos
3*a0698ed9Schristosexport MALLOC_CONF="tcache:false"
4*a0698ed9Schristosif [ "x${enable_prof}" = "x1" ] ; then
5*a0698ed9Schristos  export MALLOC_CONF="${MALLOC_CONF},prof:true,prof_accum:true,prof_active:false,lg_prof_sample:0,lg_prof_interval:0"
6*a0698ed9Schristosfi
7*a0698ed9Schristos
8*a0698ed9Schristos
9