Hi,
Here is a proposal of a small contribution which tries to fulfill the
task "Use Kconfig to allow selecting features and build minimal
version of perf,..." displayed on the todo page of the perf
wiki (https://perf.wiki.kernel.org/index.php/Todo).
I tried to continue the work started by David Ahern
(https://github.com/dsahern/linux.git branch:perf-config). This
version relies on the features detection tests available in
linux/tools/perf/config/feature-checks so as to enable some
configuration options (at least by default).
This little task is not complete; more Kconfig options should be added
for each perf tool (top, record, report, ...).
I just wanted to ask whether you consider this proposal as interesting
enough for inclusion and if you are ok with the way it is implemented.
The code is available here: https://github.com/aberlemont/linux.git
- branch: perf-config.