1
0
Fork 0
tuned/profiles/realtime
Jaroslav Škarvada 5ed61ce394
realtime: added conditional support for managed_irq
Also added regex_search_ternary built-in function.

It takes arguments in the following form:
  STR1, REGEX, STR2, STR3

If REGEX matches STR1 (re.search is used), STR2 is returned,
if it doesn't match STR3 is returned.

Example:
[variables]
foo=Y
bar=${f:regex_search_ternary:${foo}:\b[y,Y,1,t,T]\b:foo:bar}

It will result in the 'foo' string stored in the '${bar}' variable.

Resolves: rhbz#1797025

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2020-03-23 14:43:47 +01:00
..
realtime-variables.conf realtime: added conditional support for managed_irq 2020-03-23 14:43:47 +01:00
script.sh realtime: Apply irqbalance tunes too in realtime profiles 2019-07-10 13:09:03 +08:00
tuned.conf realtime: added conditional support for managed_irq 2020-03-23 14:43:47 +01:00