On Thu, Jun 12, 2014 at 09:34:32AM -0300, Arnaldo Carvalho de Melo wrote:
Em Thu, Jun 12, 2014 at 10:26:42AM +0200, Jean Pihet escreveu:
This is a first move of the perf code into a set of libraries, which allow the implementation of other external tools.
The first users of the perf libraries would be:
- perf itself,
- the RAS daemon.
The commit includes:
- the move of the code from util to lib/perf_util,
- creation of Makefile in perf_util,
- update of Makefile.perf to build a library for perf_util,
- fix of the include paths, eg. "../perf.h" to <perf.h>, "util/hist.h" to <hist.h>
Can't you just go moving what you actually use? Or do you really plan to use all that?
You asked me that same question when I was doing that. :-)
And I told Jean repeatedly that this needs to be splitted slowly, in smaller libraries like we've been discussing it numerous times.
:-\