]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
oprofile: make new cpu buffer functions part of the api
authorRobert Richter <robert.richter@amd.com>
Wed, 7 Jan 2009 20:50:22 +0000 (21:50 +0100)
committerRobert Richter <robert.richter@amd.com>
Wed, 7 Jan 2009 21:48:15 +0000 (22:48 +0100)
commit14f0ca8eaea42a5b5a69cfcb699665dd2618db5f
tree918cdb7d3ace9c84811bc606db631a1dc68496f7
parentebf8d974e298018f0b4ee02b1b097bf5500d3d27
oprofile: make new cpu buffer functions part of the api

This patch creates the new functions

 oprofile_write_reserve()
 oprofile_add_data()
 oprofile_write_commit()

and makes them part of the oprofile api.

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