37ca5eb341
This patch restores default values for: /dev/oprofile/cpu_buffer_size /dev/oprofile/buffer_watershed /dev/oprofile/buffer_size when creating the oprofilefs: # opcontrol --deinit # opcontrol --init # cat /dev/oprofile/cpu_buffer_size 8192 # echo 5123 > /dev/oprofile/cpu_buffer_size # cat /dev/oprofile/cpu_buffer_size 5123 # opcontrol --deinit # opcontrol --init # cat /dev/oprofile/cpu_buffer_size 8192 # opcontrol --deinit This sets the values in a defined state. Before, there was no way to restore the defaults without rebooting the system or reloading the module. Signed-off-by: Robert Richter <robert.richter@amd.com> |
||
---|---|---|
.. | ||
buffer_sync.c | ||
buffer_sync.h | ||
cpu_buffer.c | ||
cpu_buffer.h | ||
event_buffer.c | ||
event_buffer.h | ||
oprof.c | ||
oprof.h | ||
oprofile_files.c | ||
oprofile_stats.c | ||
oprofile_stats.h | ||
oprofilefs.c | ||
timer_int.c |