diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-05-22 16:50:47 -0700 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2017-06-05 12:30:05 -0700 |
commit | f50079985c97404d62a208f2937ad6afd3f07f0f (patch) | |
tree | d91253b040979858f828a69610aa7cd52bac87ae /scripts/checkpatch.pl | |
parent | 5229c453630c0b023c3d65ef6005adbe48062bbb (diff) | |
download | upstream-f50079985c97404d62a208f2937ad6afd3f07f0f.tar.gz upstream-f50079985c97404d62a208f2937ad6afd3f07f0f.tar.bz2 upstream-f50079985c97404d62a208f2937ad6afd3f07f0f.zip |
perf: Depend on KERNEL_PERF_EVENTS
The kernel needs to have PERF_EVENTS built otherwise we will run into
the following:
root@(none):/# perf top
perf_event_open(..., PERF_FLAG_FD_CLOEXEC) failed with unexpected error
89 (Function not implemented)
perf_event_open(..., 0) failed unexpectedly with error 89 (Function not
implemented)
Error:
The sys_perf_event_open() syscall returned with 89 (Function not
implemented) for event (cycles).
/bin/dmesg may provide additional information.
No CONFIG_PERF_EVENTS=y kernel support configured?
Make sure this functional dependency is captured.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions