This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 3/3] Test on solib load and unload
- From: Yao Qi <yao at codesourcery dot com>
- To: "Blanc, Nicolas" <nicolas dot blanc at intel dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 3 Sep 2013 10:02:59 +0800
- Subject: Re: [RFC 3/3] Test on solib load and unload
- Authentication-results: sourceware.org; auth=none
- References: <520B7F70 dot 6070207 at codesourcery dot com> <1377663394-4975-1-git-send-email-yao at codesourcery dot com> <1377663394-4975-4-git-send-email-yao at codesourcery dot com> <521D7BCA dot 10806 at codesourcery dot com> <388084C8C1E6A64FA36AD1D656E4856624357388 at IRSMSX106 dot ger dot corp dot intel dot com>
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 (éå)