[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131121120605.GC26009@pd.tnic>
Date: Thu, 21 Nov 2013 13:06:05 +0100
From: Borislav Petkov <bp@...en8.de>
To: Ingo Molnar <mingo@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, Borislav Petkov <bp@...e.de>,
Arnaldo Carvalho de Melo <acme@...radead.org>,
Jiri Olsa <jolsa@...hat.com>,
Peter Zijlstra <peterz@...radead.org>,
Robert Richter <rric@...nel.org>
Subject: Re: [PATCH] perf: Move fs.* to generic lib/lk/
On Thu, Nov 21, 2013 at 12:42:24PM +0100, Ingo Molnar wrote:
> Ok - so why not call it tools/lib/kernel/ or tools/lib/kernelapi/ or
> tools/lib/kapi/?
I like short names so "kapi" it is.
> That's really what is common about it: it offers various helper
> methods to interface with the Linux kernel: debugfs, procfs, sysfs
> handling routines with no policy, just pure, obvious helpers to use
> kernel functionality.
Yes.
> [ Naming it 'ktools' is not optimal because these are already tools/
> ... the secondary meaning of 'tools' in that context is easily lost.
> Same goes for 'kutils', the secondary meaning is confusing (to me). ]
Ok.
> ... and just in case you are wondering why I'm making a fuss about it:
> a naming discussion for something fundamental as this isn't bikeshed
> painting, we really want people to look at that place to readily
> stuff kernel related helpers into, and the name should make that very
> obvious.
No, I absolutely don't think it is a bikeshedding exercise too. We
really need that lib because people have started growing their own
facilities in tools/ and outside so having a lib which implements
generic functionality for interfacing with the kernel right is going to
save everyone a lot of time and energy.
So kapi it is, I'm gonna convert what we have to it but leave time for
acme to wake up and smell the coffee ... and the change :-)
Thanks.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists