]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/oprofile/event_buffer.h
oprofile: Fix locking dependency in sync_start()
[karo-tx-linux.git] / drivers / oprofile / event_buffer.h
index 00db2e665708b9f3b62ccd0a5d9d5a87df4d9cd4..a8d5bb3cba89a9f7b3e770b2b6af2765764648b8 100644 (file)
 #define EVENT_BUFFER_H
 
 #include <linux/types.h>
-#include <asm/mutex.h>
+#include <linux/mutex.h>
 
 int alloc_event_buffer(void);
 
 void free_event_buffer(void);
 
+/**
+ * Add data to the event buffer.
+ * The data passed is free-form, but typically consists of
+ * file offsets, dcookies, context information, and ESCAPE codes.
+ */
+void add_event_entry(unsigned long data);
+
 /* wake up the process sleeping on the event file */
 void wake_up_buffer_waiter(void);