[Test] Isolate CBS and FAIR test functions

The test function targeting specifically the CBS or the FAIR scheduler
are not isolated within a dedicated function, which are now referenced
by the trace_multi function.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Test] Better format test report

The report describing the test has been updated to allows a better extraction
of some fields, specifically: scheduler features and traced events.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Test] Add parameter to select scheduler to test

The scheduler to use for tests can be now be set via the SCHED env variable.
For the time being, the scheduler to test could be configured to "cbs" or
"fair". By default "all" is used to run the tests on both scheduler.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Plot] Add plot for migration events

A new plot has been added which allows to study the inter arrival time
of scheduling events as well as the migration patterns in terms of departing
and arrival CPUs.

This new plot is based on data collected using the "sched_migrate_task"
ftrace event.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[DumpTable] Add parsing of testing configuration

All the parameters of a test are saved into a corresponding ".txt" test
description file. This patch parse such a file in order to recover some
test information which could be used to properly dump tablular data.

For example, the test description file reports the FTrace events collected
during the test. Such events could be used to enable or not the production
of certain tables.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[DumpTable] Filter tables to produce based on events

Certain tables could be produced only if some FTrace events have been
traced during the test. This patch add the proper checks to enable each
table generation only if the required events have been traced.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[DumpTable] Add support for Migration FTrace events

If the "sched_migrate_task" FTrace events have been traced a corresponding
table could be produces. This patch add the reuqired support to parse the
FTrace events database and produce a table suitable for Migration events
plotting and analysis.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Plot] Add +95% and +99% confidence interval plotting

This patch add the plotting of a 95 and 99 percentage confidence interval
region around the average value computed for the considered statistica
population.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Test_KBuild] Add a kernel build TEST

This test builds the kernel source tree specified by KDIR, using the specified
TARGET. By default the target is to build the whole source tree, otherwise
a shorter test could be obtained for example by building the "kernel/"
target.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>
[Main] Add a simple main program to run tests

This is a first version of a very simple main script which could be
used to trigger the execution of all the supported scheduler tests.

By default all integrated tests will be executed, using both the
CBS and FAIR scheduler.

Signed-off-by: Patrick Bellasi <derkling@gmail.com>