From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.bugs Subject: bug#22114: 24.5; [PATCH] Allow profiler.el to display reports after stopping Date: Sun, 13 Dec 2015 21:33:23 +0100 Message-ID: <20151213203323.GB1296@odonien.fritz.box> References: <83bna0di5k.fsf@gnu.org> <20151208163208.GA1080@odonien.bevuta.com> <837fkodf3e.fsf@gnu.org> <83zixkbyoj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1450038866 6624 80.91.229.3 (13 Dec 2015 20:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Dec 2015 20:34:26 +0000 (UTC) Cc: John Wiegley , 22114@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 13 21:34:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8DLR-0006jF-E8 for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 21:34:13 +0100 Original-Received: from localhost ([::1]:56520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8DLQ-0004Ag-Nf for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Dec 2015 15:34:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8DLL-00046k-MY for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8DLG-0000Mw-JY for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8DLG-0000MY-HH for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a8DLG-00074T-5J for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2015 15:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vasilij Schneidermann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2015 20:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22114 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 22114-submit@debbugs.gnu.org id=B22114.145003881327144 (code B ref 22114); Sun, 13 Dec 2015 20:34:02 +0000 Original-Received: (at 22114) by debbugs.gnu.org; 13 Dec 2015 20:33:33 +0000 Original-Received: from localhost ([127.0.0.1]:50607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8DKn-00073k-Hi for submit@debbugs.gnu.org; Sun, 13 Dec 2015 15:33:33 -0500 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:34331) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8DKl-00073W-31 for 22114@debbugs.gnu.org; Sun, 13 Dec 2015 15:33:31 -0500 Original-Received: by mail-wm0-f41.google.com with SMTP id p66so36784715wmp.1 for <22114@debbugs.gnu.org>; Sun, 13 Dec 2015 12:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=IrhsvkIQtYczPIToTsrdTSy9m7EQsSOc9LEKGRsT8r8=; b=O+c4/2QDs70kT7CdTyp8dAjt/BqV51+mqAAUqpY+G7/JwR8C2SjSra/yQoPzvxXeJU JH5+z6ONuP2KPB/wsxeOHxw7NYqZtZ6BzhfIB5iBkwcc7omdhDJGxscSSYbaaBmFc71T 7NEoMC7mdRHZAGmi7Axz6pKRTfDvgNqll9HZWWrKImz3WZpdHKLiOfQ1bkNVNc08oyQn zXeCdZNajwlQsaOcj1RvI5aTT9uJae7xFwXTdfy9167yrJ+0HYF/Z4C629lDFzOOxkGm sx9th76FKVOdv7iMt9RwIBMLVPgIjJP5LuzNaXfrp7ZzTvpSe1PfoxjZtltpUuhbIOK3 6sIQ== X-Received: by 10.28.143.11 with SMTP id r11mr20301759wmd.28.1450038805414; Sun, 13 Dec 2015 12:33:25 -0800 (PST) Original-Received: from localhost (dslb-088-078-205-095.088.078.pools.vodafone-ip.de. [88.78.205.95]) by smtp.gmail.com with ESMTPSA id e136sm7483590wma.23.2015.12.13.12.33.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Dec 2015 12:33:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <83zixkbyoj.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109957 Archived-At: Meanwhile, I've come up with a simpler approach to solving this at the C level. Basically the problem is that if log is exposed, it cannot be used again from profiler.el. What if one would just create a deep copy of the log that can be safely used externally?