Messages in this thread | | | Date | Thu, 10 Dec 2015 11:00:12 +0900 | From | Namhyung Kim <> | Subject | Re: [PATCH v2 00/14] perf tools: Move perf subcommand framework into lib/tools |
| |
On Mon, Dec 07, 2015 at 10:21:38PM -0600, Josh Poimboeuf wrote: > Ingo suggested that I factor out the perf subcommand functionality > (originally copied from git) into tools/lib so that it can be used by > stacktool[*] and possibly others. > > All the subcommand option handling files have been moved into libapi, > including parse-options.c, run-command.c, exec_cmd.c, help.c, usage.c, > and their dependencies. Since several of the dependencies are more > general-purpose "utilities" which aren't directly related to > subcommands, I put everything in 'tools/lib/api/util'. They're linked > into perf as part of the libapi.a library. > > Patches 1-13 do some cleanups and splitting up of the code in > preparation for the move. > > Patch 14 does the actual moving of the files into tools/lib/api/util. > > Based on tip/perf/core. > > [*] https://lkml.kernel.org/r/cover.1445443144.git.jpoimboe@redhat.com
Is there a public repo that I can pull and test?
Thanks, Namhyung
| |