e29abf7f8f811550189b7c15c12227b2db0eb63e |
|
12-Apr-2010 |
lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> |
Make sar profiler work in python 2.4 Popen.terminate() is new in python 2.6, which make sar profiler could not work in python older than 2.6. So replace Popen.terminate() with os.kill. Add a necessary space in sar command. Signed-off-by: Feng Yang <fyang@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@4397 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|
a47e05bebe876b80d7c97fa34e4c771150e24752 |
|
01-Apr-2010 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
This patch does the following: 1) In older versions of sar, specifying an interval and a count of 0 means that reports will be generated continuously. For newer versions, just ommiting count does it, a count of 0 is invalid. Handle this difference testing the command during the initialize() method. 2) Try to terminate the process using the subprocess method terminate() (which only sends a sigterm to the process and does not raise exceptions if the process was already terminated). 3) Add some docstring documenation for the profiler. Signed-off-by: Feng Yang <fyang@redhat.com> Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@4370 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|
1ef218db76c473c28627377d8f50d6e6c6743289 |
|
03-Aug-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
This is the result of a batch reindent.py across our tree. As Martin pointed out, we ought to be more careful and create a pre-svn commit script to avoid inserting trash in the tree, meanwhile, this is a good start to cleanup things Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@3487 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|
53da18eddf69243ca175d9a4603cba5b55300726 |
|
05-Jan-2009 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Rename autotest_utils to utils Fixes longstanding hangover ugliness from the original change away from doing "from autotest_utils import *". Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@2595 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|
23c080a4dfd0c53d0be0b98f1713df28c29fdef8 |
|
14-Jul-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Update profilers with descriptions and fix some module imports Fix imports Add descriptions Visiblity: Low Risk: Fixes things that weren't working before Signed-off-by: Scott Zawalski <scottz@google.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1829 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|
b21c7139270de9f0ced3d6aadd637aeddb9a7c40 |
|
08-Jul-2008 |
mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> |
Added a profiler for sar; based it off the existing profiler for vmstat Signed-off-by: Mark Wong <markwkm@gmail.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@1780 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/client/profilers/sar/sar.py
|