* Namhyung Kim <namhy...@kernel.org> wrote: > Hi, > > On Mon, 5 Aug 2013 01:23:20 -0700, Christoph Hellwig wrote: > > On Mon, Aug 05, 2013 at 10:16:41AM +0200, Ingo Molnar wrote: > >> If you want fewer dependencies then build with 'make NO_GTK=1'. > > > > Doesn't help the distros. Installing perf and pulling all the > > graphics libraries in is highly annoying, especially in size > > constrained VM or Cloud images. Having a separate binary or at least > > an ldopen()able plugin that can go into a separate package is highly > > desirable. > > I wrote a patch series [1] separating gtk code to a dso and use it with > libdl last year. But I didn't get much feedback probably due to the > mistake of not installing the dso to a proper place. It'd be great if > you guys take a look at it and give some comments. > > Thanks, > Namhyung > > > [1] https://lkml.org/lkml/2012/11/14/510
Assuming that in the normal case it can be made to work like a full build of perf today (i.e. without forcing LD_PRELOAD) then splitting the libraries away looks like a much better solution than splitting the binary. Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/