From: Julian Seward Date: Sun, 26 Jul 2009 19:50:06 +0000 (+0000) Subject: Only collect stacktraces at scalar Kr boundaries at history level 1. X-Git-Tag: svn/VALGRIND_3_5_0~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa884bb88835625926c49e3c008c1a3c562425a7;p=thirdparty%2Fvalgrind.git Only collect stacktraces at scalar Kr boundaries at history level 1. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10621 --- diff --git a/helgrind/libhb_core.c b/helgrind/libhb_core.c index b509401999..58b5c6a3e9 100644 --- a/helgrind/libhb_core.c +++ b/helgrind/libhb_core.c @@ -2885,6 +2885,11 @@ static void note_local_Kr_n_stack_for ( Thr* thr ) Word nPresent; ULong_n_EC pair; tl_assert(thr); + + // We only collect this info at history level 1 (approx) + if (HG_(clo_history_level) != 1) + return; + /* This is the scalar Kr for thr. */ pair.ull = VtsID__indexAt( thr->viR, thr ); pair.ec = main_get_EC( thr );