diff options
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 38c8b2554842..8ceb5a6fd9c9 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -1110,6 +1110,10 @@ extern int sysctl_perf_event_paranoid; | |||
1110 | extern int sysctl_perf_event_mlock; | 1110 | extern int sysctl_perf_event_mlock; |
1111 | extern int sysctl_perf_event_sample_rate; | 1111 | extern int sysctl_perf_event_sample_rate; |
1112 | 1112 | ||
1113 | extern int perf_proc_update_handler(struct ctl_table *table, int write, | ||
1114 | void __user *buffer, size_t *lenp, | ||
1115 | loff_t *ppos); | ||
1116 | |||
1113 | static inline bool perf_paranoid_tracepoint_raw(void) | 1117 | static inline bool perf_paranoid_tracepoint_raw(void) |
1114 | { | 1118 | { |
1115 | return sysctl_perf_event_paranoid > -1; | 1119 | return sysctl_perf_event_paranoid > -1; |