Re: [PATCH] basic perf support for sparc

From: David Miller
Date: Tue Aug 04 2009 - 09:02:13 EST


From: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
Date: Tue, 04 Aug 2009 11:29:00 +0200

> On Tue, 2009-08-04 at 11:25 +0200, Ingo Molnar wrote:
>> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
>>
>> > +static void load_perf_bfd_demangle(void)
>> > +{
>> > + void *handle = dlopen("libbfd-2.19.51.0.2-17.fc11.so", RTLD_NOW);
>>
>> Hm, this does not look like a very generic solution. Is there some
>> way to do a library search to figure out the name? I guess a glob
>> match on /usr/lib/libbfd*.so?
>
> I'd simply go for libbfd.so and raise a bug report against fedora. A
> link archive named .so is just stupid.

It really isn't, I find it surprising why people are so up in
arms about this. It's a quite common technique.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/