|
From: Nicholas N. <nj...@ca...> - 2004-10-13 11:32:06
|
CVS commit by nethercote:
Add a new CPUID cache configuration for more recent Pentiums.
MERGED FROM HEAD
M +1 -0 cg_main.c 1.76.2.1
--- valgrind/cachegrind/cg_main.c #1.76:1.76.2.1
@@ -767,4 +767,5 @@ Int Intel_cache_info(Int level, cache_t*
/* These are sectored, whatever that means */
+ case 0x60: *D1c = (cache_t) { 16, 8, 64 }; break; /* sectored */
case 0x66: *D1c = (cache_t) { 8, 4, 64 }; break; /* sectored */
case 0x67: *D1c = (cache_t) { 16, 4, 64 }; break; /* sectored */
|
|
From: Tom H. <th...@cy...> - 2004-10-28 08:18:57
|
CVS commit by thughes:
Cope with arguments over 510 characters in length when writing the
cachegrind output file.
MERGED FROM HEAD
M +2 -2 cg_main.c 1.76.2.2
--- valgrind/cachegrind/cg_main.c #1.76.2.1:1.76.2.2
@@ -1144,6 +1144,6 @@ static void fprint_CC_table_and_calc_tot
VG_(write)(fd, (void*)buf, VG_(strlen)(buf));
for (i = 0; i < VG_(client_argc); i++) {
- VG_(sprintf)(buf, " %s", VG_(client_argv)[i]);
- VG_(write)(fd, (void*)buf, VG_(strlen)(buf));
+ VG_(write)(fd, "", 1);
+ VG_(write)(fd, VG_(client_argv)[i], VG_(strlen)(VG_(client_argv)[i]));
}
// "events:" line
|