diff options
| author | Jan Heylen <jan.heylen@nokia.com> | 2018-07-04 09:07:35 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-07-04 21:52:11 +0200 |
| commit | 63d76c6f2f04c836af24098e26f2befe1e8e4cc4 (patch) | |
| tree | cf002404d3c7b59b96bdc0a2d1f1ff0992ad20e0 /package/linux-tools/Config.in | |
| parent | 3f4df8cd162d6557d315360a78c3271f71d9a275 (diff) | |
| download | buildroot-63d76c6f2f04c836af24098e26f2befe1e8e4cc4.tar.gz buildroot-63d76c6f2f04c836af24098e26f2befe1e8e4cc4.zip | |
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>
Diffstat (limited to 'package/linux-tools/Config.in')
| -rw-r--r-- | package/linux-tools/Config.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/linux-tools/Config.in b/package/linux-tools/Config.in index 2527c90257..349dc6bf0d 100644 --- a/package/linux-tools/Config.in +++ b/package/linux-tools/Config.in @@ -47,9 +47,11 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF code), single CPU or severals threads. This will build and install the userspace 'perf' - command. It is up to the user to ensure that the kernel - configuration has all the suitable options enabled to allow a - proper operation of 'perf'. + command. + + Your kernel must have CONFIG_PERF_EVENTS enabled to use perf + profiling. Buildroot automatically enables this in the kernel + configuration. https://perf.wiki.kernel.org/ |

