Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
---
 client/profilers/ftrace/ftrace.py |    1 +
 mirror/config-sample.py           |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/client/profilers/ftrace/ftrace.py 
b/client/profilers/ftrace/ftrace.py
index dd13fff..03c9d84 100644
--- a/client/profilers/ftrace/ftrace.py
+++ b/client/profilers/ftrace/ftrace.py
@@ -5,6 +5,7 @@ Function tracer profiler for autotest.
 """
 import logging, os, signal, time
 from autotest_lib.client.bin import profiler, utils
+from autotest_lib.client.common_lib import error
 
 
 class ftrace(profiler.profiler):
diff --git a/mirror/config-sample.py b/mirror/config-sample.py
index 29e215f..7788aa2 100644
--- a/mirror/config-sample.py
+++ b/mirror/config-sample.py
@@ -88,5 +88,5 @@ _tests_map = {
 
 # now register some trigger actions otherwise nothing will be done for the new
 # kernel versions
-trigger.add_action(trigger_module.map_action(_tests_map, 'kerntest-%s'))
-trigger.add_action(trigger_module.email_action('[email protected]'))
+trigger_module.trigger.add_action(trigger_module.map_action(_tests_map, 
'kerntest-%s'))
+trigger_module.trigger.add_action(trigger_module.email_action('[email protected]'))
-- 
1.7.5

_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to