From: Julian Seward Date: Mon, 23 Apr 2012 09:53:20 +0000 (+0000) Subject: Disable debug printing w.r.t. sector unlinking. X-Git-Tag: svn/VALGRIND_3_8_0~329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c40806908b9f16eb2cbadd755b316df11103d4;p=thirdparty%2Fvalgrind.git Disable debug printing w.r.t. sector unlinking. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12539 --- diff --git a/coregrind/m_transtab.c b/coregrind/m_transtab.c index 5d059a252d..1d3cc206dc 100644 --- a/coregrind/m_transtab.c +++ b/coregrind/m_transtab.c @@ -64,8 +64,7 @@ fits in a UShort, leaving room for 0xFFFF(EC2TTE_DELETED) to denote 'deleted') and it is strongly recommended not to change this. 65521 is the largest prime <= 65535. */ -#define N_TTES_PER_SECTOR /*30011*/ /*40009*/ 65521 -//DEBUG-ONLY: #define N_TTES_PER_SECTOR 10007 +#define N_TTES_PER_SECTOR /*10007*/ /*30011*/ /*40009*/ 65521 /* Because each sector contains a hash table of TTEntries, we need to specify the maximum allowable loading, after which the sector is @@ -1372,7 +1371,7 @@ static void initialiseSector ( Int sno ) VG_(machine_get_VexArchInfo)( &vex_arch, NULL ); /* Visit each just-about-to-be-abandoned translation. */ -VG_(printf)("QQQ unlink-entire-sector: %d START\n", sno); + if (0) VG_(printf)("QQQ unlink-entire-sector: %d START\n", sno); for (i = 0; i < N_TTES_PER_SECTOR; i++) { if (sec->tt[i].status == InUse) { vg_assert(sec->tt[i].n_tte2ec >= 1); @@ -1391,7 +1390,7 @@ VG_(printf)("QQQ unlink-entire-sector: %d START\n", sno); sec->tt[i].status = Empty; sec->tt[i].n_tte2ec = 0; } -VG_(printf)("QQQ unlink-entire-sector: %d END\n", sno); + if (0) VG_(printf)("QQQ unlink-entire-sector: %d END\n", sno); /* Free up the eclass structures. */ for (i = 0; i < ECLASS_N; i++) {