linux: automatically set CONFIG_PERF_EVENTS when perf is enabled
authorJan Heylen <jan.heylen@nokia.com>
Wed, 4 Jul 2018 07:07:35 +0000 (09:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Jul 2018 19:52:11 +0000 (21:52 +0200)
commit63d76c6f2f04c836af24098e26f2befe1e8e4cc4
treecf002404d3c7b59b96bdc0a2d1f1ff0992ad20e0
parent3f4df8cd162d6557d315360a78c3271f71d9a275
linux: automatically set CONFIG_PERF_EVENTS when perf is enabled

Perf profiling cannot be used if CONFIG_PERF_EVENTS is not enabled in the
kernel configuration. Similar to other tools, like ktap, we can enable the
right options automatically.

Signed-off-by: Jan Heylen <jan.heylen@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
linux/linux.mk
package/linux-tools/Config.in