X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Foprofile%2Fevent_buffer.h;fp=drivers%2Foprofile%2Fevent_buffer.h;h=4e70749f8d16e122a0fab36fa065889e018ef954;hb=92fb83afd6664a6f8a05f990d264c998f9b99f69;hp=00db2e665708b9f3b62ccd0a5d9d5a87df4d9cd4;hpb=df13b31c286b3e91c556167954eda088d90a4295;p=linux-2.6-omap-h63xx.git diff --git a/drivers/oprofile/event_buffer.h b/drivers/oprofile/event_buffer.h index 00db2e66570..4e70749f8d1 100644 --- a/drivers/oprofile/event_buffer.h +++ b/drivers/oprofile/event_buffer.h @@ -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);