]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Tweak printing of `I refs` and `D refs` lines.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 20 Apr 2023 23:33:04 +0000 (09:33 +1000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Fri, 21 Apr 2023 12:18:09 +0000 (22:18 +1000)
Because `--cache-sim=no` is the default now, and `I   refs:` looks weird
by itself.

15 files changed:
cachegrind/cg_main.c
cachegrind/tests/ann-diff1.stderr.exp
cachegrind/tests/ann-diff2.stderr.exp
cachegrind/tests/ann-diff3.stderr.exp
cachegrind/tests/ann-diff4.stderr.exp
cachegrind/tests/ann-merge1.stderr.exp
cachegrind/tests/ann-merge2.stderr.exp
cachegrind/tests/ann1a.stderr.exp
cachegrind/tests/ann1b.stderr.exp
cachegrind/tests/ann2.stderr.exp
cachegrind/tests/chdir.stderr.exp
cachegrind/tests/dlclose.stderr.exp
cachegrind/tests/notpower2.stderr.exp
cachegrind/tests/wrap5.stderr.exp
cachegrind/tests/x86/fpu-28-108.stderr.exp

index c17ab975b03c3b4240dce5e54e2eeead3ac92d07..1ef7ce4f93742656708aabb3292125fbb51912c0 100644 (file)
@@ -1589,7 +1589,7 @@ static void cg_fini(Int exitcode)
    VG_(sprintf)(fmt, "%%s %%,%dllu\n", l1);
 
    /* Always print this */
-   VG_(umsg)(fmt, "I   refs:     ", Ir_total.a);
+   VG_(umsg)(fmt, "I refs:       ", Ir_total.a);
 
    /* If cache profiling is enabled, show D access numbers and all
       miss numbers */
@@ -1614,7 +1614,7 @@ static void cg_fini(Int exitcode)
       VG_(sprintf)(fmt, "%%s %%,%dllu  (%%,%dllu rd   + %%,%dllu wr)\n",
                         l1, l2, l3);
 
-      VG_(umsg)(fmt, "D   refs:     ", 
+      VG_(umsg)(fmt, "D refs:       ", 
                      D_total.a, Dr_total.a, Dw_total.a);
       VG_(umsg)(fmt, "D1  misses:   ",
                      D_total.m1, Dr_total.m1, Dw_total.m1);
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index e8084c12c31786664f7954f1d874288066d86f0a..6960e51afbab8a93281c92581fbc9706433479c4 100644 (file)
@@ -1,12 +1,12 @@
 
 
-I   refs:
+I refs:
 I1  misses:
 LLi misses:
 I1  miss rate:
 LLi miss rate:
 
-D   refs:
+D refs:
 D1  misses:
 LLd misses:
 D1  miss rate:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs:
index ec68407b27ce0f774afb5b00290642cd68aaf5b1..28cb02fa84dae43484c5f8846780c423053245ea 100644 (file)
@@ -1,3 +1,3 @@
 
 
-I   refs:
+I refs: