1
0
Fork 0
tuned/tuned
Jaroslav Škarvada b7981e7b5e functions: added cpulist_unpack built-in function
Usage:

[variables]
cpus = ${f:cpulist_unpack:1,2,3-5}

The 'cpus' will be set to '1,2,3,4,5'. Also the built-in function can take
arbitrary number of arguments which will be concatenated, e.g.:

[variables]
cpus = ${f:cpulist_unpack:1-3,5:6-7,9}

This means two arguments to 'cpulist_unpack' function. The first argument:
'1-3,5' and the second '6-7,9'. The result: '1,2,3,5,6,7,9'.

Also renamed internal function 'unpack_cpulist' to 'cpulist_unpack' to be
more consistent.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2015-06-08 13:44:48 +02:00
..
admin tuned-adm: fixed 'tuned-adm off' traceback if tuned is not running 2015-06-04 15:36:28 +02:00
daemon tuned: added support for built-in functions 2015-06-05 15:53:59 +02:00
exports dbus: fixed KeyboardInterrupt handling 2013-11-05 16:55:36 +01:00
gtk configobj: parse lists as strings and do not interpolate strings 2015-06-04 14:02:02 +02:00
hardware fix device matching if the multiple profiles are merged 2013-01-28 18:08:49 +01:00
monitors monitors: allow to retrieve load just for one device 2013-01-24 16:53:51 +01:00
plugins functions: added CPU list to hex mask and vice versa conversions 2015-06-05 19:12:52 +02:00
profiles functions: added cpulist_unpack built-in function 2015-06-08 13:44:48 +02:00
storage pickle_provider: consts moved to consts.py 2013-02-19 17:46:47 +01:00
units tuned: added verify command 2015-05-18 18:55:01 +02:00
utils functions: added cpulist_unpack built-in function 2015-06-08 13:44:48 +02:00
__init__.py misc: bumped year in copyright to 2013 2013-11-27 09:30:07 +01:00
consts.py tuned: added support for built-in functions 2015-06-05 15:53:59 +02:00
exceptions.py Create exception logger outside of TunedException class to not confuse logs.get method 2012-01-26 10:41:59 +01:00
logs.py tuned: new option --pid, -P to write PID file 2013-02-18 14:31:06 +01:00
patterns.py separate design pattern bases 2011-12-14 17:40:31 +01:00
version.py new release (2.4.1) 2014-10-17 00:57:34 +02:00