This patch set adds the ability to start a new process with its affinity and
sched parameters defined on the tuna command line.
To do so, two new parameters were added to tuna's command line: one Modifier to
set the sched tunables (-T, --sched_tunable=), and an Action to set and run
a command line (-r, --run=).
The option -r will fork a new process, set the sched tunables and affinity, and
execute the new application's code. If arguments are passed, the entire
command line must be provided inside "quotes"
Tuna will wait for the new process to return, and then continue its execution.
That means that it is possible to execute many Actions after the creation of
the new process, including the start of many process in a single command line.
Daniel Bristot de Oliveira (2):
[RFC] CLI: start an application from tuna
[RFC] docs: uptade the man page with options -T and -r
docs/tuna.8 | 6 ++++++
tuna-cmd.py | 17 +++++++++++++++--
tuna/tuna.py | 59 ++++++++++++++++++++++++++++++++++++++++++++++-------------
3 files changed, 67 insertions(+), 15 deletions(-)