diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-04-08 05:43:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-04-08 05:43:30 -0400 |
commit | 529801898b24544f93532217ce18a7ebbb2b8c4f (patch) | |
tree | c51c8fd808e6cff15cabb1a9ac29be0661942384 /include/linux/perf_event.h | |
parent | b847d0501afec4c7b12eb276aec10a2834f953ea (diff) | |
parent | 23995bbee01d75f09f72b1380bd6045a5b02947b (diff) |
Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/core
Pull IBM zEnterprise EC12 support patchlet from Robert Richter.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 42a6daaf4e0a..e0373d26c244 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -788,6 +788,12 @@ static inline int __perf_event_disable(void *info) { return -1; } | |||
788 | static inline void perf_event_task_tick(void) { } | 788 | static inline void perf_event_task_tick(void) { } |
789 | #endif | 789 | #endif |
790 | 790 | ||
791 | #if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_CPU_SUP_INTEL) | ||
792 | extern void perf_restore_debug_store(void); | ||
793 | #else | ||
794 | static inline void perf_restore_debug_store(void) { } | ||
795 | #endif | ||
796 | |||
791 | #define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x)) | 797 | #define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x)) |
792 | 798 | ||
793 | /* | 799 | /* |