I had to remove:

From 68cb534f02c660359908d1a29a1e840dfe7a4b4b Mon Sep 17 00:00:00 2001
From: Yunping Zheng <[email protected]>
Date: Tue, 11 Sep 2012 13:36:03 -0300
Subject: [PATCH] client: Add systemtap profiler

This patch adds a systemtap profiler to autotest. Now
systemtap can run during your test, providing useful
debug data.

When you use this profiler on virt tests, you should add

'profilers = systemtap'

and

'stap_script_file = file_path_systemtap_script'

On your test cfg file. If the 'file_path_systemtap_script' you
assigned is a relative path,the script will try to find
the file under 'test.virtdir/systemtap'.

Of course, other tests can use systemtap, just follow the
example on the control file shipped with the profiler:

st_script = '/usr/share/systemtap/tapset/timestamp.stp'
job.profilers.add('systemtap', stap_script_file=st_script)
job.run_test('sleeptest', seconds=5)
job.profilers.delete('systemtap')

Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
Signed-off-by: Yunping Zheng <[email protected]>

From next, since it's causing problems on automated next testing:

END ABORT ---- ---- timestamp=1347499361 localtime=Sep 12 21:22:41 Unhandled TypeError: initialize() got an unexpected keyword argument 'indirect_image_blacklist'
  Traceback (most recent call last):
    File "/usr/local/autotest/job.py", line 1092, in _run_step_fn
      exec('__ret = %s(*__args, **__dargs)' % fn, local_vars, local_vars)
    File "<string>", line 1, in <module>
    File "/usr/local/autotest/control.autoserv", line 27, in step_test
      utils_misc.run_tests(parser, job)
File "/usr/local/autotest/tests/virt/virttest/utils_misc.py", line 1626, in run_tests
      job.profilers.add(profiler, **param_dict)
    File "/usr/local/autotest/shared/profiler_manager.py", line 35, in add
      new_profiler = self.load_profiler(profiler, args, dargs)
File "/usr/local/autotest/profilers/__init__.py", line 42, in load_profiler
      newprofiler.initialize(*args, **dargs)
TypeError: initialize() got an unexpected keyword argument 'indirect_image_blacklist'

I'll see what I can do to fix the commit at some later point.

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to