|
@@ -799,6 +799,12 @@ static inline int __perf_event_disable(void *info) { return -1; }
|
|
|
static inline void perf_event_task_tick(void) { }
|
|
|
#endif
|
|
|
|
|
|
+#if defined(CONFIG_PERF_EVENTS) && defined(CONFIG_NO_HZ_FULL)
|
|
|
+extern bool perf_event_can_stop_tick(void);
|
|
|
+#else
|
|
|
+static inline bool perf_event_can_stop_tick(void) { return true; }
|
|
|
+#endif
|
|
|
+
|
|
|
#define perf_output_put(handle, x) perf_output_copy((handle), &(x), sizeof(x))
|
|
|
|
|
|
/*
|