From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32688 invoked by alias); 3 Sep 2013 02:04:04 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 32675 invoked by uid 89); 3 Sep 2013 02:04:03 -0000 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 03 Sep 2013 02:04:03 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RDNS_NONE,SPF_HELO_FAIL autolearn=no version=3.3.2 X-HELO: relay1.mentorg.com Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VGfyJ-0003t9-8C from Yao_Qi@mentor.com ; Mon, 02 Sep 2013 19:03:59 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 2 Sep 2013 19:03:59 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Mon, 2 Sep 2013 19:03:58 -0700 Message-ID: <52254353.1080907@codesourcery.com> Date: Tue, 03 Sep 2013 02:04:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: "Blanc, Nicolas" CC: "gdb-patches@sourceware.org" Subject: Re: [RFC 3/3] Test on solib load and unload References: <520B7F70.6070207@codesourcery.com> <1377663394-4975-1-git-send-email-yao@codesourcery.com> <1377663394-4975-4-git-send-email-yao@codesourcery.com> <521D7BCA.10806@codesourcery.com> <388084C8C1E6A64FA36AD1D656E4856624357388@IRSMSX106.ger.corp.intel.com> In-Reply-To: <388084C8C1E6A64FA36AD1D656E4856624357388@IRSMSX106.ger.corp.intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00051.txt.bz2 Hi, Nicolas, On 09/02/2013 11:24 PM, Blanc, Nicolas wrote: >> >+ for (i = 0; i < number; i++) >> >+ dlclose (handles[i]); > The loop above closes SOs in FIFO style, which might be optimal for GDB. > You could alternate closing from the front and closing from the back. That is a good idea. I'll rewrite the code, and see how much the performance is impacted by the order. > > I found a bit odd that "make check-perf" is not recognized in the top gdb folder, > as "make check" is. But again, it's a minor point to me. Can you elaborate? "make check-perf" should be equivalent to "make check", but running different sets of test cases. -- Yao (齐尧)