]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
oprofile: add op_cpu_buffer_add_data()
authorRobert Richter <robert.richter@amd.com>
Thu, 25 Dec 2008 16:26:07 +0000 (17:26 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 7 Jan 2009 21:41:47 +0000 (22:41 +0100)
commitd9928c25a6960cf128c2078a89fe6f8e0180ff60
treea6aa4141a531beb6f5d2025d8656d9404ae64ba8
parentae735e9964b4584923f2997d98a8d80ae9c1a75c
oprofile: add op_cpu_buffer_add_data()

This function can be used to attach data to a sample. It returns the
remaining free buffer size that has been reserved with
op_cpu_buffer_write_reserve().

Signed-off-by: Robert Richter <robert.richter@amd.com>
drivers/oprofile/cpu_buffer.c
drivers/oprofile/cpu_buffer.h