From: Richard Allen Date: Sun, 9 Feb 2025 16:49:00 +0000 (-0600) Subject: gprof: print values of mismatched histogram scales X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb0930a0005f2e4229a0ad253236b432ba95524f;p=thirdparty%2Fbinutils-gdb.git gprof: print values of mismatched histogram scales Signed-off-by: Richard Allen --- diff --git a/gprof/hist.c b/gprof/hist.c index c87a5de6b1d..1193b7025e9 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -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); } }