]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gprof: print values of mismatched histogram scales
authorRichard Allen <rsaxvc@gmail.com>
Sun, 9 Feb 2025 16:49:00 +0000 (10:49 -0600)
committerAlan Modra <amodra@gmail.com>
Sun, 9 Feb 2025 22:28:02 +0000 (08:58 +1030)
Signed-off-by: Richard Allen <rsaxvc@gmail.com>
gprof/hist.c

index c87a5de6b1dcd8b81f912a6e4875fa139511920c..1193b7025e95ccb1e1abe4f1d38cb9e9e1d45739 100644 (file)
@@ -155,8 +155,8 @@ read_histogram_header (histogram *record,
       if (fabs (hist_scale - n_hist_scale) > 0.000001)
        {
          fprintf (stderr,
-                  _("%s: different scales in histogram records\n"),
-                  whoami);
+                  _("%s: different scales in histogram records: %f != %f\n"),
+                  whoami, hist_scale, n_hist_scale);
          done (1);
        }
     }