diff options
| author | Huang Rui <[email protected]> | 2016-03-25 03:18:25 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2016-03-25 08:46:53 +0000 |
| commit | a49ac9f83b31e41c8311d64bd2b3f97a23dcb38d (patch) | |
| tree | 2ba751e5a21ef91037945c4174a950329870a5ca /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | Merge tag 'perf-urgent-for-mingo-20160324' of git://git.kernel.org/pub/scm/li... (diff) | |
| download | kernel-a49ac9f83b31e41c8311d64bd2b3f97a23dcb38d.tar.gz kernel-a49ac9f83b31e41c8311d64bd2b3f97a23dcb38d.zip | |
perf/x86: Move events_sysfs_show() outside CPU_SUP_INTEL
randconfig builds can sometimes disable CONFIG_CPU_SUP_INTEL while
enabling the AMD power reporting PMU driver, resulting in this
build failure:
arch/x86/kernel/cpu/perf_event.h:663:31: error: 'events_sysfs_show' undeclared here (not in a function)
To fix it, move events_sysfs_show() outside of #ifdef CONFIG_CPU_SUP_INTEL.
Reported-by: Randy Dunlap <[email protected]>
Reported-by: build test robot <[email protected]>
Signed-off-by: Huang Rui <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Fengguang Wu <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sherry Hurwitz <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
