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>
Showing
- arch/x86/oprofile/op_model_amd.c 24 additions, 33 deletionsarch/x86/oprofile/op_model_amd.c
- drivers/oprofile/cpu_buffer.c 14 additions, 3 deletionsdrivers/oprofile/cpu_buffer.c
- drivers/oprofile/cpu_buffer.h 1 addition, 7 deletionsdrivers/oprofile/cpu_buffer.h
- include/linux/oprofile.h 18 additions, 0 deletionsinclude/linux/oprofile.h
Loading
Please register or sign in to comment