From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tomohiro Matsuyama Newsgroups: gmane.emacs.devel Subject: Re: M-x profiler-report does nothing Date: Mon, 1 Oct 2012 20:20:31 +0900 Message-ID: <20121001202031.5514a8c39222c73e6f9214a8@cx4a.org> References: <83d312cydf.fsf@gnu.org> <20121001193909.2eaa02da984494b701a42b4c@cx4a.org> <838vbqcw19.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349090461 24826 80.91.229.3 (1 Oct 2012 11:21:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Oct 2012 11:21:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 01 13:21:05 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TIe3R-0003bo-RF for ged-emacs-devel@m.gmane.org; Mon, 01 Oct 2012 13:20:53 +0200 Original-Received: from localhost ([::1]:53730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIe3M-00013j-A0 for ged-emacs-devel@m.gmane.org; Mon, 01 Oct 2012 07:20:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIe3G-00012A-Oq for emacs-devel@gnu.org; Mon, 01 Oct 2012 07:20:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TIe3F-0008N1-JY for emacs-devel@gnu.org; Mon, 01 Oct 2012 07:20:42 -0400 Original-Received: from www6399u.sakura.ne.jp ([59.106.183.193]:54252 helo=cx4a.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TIe39-0008LZ-9Z; Mon, 01 Oct 2012 07:20:35 -0400 Original-Received: from thinkpad (EM117-55-65-141.emobile.ad.jp [117.55.65.141]) by cx4a.org (Postfix) with ESMTPSA id D318186C60; Mon, 1 Oct 2012 20:20:31 +0900 (JST) In-Reply-To: <838vbqcw19.fsf@gnu.org> X-Mailer: Sylpheed 3.2.0beta5 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 59.106.183.193 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:153816 Archived-At: On Mon, 01 Oct 2012 12:43:30 +0200 Eli Zaretskii wrote: > > Date: Mon, 1 Oct 2012 19:39:09 +0900 > > From: Tomohiro Matsuyama > > Cc: emacs-devel@gnu.org > > > > > Since today, this sequence: > > > > > > M-x profiler-start RET RET > > > M-x profiler-stop RET > > > M-x profiler-report RET > > > > > > produces nothing. Yesterday, I would get the results of profiling. > > > > > > What happened? It looks like now one can get the results only as long > > > as the profiler is running? Why? > > My first implementation had profiler-reset function to delegate a responsibility > > to clear the profiler log. But for now, profiler-stop and profiler-report reset > > the profiler log internally, so you got nothing. > > Is it wise to remove the profile when the user invokes profiler-stop? I don't think so. Give me more time to fix this flaw. Tomohiro