ipynb/examples: Update Executor example
Add "freeze_userspace" conf flag. Log output is not updated.
diff --git a/ipynb/examples/utils/executor_example.ipynb b/ipynb/examples/utils/executor_example.ipynb
index 15d2ab4..b53ae19 100644
--- a/ipynb/examples/utils/executor_example.ipynb
+++ b/ipynb/examples/utils/executor_example.ipynb
@@ -127,19 +127,19 @@
"\n",
" # Platform configurations to test: you can specify any number of configurations\n",
" \"confs\" : [\n",
- " {\n",
- " \"tag\" : \"base\", # Relevant string to identify configuration\n",
- " \"flags\" : \"ftrace\", # Enable FTrace events\n",
- " \"sched_features\" : \"NO_ENERGY_AWARE\", # Disable EAS\n",
- " \"cpufreq\" : { # Use PERFORMANCE CpuFreq\n",
+ " { \n",
+ " \"tag\" : \"base\", # Relevant string to identify configuration\n",
+ " \"flags\" : [\"ftrace\", \"freeze_userspace\"], # Enable FTrace events, freeze userspace while running \n",
+ " \"sched_features\" : \"NO_ENERGY_AWARE\", # Disable EAS\n",
+ " \"cpufreq\" : { # Use PERFORMANCE CpuFreq\n",
" \"governor\" : \"performance\",\n",
" },\n",
" },\n",
" {\n",
- " \"tag\" : \"eas\", # Relevant string to identify configuration\n",
- " \"flags\" : \"ftrace\", # Enable FTrace events\n",
- " \"sched_features\" : \"ENERGY_AWARE\", # Enable EAS\n",
- " \"cpufreq\" : { # Use PERFORMANCE CpuFreq\n",
+ " \"tag\" : \"eas\", # Relevant string to identify configuration\n",
+ " \"flags\" : [\"ftrace\", \"freeze_userspace\"], # Enable FTrace events, freeze userspace while running\n",
+ " \"sched_features\" : \"ENERGY_AWARE\", # Enable EAS\n",
+ " \"cpufreq\" : { # Use PERFORMANCE CpuFreq\n",
" \"governor\" : \"performance\",\n",
" },\n",
" },\n",
@@ -180,7 +180,9 @@
" \n",
" # Number of iterations for each workloaditerations\n",
" \"iterations\" : 1,\n",
+ "}\n",
" \n",
+ "my_test_conf = {\n",
" # FTrace events to collect for all the tests configuration which have\n",
" # the \"ftrace\" flag enabled\n",
" \"ftrace\" : {\n",
@@ -197,7 +199,7 @@
" \"tools\" : [ 'trace-cmd', 'perf' ],\n",
" \n",
" # Modules required by these experiments\n",
- " \"modules\" : [ 'bl', 'cpufreq' ],\n",
+ " \"modules\" : [ 'bl', 'cpufreq', 'cgroups' ],\n",
"\n",
"}"
]
@@ -258,7 +260,7 @@
}
],
"source": [
- "executor = Executor(TestEnv(my_target_conf), my_experiments_conf)"
+ "executor = Executor(TestEnv(target_conf=my_target_conf, test_conf=my_test_conf), my_experiments_conf)"
]
},
{