diff options
author | Robert Richter <robert.richter@amd.com> | 2008-12-09 15:56:01 (GMT) |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2008-12-10 13:20:10 (GMT) |
commit | 37ca5eb341711d7aeb9f296873b9d46eb6af33ec (patch) | |
tree | e8d3a5003a90a7cdbc8da9835f8936c05820e85a /kernel/pm_qos_params.c | |
parent | fd7826d56bde11ab142d2431093773ad2b3f0a59 (diff) | |
download | linux-fsl-qoriq-37ca5eb341711d7aeb9f296873b9d46eb6af33ec.tar.xz |
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>
Diffstat (limited to 'kernel/pm_qos_params.c')
0 files changed, 0 insertions, 0 deletions