1-Create a directory in /etc/pm-profiler/ (called Performance)
2-create the configuration file for the new profile, copy the profile template to the newly created directory: cp /usr/share/doc/packages/pm-profiler/config.template \
/etc/pm-profiler/Performance/was called config.template but renamed to Performance
3-Edit the settings in /etc/pm-profiler/testprofile/config
So i modify some lines: (in bold)
# The profile name
# Short description of the profile, what characteristics it has, etc...
DESCRIPTION="Pass from ondemand to Performance"
# Set the cpu frequency scaling governor
# Possible values are powersave, performance, ondemand and userspace
# Kernel documenatation: cpu-freq/user-guide.txt
# File: /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
4- Edit /etc/pm-profiler.conf. The PM_PROFILER_PROFILE variable defines which profile will be activated on system start. If it has no value, the
default system or kernel settings will be used. To set the newly created profile: PM_PROFILER_PROFILE="Performance"
5-To activate the profile, run rcpm-profiler start
and it gives me : rcpm-profiler start
Activating power management profile Performancepm-profiler: the requested profile performance does not exist