GNU bug report logs - #72559
31.0.50; profiler-report-write-profile produced unreadable data

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Sat, 10 Aug 2024 12:42:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 72559 <at> debbugs.gnu.org, pipcet <at> protonmail.com, yantar92 <at> posteo.net
Subject: bug#72559: 31.0.50; profiler-report-write-profile produced unreadable data
Date: Sat, 17 Aug 2024 13:03:16 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Pip Cet <pipcet <at> protonmail.com>,  yantar92 <at> posteo.net,
>   72559 <at> debbugs.gnu.org
> Date: Wed, 14 Aug 2024 08:48:43 -0400
> 
> > I think the patch below is in order (it partly undoes commit
> > a1f8702e8345).
> 
> Yeah, yeah,

Thanks, installed on the emacs-30 branch.

This seems to avoid errors, but I still see problems in the profile
read from a file, which is displayed like this:

     Samples    %   Function
          35  31%   redisplay_internal (C function)
          28  25% + command-execute
          28  25%   Automatic GC
           8   7% + #<string 540>
           7   6% + ...
           4   3% + #<string 54A>
           2   1% + #<string 57C>

Those "<string XYZ>" thingies are actually written in the file as
"#<byte-code-function F85>" strings, and I suspect that they should
have been written as function objects, not as strings.




This bug report was last modified 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.