Subject: bug#22114: 24.5; [PATCH] Allow profiler.el to display reports after stopping

From: Stefan Monnier <[email-masked]>
Date: Sun, 13 Dec 2015 23:21:32 -0500

> profiler and doesn't reset the log after stopping.  Either my testing
> has been too superficial and something unexpected will come bite me or
> the comments are simply outdated.

Your testing was too superficial.  IIRC The problem to which the comments
refer can only show up if you modify the hash-table.

The problem is corner-case, but real.  And there's no reason not to plug
that hole.  E.g. I don't think you need to the C-side changes to get the
Elisp side to provide the functionality you're looking for.

        Stefan