]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/oprofile/event_buffer.h
powerpc/oprofile: Fix mutex locking for cell spu-oprofile
[linux-2.6-omap-h63xx.git] / drivers / oprofile / event_buffer.h
index 5076ed1ebd8feff23e3df134a808eb211e2cdfc7..84bf324c577129c04a771c985e050eca9136e978 100644 (file)
@@ -17,6 +17,13 @@ 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);