Re: PATCH [0/4] perf: clean-up of power events API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: PATCH [0/4] perf: clean-up of power events API
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Fri, 08 Oct 2010 13:21:35 -0400
- Cc: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Tejun Heo <tj@xxxxxxxxxx>, Frederic Weisbecker <fweisbec@xxxxxxxxx>, Pierre Tardy <tardyp@xxxxxxxxx>, Thomas Renninger <trenn@xxxxxxx>, Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>, linux-trace-users@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx, linux-perf-users@xxxxxxxxxxxxxxx, rjw@xxxxxxx, linux-omap@xxxxxxxxxxxxxxx, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>, Frank Eigler <fche@xxxxxxxxxx>, Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <4CAF4554.7070303@xxxxxxxxxxxxxxx>
- References: <1286205661-24448-1-git-send-email-jean.pihet@xxxxxxxxxxxxxx> <201010062334.46971.trenn@xxxxxxx> <20101007150825.GB12581@Krystal> <AANLkTikT4xsh7iCQDX8ksewJwC-BeFov=Ab7iYo+hDmO@xxxxxxxxxxxxxx> <20101007155816.GA5351@nowhere> <4CAED2F0.9080801@xxxxxxxxxx> <20101008083819.GA22385@xxxxxxx> <4CAF19E7.3070103@xxxxxxxxxxxxxxx> <20101008134156.GA28724@Krystal> <4CAF4554.7070303@xxxxxxxxxxxxxxx>
On Fri, 2010-10-08 at 09:22 -0700, Arjan van de Ven wrote:
> On 10/8/2010 6:41 AM, Mathieu Desnoyers wrote:
> because that is not workable... at least nobody has shown to be able to
> make this work.
> libraries (after compilation) live in /lib or /usr/lib (or lib64 I
> suppose).....
> what mechanism ensures that a user who compiles his kernel gets a
> library compatible with that kernel in /usr/lib?
> and can said library deal with older kernels too? And distro kernels?
Perhaps we should have "make install" of a kernel also install this
library?
Have two libraries? One that is linked to the app, the other that can
search for another library to link on load too (like a kernel.ld.so)
Then we could see the kernel version, and search for a library that is
compatible, and load that one.
The app only needs to worry about loading the generic library. The
generic library can test for compatible libraries for the kernel.
Could just be..
libkernel.ld.so which then loads..
/lib/modules/2.6.36/libkernel.so
Just a little brain storming.
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]