Hello community, here is the log from the commit of package pm-profiler for openSUSE:Factory checked in at Thu Mar 10 12:25:17 CET 2011.
-------- --- pm-profiler/pm-profiler.changes 2010-10-05 15:45:40.000000000 +0200 +++ /mounts/work_src_done/STABLE/pm-profiler/pm-profiler.changes 2010-11-15 10:41:45.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Nov 15 10:39:36 CET 2010 - hma...@suse.de + +- update to git_0.1_git20101115: + - include patches + - support read_ahead_kb for multiple disks (bnc#643590) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- config_add_sysconfig_description.patch cpufreq_ondemand_vars_global.patch pm-profiler-0.1_git20090812.tar.bz2 New: ---- pm-profiler-0.1_git20101115.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pm-profiler.spec ++++++ --- /var/tmp/diff_new_pack.XUWhUj/_old 2011-03-10 12:24:24.000000000 +0100 +++ /var/tmp/diff_new_pack.XUWhUj/_new 2011-03-10 12:24:24.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package pm-profiler (Version 0.1_git20090812) +# spec file for package pm-profiler # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,14 +20,12 @@ Name: pm-profiler Summary: Managing power options on servers -Version: 0.1_git20090812 -Release: 8 +Version: 0.1_git20101115 +Release: 1 License: GPLv2 Url: http://www.stilltobefound.org Group: System/Management Source: %{name}-%{version}.tar.bz2 -Patch1: config_add_sysconfig_description.patch -Patch2: cpufreq_ondemand_vars_global.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq BuildArch: noarch @@ -48,8 +46,6 @@ %prep %setup -q -%patch1 -p1 -%patch2 -p1 %build ++++++ pm-profiler-0.1_git20090812.tar.bz2 -> pm-profiler-0.1_git20101115.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pm-profiler-0.1_git20090812/TODO new/pm-profiler-0.1_git20101115/TODO --- old/pm-profiler-0.1_git20090812/TODO 2009-07-22 16:39:53.000000000 +0200 +++ new/pm-profiler-0.1_git20101115/TODO 2010-11-15 10:36:46.000000000 +0100 @@ -1 +0,0 @@ -- remove openSUSE specifics diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pm-profiler-0.1_git20090812/config/pm-profiler.conf new/pm-profiler-0.1_git20101115/config/pm-profiler.conf --- old/pm-profiler-0.1_git20090812/config/pm-profiler.conf 2009-07-22 16:39:53.000000000 +0200 +++ new/pm-profiler-0.1_git20101115/config/pm-profiler.conf 2010-11-15 10:33:30.000000000 +0100 @@ -1,18 +1,15 @@ +## Path: Hardware/Power +## Description: Defines a Power Management profile to use +## Type: string +## Default: "" # -# !!!ATTENTION!!! -# +# Defines the profile which gets activated on system start or +# when the pm-profile service gets restarted # pm-profiler, and thus this file, is not intended to be used on desktop # systems where power management policy managers like gnome-power-manager, -# power-devil, etc. exist. pm-profiler is only intended for servers where +# power-devil, etc. exist. pm-profiler is only intended for servers # with dedicated use cases -# - -# -# Defines the profile which gets activated on system start -# +# If empty, the default system/kernel settings will be used. # Possible values: 1. Profile name # 2. Empty -# -# If empty, the default system/kernel settings will be used. -# PM_PROFILER_PROFILE="" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pm-profiler-0.1_git20090812/po/pm-profiler.pot new/pm-profiler-0.1_git20101115/po/pm-profiler.pot --- old/pm-profiler-0.1_git20090812/po/pm-profiler.pot 2009-08-12 15:29:10.000000000 +0200 +++ new/pm-profiler-0.1_git20101115/po/pm-profiler.pot 2010-10-29 16:36:45.000000000 +0200 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: pm-profiler 0.1\n" "Report-Msgid-Bugs-To: hma...@suse.de\n" -"POT-Creation-Date: 2009-08-12 15:29+0200\n" +"POT-Creation-Date: 2008-11-24 12:15+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pm-profiler-0.1_git20090812/tools/enable-profile new/pm-profiler-0.1_git20101115/tools/enable-profile --- old/pm-profiler-0.1_git20090812/tools/enable-profile 2009-07-22 16:39:53.000000000 +0200 +++ new/pm-profiler-0.1_git20101115/tools/enable-profile 2010-11-15 10:30:33.000000000 +0100 @@ -42,25 +42,15 @@ } function cpufreq_ondemand_up_threshold { - for I in /sys/devices/system/cpu/cpu*/cpufreq/ondemand/up_threshold; do - echo $CPUFREQ_ONDEMAND_UP_THRESHOLD > $I - done + echo $CPUFREQ_ONDEMAND_UP_THRESHOLD > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold; } function cpufreq_ondemand_sampling_rate { - local SAMPLE_RATE - for I in /sys/devices/system/cpu/cpu*/cpufreq; do - if [ -e $I/cpuinfo_transition_latency ] && \ - [ -w $I/ondemand/sampling_rate ]; then - SAMPLE_RATE=$(($(cat $I/cpuinfo_transition_latency) \ - * $CPUFREQ_ONDEMAND_SAMPLING_RATE / 1000)) - echo $SAMPLE_RATE > $I/ondemand/sampling_rate - fi - done + echo $CPUFREQ_ONDEMAND_SAMPLING_RATE >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate; } function cpufreq_ondemand_powersave_bias { - for I in /sys/devices/system/cpu/cpu*/cpufreq/ondemand/powersave_bias; do + for I in /sys/devices/system/cpu/cpu0/cpufreq/ondemand/powersave_bias; do echo $CPUFREQ_ONDEMAND_POWERSAVE_BIAS > $I done } @@ -98,7 +88,9 @@ } function read_ahead_kb { - echo $READ_AHEAD_KB > /sys/block/sd*/queue/read_ahead_kb + for I in /sys/block/sd*/queue/read_ahead_kb; do + echo $READ_AHEAD_KB > $I | $LOGGER + done } [ -n "$CPUFREQ_GOVERNOR" ] && cpufreq_governor ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org