|
From: <sv...@va...> - 2009-07-26 19:50:19
|
Author: sewardj
Date: 2009-07-26 20:50:06 +0100 (Sun, 26 Jul 2009)
New Revision: 10621
Log:
Only collect stacktraces at scalar Kr boundaries at history level 1.
Modified:
trunk/helgrind/libhb_core.c
Modified: trunk/helgrind/libhb_core.c
===================================================================
--- trunk/helgrind/libhb_core.c 2009-07-26 19:41:07 UTC (rev 10620)
+++ trunk/helgrind/libhb_core.c 2009-07-26 19:50:06 UTC (rev 10621)
@@ -2885,6 +2885,11 @@
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 );
|