linux/drivers/oprofile
Robert Richter 2cc28b9f26 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>
2009-01-07 22:37:44 +01:00
..
buffer_sync.c oprofile: rename variables in add_ibs_begin() 2009-01-07 22:35:42 +01:00
buffer_sync.h oprofile: fixing whitespaces in drivers/oprofile/* 2008-10-16 15:01:40 +02:00
cpu_buffer.c oprofile: add op_cpu_buffer_write_reserve() 2009-01-07 22:37:44 +01:00
cpu_buffer.h oprofile: add op_cpu_buffer_write_reserve() 2009-01-07 22:37:44 +01:00
event_buffer.c oprofile: rename kernel-wide identifiers 2008-12-16 17:52:49 +01:00
event_buffer.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile 2008-10-23 10:05:40 -07:00
oprof.c oprofile: rename kernel-wide identifiers 2008-12-16 17:52:49 +01:00
oprof.h oprofile: rename kernel-wide identifiers 2008-12-16 17:52:49 +01:00
oprofile_files.c oprofile: rename kernel-wide identifiers 2008-12-16 17:52:49 +01:00
oprofile_stats.c oprofile: fixing whitespaces in drivers/oprofile/* 2008-10-16 15:01:40 +02:00
oprofile_stats.h oprofile: fixing whitespaces in drivers/oprofile/* 2008-10-16 15:01:40 +02:00
oprofilefs.c oprofile: fixing whitespaces in drivers/oprofile/* 2008-10-16 15:01:40 +02:00
timer_int.c oprofile: fixing whitespaces in drivers/oprofile/* 2008-10-16 15:01:40 +02:00