From: Pekka Enberg <penberg@kernel.org> To: Namhyung Kim <namhyung@kernel.org> Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>, Ingo Molnar <mingo@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Steven Rostedt <rostedt@goodmis.org>, David Ahern <dsahern@gmail.com>, Jiri Olsa <jolsa@redhat.com>, Andi Kleen <ak@linux.intel.com>, LKML <linux-kernel@vger.kernel.org> Subject: Re: [RFC 0/5] perf ui/gtk: Separate out GTK codes to a shared object Date: Thu, 15 Nov 2012 09:43:07 +0200 (EET) Message-ID: <alpine.LFD.2.02.1211150942260.2386@tux.localdomain> (raw) In-Reply-To: <1352911664-24620-1-git-send-email-namhyung@kernel.org> On Thu, 15 Nov 2012, Namhyung Kim wrote: > This is an RFC patchset to separate GTK GUI codes to a shared object, > called libperf-gtk.so and use it with libdl. It's in an early-stage > so probably has some rough edges, but I'd like to get some comments. > > For now, the libperf-gtk.so (I'm open to a better name suggestion) > contains whole libperf.a and libtraceevent.a for simplicity. And > because of that, every single object in perf tools needs to be built > as a PIC like libtraceevent does. > > As a result, library dependency of the perf itself reduced like this: [snip] > To run GTK report browser, you can do it with usual --gtk option but > you might need to setup LD_LIBRARY_PATH. > > $ LD_LIBRARY_PATH=$PWD ./perf report --gtk > > Missing LD_LIBRARY_PATH will lead to a fallback TUI or stdio (for > NO_NEWT=1 build) report browser. What's the benefit of doing this? Requiring users to specify LD_LIBRARY_PATH seems like a major PITA. Pekka
next prev parent reply index Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-11-14 16:47 Namhyung Kim 2012-11-14 16:47 ` [PATCH 1/5] perf ui: Always compile error printing code Namhyung Kim 2013-01-24 18:36 ` [tip:perf/core] " tip-bot for Namhyung Kim 2012-11-14 16:47 ` [PATCH 2/5] perf ui/helpline: Introduce ui_helpline__vshow() Namhyung Kim 2013-01-24 18:37 ` [tip:perf/core] " tip-bot for Namhyung Kim 2012-11-14 16:47 ` [PATCH 3/5] perf tools: Separate out GTK codes to libperf-gtk.so Namhyung Kim 2012-11-14 16:47 ` [PATCH 4/5] perf tools: Setup GTK browser dynamically Namhyung Kim 2012-11-14 16:47 ` [PATCH 5/5] perf report: Run dynamic loaded GTK browser Namhyung Kim 2012-11-15 7:43 ` Pekka Enberg [this message] 2012-11-15 8:51 ` [RFC 0/5] perf ui/gtk: Separate out GTK codes to a shared object Namhyung Kim
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=alpine.LFD.2.02.1211150942260.2386@tux.localdomain \ --to=penberg@kernel.org \ --cc=acme@ghostprotocols.net \ --cc=ak@linux.intel.com \ --cc=dsahern@gmail.com \ --cc=jolsa@redhat.com \ --cc=linux-kernel@vger.kernel.org \ --cc=mingo@kernel.org \ --cc=namhyung@kernel.org \ --cc=peterz@infradead.org \ --cc=rostedt@goodmis.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
LKML Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git git clone --mirror https://lore.kernel.org/lkml/8 lkml/git/8.git git clone --mirror https://lore.kernel.org/lkml/9 lkml/git/9.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \ linux-kernel@vger.kernel.org public-inbox-index lkml Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git