From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Elisp native profiler Date: Tue, 25 Sep 2012 15:18:23 +0200 Message-ID: <83zk4egs0w.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348579133 10994 80.91.229.3 (25 Sep 2012 13:18:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Sep 2012 13:18:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 25 15:18:59 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 1TGV2P-0006PA-D0 for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2012 15:18:57 +0200 Original-Received: from localhost ([::1]:55415 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGV2K-0007t3-Eq for ged-emacs-devel@m.gmane.org; Tue, 25 Sep 2012 09:18:52 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGV2H-0007sc-Iz for emacs-devel@gnu.org; Tue, 25 Sep 2012 09:18:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGV2G-0001EA-LO for emacs-devel@gnu.org; Tue, 25 Sep 2012 09:18:49 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGV2G-0001Ds-CY for emacs-devel@gnu.org; Tue, 25 Sep 2012 09:18:48 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MAW00I00Q9FEY00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 25 Sep 2012 15:18:27 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAW00H56QARWRH0@a-mtaout20.012.net.il>; Tue, 25 Sep 2012 15:18:27 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:153533 Archived-At: > From: Stefan Monnier > Date: Mon, 24 Sep 2012 22:41:37 -0400 > > The native profiler is pretty much ready for inclusion in the trunk. > But I'm not sure how to update src/makefile-w32 so as to add the new > profiler.o file. > Could someone check out the `profiler' branch and fix it so it compiles > under w32 as well? How do you mean "compiles"? If you want the profiler to actually work in the w32 build, additional code needs to be written, to replace setitimer and the SIGPROF signal, which aren't supported on Windows. If you only mean to exclude the HAVE_SETITIMER parts, then that's a simpler job, but then sampling of the call stack will not work. If you want this part of Emacs 24.3, it would make sense to work on implementing the alternative to setitimer and SIGPROF now.