Files
kernel_arpi/drivers
Robert Richter 37ca5eb341 oprofile: set values to default when creating oprofilefs
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>
2008-12-10 14:20:10 +01:00
..
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-11-07 08:25:43 -08:00
2008-11-30 10:03:36 -08:00
2008-11-30 10:03:37 -08:00
2008-11-01 09:50:12 -07:00
2008-11-30 10:03:37 -08:00
2008-11-30 10:03:37 -08:00
2008-11-04 08:18:19 -08:00
2008-11-30 10:03:37 -08:00
2008-11-30 10:03:36 -08:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-12-01 19:55:25 -08:00
2008-11-17 19:11:26 +01:00