History log of /external/autotest/client/common_lib/profiler_manager.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
456d3c115952bf1ae984770e226c5a50676b31c0 19-Jul-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

Merged from d9d64b855363d214996b187380532d4cc9991d29.

BUG=none
TEST=emerge autotest-tests, local server, run_remote_tests.

Change-Id: Id8cf1ef930bc0cd80347d77f2de65561be2a12a4
Reviewed-on: http://gerrit.chromium.org/gerrit/4664
Reviewed-by: Mike Truty <truty@chromium.org>
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: Dale Curtis <dalecurtis@chromium.org>
/external/autotest/client/common_lib/profiler_manager.py
1b0faf92eda0f62f60d3b4472f9ba0efdd455b54 19-Dec-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Added additional test hooks that are important when doing profiled runs
with tests that need to perform certain setup per test iteration before
the profiling starts.

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4024 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
bccad480b242b63f93f35b55a0e77517e3a76feb 25-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Sadly, put back the "disable packaging-only installs" used by the
profiler installs. We can't count on profilers using autoserv-based
packaging because the profiler runs are background jobs, and so
don't actually use autoserv.

I think this code can ultimately but cleaned up but for now it's
better to revert back to the old model of doing "full" installs when
profiling is running on a setup without any http repositories.

Risk: Low
Visibility: Restores server-side profilers in no-repos configs.

Signed-off-by: John Admanski <jadmanski@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3609 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
aad5c50cbe80574ac956b7f89b98fb271e90bd30 26-May-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed profiling for tests that do not define a self.iteration (which is
most tests that override execute()).

Signed-off-by: Mihai Rusu <dizzy@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3174 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
f58865f3e987fd9930ccb14dfe160e65c0364cc6 13-May-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Modify the way we handle profile_only to now be a boolean that does not modify
iterations. If profile_only is set to True run all iterations with profiles
enabled. If profile_only is not False, run iterations and then run one profile
run. Change the way profilers are stored by adding them to a iteration.X sub
directory.

Signed-off-by: Scott Zawalski <scottz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3138 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
d543369815ecfa74c70e2b9d1e24d65a5431f743 26-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Revert the change that removed the profiler_manager only() method.
Many tests were using job.profilers.only(). We'll clean those up in
the future.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2825 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
3b4dea4a7c8e815eb67601d703e43156801121a6 25-Feb-2009 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Fix a super() call in one of the exception classes - Exceptions are
still old-style classes in python 2.4 and so can't use super.

Risk: Low
Visibility: Fixes a class that prevents this exception from working
properly.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2823 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
4b835b89f2a0bd9aef2df4157fadc34fe2eeb14c 11-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Adds a profile_only keyword argument to test.execute to be used by
job.run_test() from control files. When specified it behaves identically to
iterations=0 but is much easier to read. Also converts prints in test.execute
into test_log calls and adds a test.execute unit test.

Signed-off-by: Gregory Smith <gps@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2773 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py
043e1132d1af7969a8f67871188ef34e050c2186 19-Nov-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> This depends on Martin's "run autoserv without a results dir" patch
to be applied cleanly.


A rather large refactoring and stubbing change working towards
client-side profilers from the server side. This makes a few major
changes:
- refactors almost all of client/bin/profilers.py into a common lib
profiler_manager class; except for the code for actually loading
a profiler object, all of that code is already completely generic
- add a server-side profiler_proxy class that will act as a proxy
on the server for using a client-side profiler, this doesn't
actually do anything useful right now but it basically just a
stub for later changes
- add a server-side profiler_manager implementation that creates a
profiler_proxy class instead of actually loading a real profiler

The intended changes still in the pipeline that will build on this are:
- add code to the profiler_proxy for actually making sure the
profiler is set up and installed on the remote host(s)
- add a mechanism for client-side profilers to deal with reboots

Risk: Medium
Visibility: Adds a bunch of stubs that don't actually do anything yet
but will do things soon.

Signed-off-by: John Admanski <jadmanski@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2447 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/common_lib/profiler_manager.py