aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-12-25 17:26:07 +0100
committerRobert Richter <robert.richter@amd.com>2009-01-07 22:37:44 +0100
commit2cc28b9f261dd28d69767a34682ce55a27d928ed (patch)
treeeb99ee33781cc79ab09f2d70c93f14c90c664f91 /crypto
parentoprofile: rename variables in add_ibs_begin() (diff)
downloadlinux-dev-2cc28b9f261dd28d69767a34682ce55a27d928ed.tar.xz
linux-dev-2cc28b9f261dd28d69767a34682ce55a27d928ed.zip
oprofile: add op_cpu_buffer_write_reserve()
This function prepares the cpu buffer to write a sample. Struct op_entry is used during operations on the ring buffer while struct op_sample contains the data that is stored in the ring buffer. Struct entry can be uninitialized. The function reserves a data array that is specified by size. Use op_cpu_buffer_write_commit() after preparing the sample. In case of errors a null pointer is returned, otherwise the pointer to the sample. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions