1
0
Fork 0
tuned/tuned
Ondřej Lysoněk f14ae65bd2 Implement udev-based device matching
A new option 'devices_udev_regex' can be used in profile
configuration to specify devices to which a plugin instance
should be applied.

The option can contain a python regular expression, as specified
in https://docs.python.org/2/library/re.html#regular-expression-syntax.
The expression is effectively matched against the output of
udevadm info --query=property -n <device_path>

If the option 'devices_udev_regex' is specified, the 'devices' option
is ignored. If it is not specified, then the matching is done the same
way as previously, i.e. against 'devices'.

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
2017-02-28 17:39:07 +01:00
..
admin Remove an unreachable return statement 2017-02-13 16:08:11 +01:00
daemon Implement udev-based device matching 2017-02-28 17:39:07 +01:00
exports Raise NotImplementedError instead of NotImplemented 2017-02-13 16:28:33 +01:00
gtk Implement udev-based device matching 2017-02-28 17:39:07 +01:00
hardware Implement udev-based device matching 2017-02-28 17:39:07 +01:00
monitors monitors: allow to retrieve load just for one device 2013-01-24 16:53:51 +01:00
plugins Implement udev-based device matching 2017-02-28 17:39:07 +01:00
profiles Implement udev-based device matching 2017-02-28 17:39:07 +01:00
storage pickle_provider: consts moved to consts.py 2013-02-19 17:46:47 +01:00
units Implement udev-based device matching 2017-02-28 17:39:07 +01:00
utils Fix some pylint errors 2017-02-14 12:51:11 +01:00
__init__.py misc: bumped year in copyright to 2013 2013-11-27 09:30:07 +01:00
consts.py Implement instance priority 2017-02-17 15:56:11 +01: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 Fix logging to file in the current directory 2017-02-16 09:38:42 +01:00
patterns.py separate design pattern bases 2011-12-14 17:40:31 +01:00
version.py new release (2.7.1) 2016-08-02 14:35:19 +02:00