]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
oprofile: add op_cpu_buffer_get_data()
authorRobert Richter <robert.richter@amd.com>
Tue, 6 Jan 2009 02:56:50 +0000 (03:56 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 7 Jan 2009 21:45:46 +0000 (22:45 +0100)
commitbd7dc46f770d317ada1348294ff1f319243b803b
treeb328520c9676e4787de076aeb6e5c4804cd14786
parentd9928c25a6960cf128c2078a89fe6f8e0180ff60
oprofile: add op_cpu_buffer_get_data()

This function provides access to attached data of a sample. It returns
the size of data including the current value. Also,
op_cpu_buffer_get_size() is available to check if there is data
attached.

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