• Home
  • History
  • Annotate
  • only in /external/autotest/client/profilers/
History log of /external/autotest/client/profilers/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f5579e6f825cf33bb022c08a1b2ab95bcb9d1d7 11-May-2016 Richard Barnette <jrbarnette@chromium.org> [autotest] Bury more virtualization code.

This deletes two unused modules and tests related to kvm virtualization.

BUG=None
TEST=git grep, see that the modules are unused

Change-Id: I317c1d9d64d3663f7209a85e3f4048f80281dd39
Reviewed-on: https://chromium-review.googlesource.com/343919
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Dan Shi <dshi@google.com>
vm_modload/control
vm_modload/kvm_modload.py
vm_stat/__init__.py
vm_stat/kvm_stat.py
04be2bd5e4666a5c253e9c30ab20555e04286032 08-May-2014 Ilja H. Friedel <ihf@chromium.org> Autotest: Change logging.warn() to logging.warning().

logging.warn() is deprecated. See
http://bugs.python.org/issue13235

Substitution was performed via
~/cros/src/third_party/autotest/files$ find ./ -type f | xargs sed -i 's/logging.warn(/logging.warning(/'

BUG=None.
TEST=There should be one-- and preferably only one --obvious way to do it.

Change-Id: Ie5665743121a49f7fbd5d1f47896a7c65e87e489
Reviewed-on: https://chromium-review.googlesource.com/198793
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Alex Miller <milleral@chromium.org>
trace/ftrace.py
49aa1f3c9618c6136cc5ead6971f5879908f1d5b 23-Oct-2013 Caroline Tice <cmtice@chromium.org> Run 'perf' from output directory.

'cd' to the output directory before running the profiler (perf), so that
the perf.data file gets generated in the same directory as perf.out, and
therefore gets automatically copied into the results directory.

BUG=None
TEST=Ran test_that and crosperf with telemetry_Crosperf and profiling
enabled; verified the perf.data gets copied back now.

Change-Id: I91357b08b06331e60491f5af69cc3e1a6a2267b0
Reviewed-on: https://chromium-review.googlesource.com/174108
Reviewed-by: Luis Lozano <llozano@chromium.org>
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Commit-Queue: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
ustom_perf/custom_perf.py
09abfb14a10f93db942100e66b858abf74f265a9 15-May-2013 Ahmad Sharif <asharif@chromium.org> autotest: Stop chrome before tarring up PGO data.

We are seeing intermittent PGO data corruption that I haven't been able to
reproduce locally. I suspect there is a race condition between tarring up the
profile data and chrome trying to write more profile data.

With this CL, the profiler waits for Chrome to shut down completely before
tarring up the profile.

BUG=chromium:239059
TEST=./run_remote_tests.sh --board=lumpy --remote=172.17.185.164 \
--profiler=pgo PyAutoPerfTests \
--args="--pgo perf.BenchmarkPerfTest.testV8BenchmarkSuite --iterations=1"

Change-Id: I6fa37709cfb64e22cd52258026248accad1b835a
Reviewed-on: https://gerrit.chromium.org/gerrit/51200
Commit-Queue: asharif <asharif@chromium.org>
Reviewed-by: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
go/pgo.py
0f7d0843a72cd0ec4697dba77ad86b133de98f98 21-Jun-2012 Peter Mayo <petermayo@chromium.org> Improve the specificity of the filename for results.

The bare name is used in portage distfiles, which have a broad
scope, so more specific naming is wise in the long run.

BUG=chromium-os:29829
TEST=Local

Change-Id: I4a173beeb1394ffbaa22be0e391bf0956f363899
Reviewed-on: https://gerrit.chromium.org/gerrit/25842
Tested-by: Peter Mayo <petermayo@chromium.org>
Reviewed-by: David James <davidjames@chromium.org>
Reviewed-by: asharif <asharif@chromium.org>
Commit-Ready: Peter Mayo <petermayo@chromium.org>
go/pgo.py
6fac1a71c8887851d943573eeed01f5d3985b63d 08-Jun-2012 Peter Mayo <petermayo@chromium.org> Change the pgo profiler to tar and zip the collected profile.

This keeps the consistency and efficiency up.

BUG=chromium-os:29829
TEST=local/manual

Change-Id: I448f4ace860bf6c6002e5669b1b75a0a53b2dfc9
Reviewed-on: https://gerrit.chromium.org/gerrit/24850
Reviewed-by: Peter Mayo <petermayo@chromium.org>
Tested-by: Peter Mayo <petermayo@chromium.org>
Commit-Ready: Peter Mayo <petermayo@chromium.org>
go/pgo.py
23526e7fc8d554d2b3d7eb4abc4029dbfb47ca9f 20-Apr-2012 Ahmad Sharif <asharif@chromium.org> Changed pgo file path to /tmp/pgo/chrome

This will make the pgo profiler find the correct PGO data files regardless of
whether USE=internal_chrome is set or unset.

BUG=chromium-os:25188
TEST=./run_remote_tests --profiler=pgo

Change-Id: Ida28d471a720f193519feab5e2b960041a7426ba
Reviewed-on: https://gerrit.chromium.org/gerrit/20658
Reviewed-by: David James <davidjames@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
go/pgo.py
e2a8b91a8345d3798e7d6e555cb50676d06cdd43 20-Apr-2012 Ahmad Sharif <asharif@chromium.org> Added custom_perf.

custom_perf is a profiler that gives complete flexibility on what arguments
to use with perf.

BUG=none
TEST=./run_remote_tests.sh --profiler=custom_perf
--profiler_args='record -a'

Change-Id: I896b5835048a2c5dcb1e46c82cf8c7e773d06442
Reviewed-on: https://gerrit.chromium.org/gerrit/20734
Reviewed-by: <bjanakiraman@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
Tested-by: asharif <asharif@chromium.org>
ustom_perf/__init__.py
ustom_perf/control
ustom_perf/custom_perf.py
70c392a2badd1c8e961ff8dbe9cd05f075350d34 14-Apr-2012 Ahmad Sharif <asharif@chromium.org> Added missing leading / in the pgo directory.

BUG=none
TEST=./run_remote_tests.sh --board=lumpy --profiler=pgo ...

Change-Id: I9d4d486baf6f5e3afe195c8698d884fb91b8e0b1
Reviewed-on: https://gerrit.chromium.org/gerrit/20270
Tested-by: asharif <asharif@chromium.org>
Reviewed-by: Han Shen <shenhan@google.com>
Reviewed-by: asharif <asharif@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
go/pgo.py
4ac8cb9f6af6c36bfd9ad4214131ad63d24a36b5 30-Mar-2012 Ahmad Sharif <asharif@chromium.org> Added a profiler called pgo.

This autotest copies files dumped by Chrome when built with -fprofile-generate.
These files can then be fed back into the build process to build an optimized
Chrome.

BUG=chromium-os:25188
TEST=./run_remote_tests --profile --profilers="pgo" desktopui_PageCyclerTests
Verified that PGO data is copied back to the host.

Change-Id: I7e77c049718f1dfe4957093915280d01231dc1a8
Reviewed-on: https://gerrit.chromium.org/gerrit/19342
Reviewed-by: Scott Zawalski <scottz@chromium.org>
Tested-by: asharif <asharif@chromium.org>
Commit-Ready: asharif <asharif@chromium.org>
go/__init__.py
go/control
go/pgo.py
38da5a22f6af9e2ac65b588c937ff2a9d8d800c6 13-Dec-2011 Raymes Khoury <raymes@chromium.org> Add profile_type option to cros_perf profiler.

This allows one to run 'perf record' or 'perf stat' (or other perf
commands) and collect different types of data from perf.

BUG=none
TEST=Ran with profile_type='record' and profile_type='stat' and checked
that the expected data was collected.

Change-Id: I4a66dc6d79d7e7aac9de5519da8e8155d5c49f74
Reviewed-on: https://gerrit.chromium.org/gerrit/12788
Reviewed-by: Mike Truty <truty@chromium.org>
Tested-by: Raymes Khoury <raymes@chromium.org>
Commit-Ready: Raymes Khoury <raymes@chromium.org>
ros_perf/cros_perf.py
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>
vm_stat/kvm_stat.py
74a314b490ff542c4dd2ae4aa0d11c6394d92960 23-Jun-2011 Dale Curtis <dalecurtis@chromium.org> Upstream Autotest merge.

As titled, a merge up to 93fc426ca133e775eb495f34d138fc57d92fb55e.

- Removes a bunch of deprecated code.
- Moves several private utilities into the private repo.
- Couple changes ported upstream and resynced.

BUG=None
TEST=In progress... will spin up new Autotest server and use
run_remote_tests for bvt, regression, smoke.

Change-Id: Id3e2ad529bb7b05f148e5d98aea46bb9ea828200
Reviewed-on: http://gerrit.chromium.org/gerrit/3350
Tested-by: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
erf/perf.py
dc5a635e710d9a2895e08eca42ba096ef1ccabad 13-Jun-2011 Raymes Khoury <raymes@chromium.org> Added cros_perf profiler which passes command-line options directly to "perf record".

In the perf profiler, the programmer specified options to perf through python arguments. These
options were then converted to a perf command line. It is much more flexible and inuitive to allow the
programmer to specify the
perf command line options directly. This CL adds the cros_perf profiler which does that. This CL also adds a
check to see if perf is still running when the
autotest finishes. If perf isn't still running, something probably went wrong.

BUG=15811
TEST=Ran numerous autotests with the profiler and checked the options were being passed correctly. Also
checked that if invalid options were passed to perf, the test would fail.

Change-Id: I50aae6e141d130edff1adf3eee984e24f5e565dd
Reviewed-on: http://gerrit.chromium.org/gerrit/2526
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Tested-by: Raymes Khoury <raymes@chromium.org>
ros_perf/__init__.py
ros_perf/control
ros_perf/cros_perf.py
33ff7061ef5b80d8f08f1d7282043d05c336eaaf 04-Jun-2011 Raymes Khoury <raymes@chromium.org> Changed perf.py defaults to collect only cycles.

I meant to change this earlier, but it seems like I missed it.

BUG=none
TEST=none

Change-Id: Ia162cdef7e77956de43b1f3d164597bfc4220dca
Reviewed-on: http://gerrit.chromium.org/gerrit/2120
Reviewed-by: asharif <asharif@chromium.org>
Tested-by: Raymes Khoury <raymes@chromium.org>
erf/perf.py
494093e251a64941683a9dd74b240c02785050b5 02-Jun-2011 Raymes Khoury <raymes@chromium.org> Modified the default options for the perf profiler.

Modified the default options for the perf profiler so that:
-It copies the raw data file back to the host
-It doesn't do a perf report on the target
-It doesn't collect call-graph information
-Collect only cycles

BUG=15811
TEST=Ran perf profiler and checked that the defaults were correct.

Change-Id: I3b6cfd178ecd6d0c86b2fec88b4232f392c29f35
Reviewed-on: http://gerrit.chromium.org/gerrit/1928
Reviewed-by: Eric Li <ericli@chromium.org>
Reviewed-by: Raymes Khoury <raymes@chromium.org>
Tested-by: Raymes Khoury <raymes@chromium.org>
erf/perf.py
109d8ab33ec34b98ea88a27ff11a0aa556225de5 27-May-2011 Raymes Khoury <raymes@chromium.org> Modified perf profiler to allow the raw data file to be copied back to
the host. Also added options which allow the call graph collection to be
disabled and reporting on the target to be disabled.

BUG=chromium-os:5811
TEST=Used the profiler with a custom autotest and checked that the new
options worked as expected.

Change-Id: Ib9e66666d2e955f801d595cd3441e278de6b76c6
Reviewed-on: http://gerrit.chromium.org/gerrit/1770
Reviewed-by: Raymes Khoury <raymes@chromium.org>
Tested-by: Raymes Khoury <raymes@chromium.org>
erf/perf.py
0a99391317b5caca3d373d0bba931bcb62302566 17-May-2011 Eric Li <ericli@chromium.org> Merge autotest upstream from @5337 ~ @5360

Change-Id: Iad59314186db370f9219c3fb294b851f4e214e2e
Reviewed-on: http://gerrit.chromium.org/gerrit/1045
Reviewed-by: Eric Li <ericli@chromium.org>
Tested-by: Eric Li <ericli@chromium.org>
trace/ftrace.py
erf/perf.py
6c0b70ba5fa83b57fc0bc2f6cf347b546c1bc9e8 17-May-2011 Eric Li <ericli@chromium.org> Revert "Merge autotest upstream from @5337 ~ @5360"

This reverts commit ce1b0620fddfb6efa33cc9441d9c91ce06b30de3.

Change-Id: Iab10c235ce76bfd45e7a2036ea2413729e34ae15
Reviewed-on: http://gerrit.chromium.org/gerrit/1033
Reviewed-by: Eric Li <ericli@chromium.org>
Tested-by: Eric Li <ericli@chromium.org>
trace/ftrace.py
erf/perf.py
ce1b0620fddfb6efa33cc9441d9c91ce06b30de3 16-May-2011 Eric Li <ericli@chromium.org> Merge autotest upstream from @5337 ~ @5360

Change-Id: I2052380f1fb1ff952977914cb6f516a31c076aba
Reviewed-on: http://gerrit.chromium.org/gerrit/1031
Tested-by: Eric Li <ericli@chromium.org>
Reviewed-by: Eric Li <ericli@chromium.org>
trace/ftrace.py
erf/perf.py
22434d4311581dde7a3bb51eef03a27d757aa263 29-Apr-2011 Eric Li <ericli@chromium.org> Merge autotest upstream from @5318 ~ @5336

Change-Id: I454d3bf5cc2708d9c0ced86b4d932fe9ee79713d

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/6883246
erf/perf.py
d656d56473f50b9c1a9f5e2b2f5a9472181ee342 20-Apr-2011 Eric Li <ericli@chromium.org> Merge remote branch 'autotest-upstream/master' into autotest-merge

Merged to autotest upstream @5317.

BUG=none
TEST=
1. utils/unittest_suite.py
2. utils/packager.py --all upload -r /tmp/pkgs
3. utils/compile_gwt_clients.py

enter_chroot
emerge-x86-generic autotest-*
emerge-arm-generic autotest-*

run_remote_test suite_Smoke
run_remote_test bvt

Review URL: http://codereview.chromium.org/6883035

Change-Id: I03240d8652ffdfde4d6c8fbf474e2fad7f3cda10
erf/perf.py
861b2d54aec24228cdb3895dbc40062cb40cb2ad 04-Feb-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into master

Merged to upstream autotest @4749~@5215.

The entire change list description is too big to enlist here. Please refer to upstream (http://autotest.kernel.org/browser) for more details.

BUG=
TEST=emerged both x86 and arm build.
Tested emerged x86 build bvt against a chromeos device.

Review URL: http://codereview.chromium.org/6246035

Change-Id: I8455f2135c87c321c6efc232e2869dc8f675395e
pistat/cpistat.py
bdaab795cffa33f9a37995bb283047cb03699272 07-Jan-2011 Kenneth Waters <kwaters@chromium.org> Revert "Merge remote branch 'cros/upstream' into autotest-rebase"

This reverts commit 7edb30498d75a29a3287fe07070f2b51a116c5d4.

TEST=Built for tegra2_seaboard
BUG=10756

Review URL: http://codereview.chromium.org/6124004

Change-Id: Ifcd1a2279f5a62b99552a8f961c1430889a3a928
pistat/cpistat.py
7edb30498d75a29a3287fe07070f2b51a116c5d4 07-Jan-2011 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into autotest-rebase

Merged to upstream trunk@5066, from trunk@4749.

There is no way I could enlist each individual CL from the upstream here since it will blow up the changelist description field.

BUG=
TEST=
Had patched this CL into a fresh cut client to avoid any side effect.
run_remote_test bvt from both emerged location and third_party/autotest/file.

Both test passed!

We should also keep any eye on this to see how it gets propagated into cautotest server.
TBR=dalecurtis

Change-Id: I72f2bc7a9de530178484aea1bfb5ace68bcad029
pistat/cpistat.py
6f27d4f22a1ba5063968b8c322fa0845f3279ade 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch3

Merge to trunk@4817

BUG=
TEST=

Review URL: http://codereview.chromium.org/3554003

Change-Id: I83376bc7d28104ec2678e157eadbe7df7c05c0e0
lktrace/blktrace.py
trace/__init__.py
trace/control
trace/ftrace.py
trace/trace-cmd.tar.bz2
ockmeter/lockmeter.py
ttng/lttng.py
profile/oprofile.py
erf/perf.py
owertop/powertop.py
eadprofile/readprofile.py
517d95a1ef4edb04da427763f86068a447d45ec7 29-Sep-2010 Benson Leung <bleung@chromium.org> Revert "Merge remote branch 'cros/upstream' into tempbranch2"

This reverts commit 25fc6d1f28e54c46689f12d3b93c2540ef45323a.

TBR=ericli@chromium.org

Review URL: http://codereview.chromium.org/3541002

Change-Id: Ib0165b19bfdf02264f8a6a74ddf3ae74c8c0f7df
lktrace/blktrace.py
trace/__init__.py
trace/control
trace/ftrace.py
trace/trace-cmd.tar.bz2
ockmeter/lockmeter.py
ttng/lttng.py
profile/oprofile.py
erf/perf.py
owertop/powertop.py
eadprofile/readprofile.py
25fc6d1f28e54c46689f12d3b93c2540ef45323a 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch2

Merged to trunk@4816.

BUG=
TEST=we will build a new autotest server instance, and keep cautotest running and then later do a cname switch.

Review URL: http://codereview.chromium.org/3511003

Change-Id: Iee5f52f45f28f84927d6c6f9a74edc370d40288a
lktrace/blktrace.py
trace/__init__.py
trace/control
trace/ftrace.py
trace/trace-cmd.tar.bz2
ockmeter/lockmeter.py
ttng/lttng.py
profile/oprofile.py
erf/perf.py
owertop/powertop.py
eadprofile/readprofile.py
cefc0f9eb9996bc9da9098a886e659c0578dbe00 01-Jul-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Add perf_events based counting/sampling profilers to autotest

Counting profiler:

Counts cycles, instructions and computes CPI

Sampling profiler:

Uses perf record/report on a per-CPU basis

Signed-off-by: Arun Sharma <aruns@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4695 592f7852-d20e-0410-864c-8624ca9c26a4
pistat/__init__.py
pistat/control
pistat/cpistat
pistat/cpistat.py
erf/__init__.py
erf/control
erf/perf.py
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
ar/sar.py
70f4894d3c7bf9a4ffead7fd5032521419d7a6d8 08-Apr-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> update powertop to have a proper docstring description (taken from the powertop readme). Without this test_importer needs the non-compliant flag to add it.

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4385 592f7852-d20e-0410-864c-8624ca9c26a4
owertop/powertop.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
ar/sar.py
6d4b66e1c8b338101fc5df9adf26ab57baa7272b 29-Mar-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test: Put os.kill in kvm_stat into try block to avoid traceback

Sometimes it tried to kill an already terminated process which can cause
a traceback. This patch fixes the problem.

Signed-off-by: Yolkfull Chow <yzhou@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4351 592f7852-d20e-0410-864c-8624ca9c26a4
vm_stat/kvm_stat.py
783bd7327f4c70c0c2d4587c6ba776cc31ee904a 24-Mar-2010 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add powertop profiler

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@4327 592f7852-d20e-0410-864c-8624ca9c26a4
owertop/__init__.py
owertop/control
owertop/powertop.py
owertop/src/COPYING
owertop/src/Changelog
owertop/src/Makefile
owertop/src/README
owertop/src/bluetooth.c
owertop/src/config.c
owertop/src/cpufreq.c
owertop/src/cpufreqstats.c
owertop/src/display.c
owertop/src/ethernet.c
owertop/src/intelcstates.c
owertop/src/misctips.c
owertop/src/po/Makefile
owertop/src/po/de.po
owertop/src/po/es.po
owertop/src/po/fi.po
owertop/src/po/fr.po
owertop/src/po/hu.po
owertop/src/po/id.po
owertop/src/po/it.po
owertop/src/po/ja.po
owertop/src/po/nl.po
owertop/src/po/pl.po
owertop/src/po/pt_BR.po
owertop/src/po/ru.po
owertop/src/po/zh.po
owertop/src/powertop.1
owertop/src/powertop.c
owertop/src/powertop.h
owertop/src/process.c
owertop/src/sata.c
owertop/src/suggestions.c
owertop/src/urbnum.c
owertop/src/usb.c
owertop/src/wireless.c
owertop/src/xrandr.c
da522f7deea68524b3195e73aba1b164472a54df 17-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> kvm_stat profiler: Format exception to string

There's a small mistake on the kvm_stat profiler:
The contents of the exception message were not
converted to a string before checking if the
problem was due to debugfs not mounted. Let's
fix that.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4137 592f7852-d20e-0410-864c-8624ca9c26a4
vm_stat/kvm_stat.py
7da99b24f50a029d8b72c301943aafa8b12db1a9 12-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> KVM test utils: Add kvm_stat profiling to run_tests

Add kvm_stat profiling to the helper function
run_tests, so every kvm test run through this
function but build will present kvm_stat data
on the profiling directory.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4108 592f7852-d20e-0410-864c-8624ca9c26a4
vm_stat/kvm_stat.py
ef75180a74e3798837709d74669905086032c24f 12-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Add a new profiler to autotest, kvm_stat

In order to get kvm stats during the kvm tests execution,
a new profiler was created, kvm_stat. It's a simple profiler
that keeps an instance of the kvm_stat program running
during the test's execution, writing results on the profiling
directory.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4107 592f7852-d20e-0410-864c-8624ca9c26a4
vm_stat/__init__.py
vm_stat/kvm_stat.py
12b45582c04b2417036a6f11afc843ac5fddea50 11-Jan-2010 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Massive permission fix

Fix permissions for all the development tree

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4094 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/catprofile.py
mdprofile/__init__.py
mdprofile/cmdprofile.py
ostat/iostat.py
ockmeter/lockmeter.py
ttng/lttng.py
profile/oprofile.py
eadprofile/readprofile.py
mstat/vmstat.py
ab1faf6909bad60654e129ab5fbee16079337850 21-Dec-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add an optional outputfiles parameter to the cmdprofile profiler that
lets you override outputfile with a list of outputfiles instead of
just specifying a single file that all the command are written into.

This will allow users to profile multiple commands more easily
without having to add multiple profilers (which technically works,
but more by accident then due to being properly supported).

Risk: Low
Visibility: Adds a new optional parameter to cmdprofile for specifying
multiple output files.

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4034 592f7852-d20e-0410-864c-8624ca9c26a4
mdprofile/cmdprofile.py
21a5dce81c162221331949e87aa0553989a3c671 01-Dec-2009 lmr <lmr@592f7852-d20e-0410-864c-8624ca9c26a4> Adding a KVM profiler to autotest

Create a profiler to bracket test run(s) by loading and unloading the
kvm and kvm_intel or kvm_amd kernel modules. Allows comparison
of other test runs with and without the KVM modules loaded.

Add return codes to the kvm_control utility functions to detect nonzero
return values for modprobe / rmmod.

See http://www.linux-kvm.org/ for description of kernel-assisted VMs.

Motivation: improve coverage for the kernel virtual machine support code.

Risk factor: low, an optional new profiler.

Signed-off-by: Jeffrey S Miller <jsmiller@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3979 592f7852-d20e-0410-864c-8624ca9c26a4
vm_modload/control
vm_modload/kvm_modload.py
a22984165c931de04d5f2fb68b9bca0ccd663039 21-Nov-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fixed syntax errors in oprofile.

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3969 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
eb9b876c1553d99faf9db587b518fb9519c1866d 06-Nov-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix previous change so it doesn't break parsers of oprofile output data.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3900 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
599c598c5583b01d2ea9579b984ed35d686a570f 06-Nov-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Update oprofile profiler to include timestamps at start and stop.
Risk(Low): Impacts oprofile profiler
Visibility(Low): Users of oprofile profiler

Signed-off-by: Ryan Kubiak <rkubiak@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3899 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
bdf6abdc9cbdc6c43c1a2e5ebfc1ee71be5fffa6 25-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a generic profiler that runs any command(s) periodically and sends
output to a file.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3764 592f7852-d20e-0410-864c-8624ca9c26a4
mdprofile/__init__.py
mdprofile/cmdprofile.py
mdprofile/control
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
ttng/lttng.py
ar/sar.py
a5c00bb04228dacc14acb43d1ac408602476d9b8 03-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add a quick docstring to blktrace so it is properly added by test_importer

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3486 592f7852-d20e-0410-864c-8624ca9c26a4
lktrace/blktrace.py
a2f8954920b4bdc33c5d624a789cbcc095a767be 03-Aug-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Import error from the right library.

Signed-off-by: Nauman Rafique <nauman@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3485 592f7852-d20e-0410-864c-8624ca9c26a4
lktrace/blktrace.py
466dba75d85d61b9dc6a2b97cf9ddbbbfc4d4e7e 15-Jun-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> updates for blktrace

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3277 592f7852-d20e-0410-864c-8624ca9c26a4
lktrace/blktrace.py
lktrace/blktrace.tar.bz2
lktrace/control
3867f04463f358f22fa8fce022b9fdfa575ad5f0 10-Jun-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add blktrace profiler to autotest

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3244 592f7852-d20e-0410-864c-8624ca9c26a4
lktrace/__init__.py
lktrace/blktrace.py
lktrace/blktrace.tar.bz2
lktrace/control
7b50dafc2612c282c6ed2ae746e6a9113684a75e 25-Apr-2009 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Add a missing import of error to oprofile.

Risk: Low
Visibility: Fixes a missing import.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3036 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
43b739a0dd9a639ad3cd86a135bd7c1ac80f4114 17-Apr-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Update oprofile to version 0.9.4

Signed-off-by: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3010 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile-0.9.3.tar.bz2
profile/oprofile-0.9.4.tar.bz2
profile/oprofile.py
99eab420698d72a136116206057468fe0c3d86b8 17-Apr-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Build oprofile in parallel, it takes a while and I got tired of waiting when
debugging it.

Signed-off-by: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3009 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
1ede6a3a3845a63a4e19574ac4afa921b4cf25dd 17-Apr-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Don't specify an absolute path in os.path.join, otherwise it wont work
as we expect it to:

"If any component is an absolute path, all previous components are
thrown away, and joining continues."

Signed-off-by: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3007 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
cc0116454d2aa5e354ae384a27283ff77d9f0736 17-Apr-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Raise an AutotestError instead of the default. We end up with a pretty
verbose mess in the logs before this change.

Signed-off-by: Anton Blanchard <anton@samba.org>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@3006 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
94c443199ddc3c628ed442717d464e941864c214 17-Apr-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Moved the part of initialize() that needs to execute after setup() to be
started from start().

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


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3005 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
869ebc6a99a547d58099bbbefe2ee7e33b9df758 03-Feb-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Change profiler imports to be absolute

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




git-svn-id: http://test.kernel.org/svn/autotest/trunk@2730 592f7852-d20e-0410-864c-8624ca9c26a4
mstat/vmstat.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
ockmeter/lockmeter.py
ttng/lttng.py
profile/oprofile.py
eadprofile/readprofile.py
ar/sar.py
d876f459fff6cc4994cab329b1f80c99a86edcbd 03-Dec-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> gps pointed out that "== and != work in most cases but its better to use is
and is not as you'll never run into a case where someone's __eq__ or __ne__
method do the wrong thing."

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
1b31e13281f0e32a0953dc4716f30e9f08d1b1d4 03-Oct-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add an option to LTTng profiler that sets the limit of output file, default to 1M. The output
files are truncated when their sizes exceed the limit. Also compress the LTTng
output directory.

Signed-off-by: Jiaying Zhang <jiayingz@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@2238 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/control
ttng/lttng.py
44d6b42957d418fd92742178ce5993c93f749bf1 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> modified iostat to allow options to be passed in

Signed-off-by: Xiang Wang <xiangw@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2160 592f7852-d20e-0410-864c-8624ca9c26a4
ostat/iostat.py
d68c395252be32fbbb21e81463316cd7ae0242de 15-Sep-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add a sleep at the end of lttng stop so the tracing data is flushed to disk
before reboot. This is a quick hack so we can run lttng tests from autotest
frontend. The long-term solution should be letting 'lttctl -R' (command to
stop a trace) block until all of the tracing data is flushed to disk.

Signed-off-by: Jiaying Zhang <jiayingz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2155 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
6fdbf27166f8e4f5c4cd2a23faf44a12af47ab32 15-Sep-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Use the similar argument set for lttng setup and initialize functions so
users can change the default settings for both with profilers.add.

Signed-off-by: Jiaying Zhang <jiayingz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2154 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
4bc18de6f7582041056a4cbf4bd8032c4be2176e 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Clean up vmstat formatting.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2151 592f7852-d20e-0410-864c-8624ca9c26a4
mstat/vmstat.py
c5cbb2ba4b31a29a6c902c4716d60f662258207b 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Except for this one.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2150 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
49d555de233b0b7d98ecec944f9400ce6f329227 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Last formatting fix-fix. I promise. :P

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2149 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
d9d7b93e42321bd67a67784164f26ac9010a2f7a 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up a few trailing space issues missed by my previous cleanup.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2148 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
cfcedb432c36427576a98ec06d9ba32a7fa3682a 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Clean up formatting in client/profilers/lttng/lttng.py

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2147 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
16a08f3f6f8bd86049101d4c1debf37eafebb6c3 15-Sep-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Clean up lttng control formatting.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2146 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/control
41f7cb3d1b7c572dacaff72da6c089c85788a5ab 26-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Extend the lttng profiler so it takes input of trace points that
will be enabled during a test. Also update the profiler description to reflect
the change.

From: Jiaying Zhang <jiayingz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2037 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/control
ttng/lttng.py
4499171a836560cf827d972ad2b8503b52ac9642 21-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Set LTT_DAEMON environment variable in lttng.py so lttctl executes correctly.

From: "Jiaying Zhang" <jiayingz@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2020 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/lttng.py
9a3717f664b62231dafbcd1dec24ffd7eb743b5c 15-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix profilers to inherit job object properly

add gcc dependencies to profilers where necessary

Signed-off-by: Martin Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1993 592f7852-d20e-0410-864c-8624ca9c26a4
ockmeter/lockmeter.py
profile/oprofile.py
eadprofile/readprofile.py
c9f5092022929f1f31dc03336fcf1f215fd3b700 15-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add lttng profiler

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1992 592f7852-d20e-0410-864c-8624ca9c26a4
ttng/__init__.py
ttng/control
ttng/ltt-control-0.51-12082008.tar.gz
ttng/lttng.py
bdeff972232f8cf7c14e5526df4ffbfc27b8547b 15-Aug-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix coding style in vmstat.py

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1991 592f7852-d20e-0410-864c-8624ca9c26a4
mstat/vmstat.py
cf23819bf6b75aeff5acb4f276955ef70b8445c3 17-Jul-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Automatically work out which arguments intialize, setup, execute/run_once need

Pass the appropriate args from run_test through to each of them

From: Rafael Xavier de Souza <rxaviers@br.ibm.com>
From: Martin J. Bligh <mbligh@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1859 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/control
ostat/control
ockmeter/control
pstat/control
profile/control
eadprofile/control
ar/control
mstat/control
3bf8fea0f88454f5ccd03a448d3830faf9e7d2da 16-Jul-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add __init__.py to top level profilers dir

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1848 592f7852-d20e-0410-864c-8624ca9c26a4
_init__.py
141088c62102d0c1c6867234b103b0c21d656cb6 16-Jul-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add __init__.py to profilers dirs per jadmanski / jmeurin

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1847 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/__init__.py
ostat/__init__.py
ockmeter/__init__.py
pstat/__init__.py
profile/__init__.py
eadprofile/__init__.py
ar/__init__.py
mstat/__init__.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
atprofile/catprofile.py
ostat/iostat.py
ockmeter/lockmeter.py
pstat/mpstat.py
profile/oprofile.py
eadprofile/readprofile.py
ar/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
ar/control
ar/sar.py
cbb1ede365815a9da03f68646fc70b3bbdc4a0c2 03-Jul-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Use -tmx with iostat, per mrubin

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1764 592f7852-d20e-0410-864c-8624ca9c26a4
ostat/iostat.py
4eb888c59d2ad6a3fe4cfffe848e7288092e0981 17-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> lint fixups for profilers

Signed-off-by: Jeremy Orlow <jorlow@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1711 592f7852-d20e-0410-864c-8624ca9c26a4
ockmeter/lockmeter.py
profile/oprofile.py
eadprofile/readprofile.py
3246a7798f1e8acb35e3f1e44d8b7032cfa2dc57 12-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix the use of autotest_utils functions in oprofile so the profiler
actually works.

Signed-off-by: Colby Ranger <cranger@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1696 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
0afbb6369aa5aa9a75ea67dd9e95ec4b21c0c181 06-Jun-2008 jadmanski <jadmanski@592f7852-d20e-0410-864c-8624ca9c26a4> Convert all python code to use four-space indents instead of eight-space tabs.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1658 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/catprofile.py
ostat/iostat.py
ockmeter/lockmeter.py
pstat/mpstat.py
profile/oprofile.py
eadprofile/readprofile.py
mstat/vmstat.py
0e6192aa2853fb4dd98cbad705471b3fb135e70e 03-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Risk: High
Visibility: Any test run using client/bin/autotest would not go ahead.

Fix up the the core files to explicitly import common_lib/utils and bin/autotest_utils instead of using 'import *'. Prevents the showstopper where tests were not being run through client/bin/autotest

Signed-off-by: Ashwin Ganti <aganti@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1592 592f7852-d20e-0410-864c-8624ca9c26a4
ockmeter/lockmeter.py
profile/oprofile.py
eadprofile/readprofile.py
ec75576c431a843bd19b37c0e2eca824bb3b54f6 17-Jan-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Reverting changes made on 5 places where zero argument raises were
changed to one argument raises. Thanks to John Admanski for having
pointed out the problem with the changes (calling out a new exception on
those cases would clear out the original traceback, making it less
useful for debugging).

Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1175 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
642b03e401142565a8109ac6e8495eda1dead577 14-Jan-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Now fixing the places where we're raising string exceptions on the
client code. The patch also fixes identation errors in the iostat
profiler and error.py'>error.py.

Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1158 592f7852-d20e-0410-864c-8624ca9c26a4
ostat/iostat.py
profile/oprofile.py
e73403b00d5bce4bdf27de60947e58948dffde36 10-Jan-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix oprofile to use the local copy if the source one can't be built.

You can override this by doing local=False.

Signed-off-by: Martin Bligh <mbligh@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1131 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
bd36c03735608b331b5e7cbc4f9f2ff5b2c84c52 04-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix spacing in mpstat



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1027 592f7852-d20e-0410-864c-8624ca9c26a4
pstat/mpstat.py
dec40e2a1d621b606e18e46bd5da78fcfda89af3 03-Dec-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Added a profiler that runs mpstat on a specified interval.

Signed-off-by: Colby Ranger <cranger@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1013 592f7852-d20e-0410-864c-8624ca9c26a4
pstat/control
pstat/mpstat.py
7b7e90781893469f2484a5a8003314a43660990c 14-Nov-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up a few spots where CmdError is thrown with only one parameter
when it expects two (a message AND a return code), either by adding
the second parameter, or using a different type of exception.

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



git-svn-id: http://test.kernel.org/svn/autotest/trunk@940 592f7852-d20e-0410-864c-8624ca9c26a4
eadprofile/readprofile.py
84faf302c2f6369bd8360e5f7e67137aeeda03f3 30-Sep-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up lockmeter to put its results in the right place

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@723 592f7852-d20e-0410-864c-8624ca9c26a4
ockmeter/lockmeter.py
371a6c3079bd51ae7074cfb800ec64ecb3d77620 26-Aug-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Oprofile is now at 0.9.3. Amongst other things, this adds POWER6 support.

From: Anton Blanchard



git-svn-id: http://test.kernel.org/svn/autotest/trunk@628 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile-0.9.2.tar.bz2
profile/oprofile-0.9.3.tar.bz2
profile/oprofile.py
9476f091c1dc7462c3fef226a36297669202ecaf 01-Aug-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Clean up cat poop.

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@603 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/cat.pyc
dfe8cc61157cc9466fb4d65cd7bff67a42cf094e 23-Jul-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> This patch fixes the ability to select events for oprofile:

From: Benjamin Poirier <poirier@google.com>
Signed-off-by: Martin J. Bligh <mbligh@google.com>

* patch auto-applied to oprofile tarball regarding bug
https://bugs.launchpad.net/ubuntu/+source/oprofile/+bug/69455
* arguments added to setup function to match with call in profilers.py
* 'shutdown' added in start sequence, according to oprofile faq
http://oprofile.sourceforge.net/faq
"Why is OProfile ignoring me when I try to change the events to profile ?"
* random whitespace corrections




git-svn-id: http://test.kernel.org/svn/autotest/trunk@573 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile-69455.patch
profile/oprofile.py
2410253cab0f3147578603075e3b6abd8b083f85 23-Jun-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix up the profiler argument passing so that we inherit args and dargs into
both setup and initialize phases properly.

Add a local hook to oprofile to use the local version instead of compiling
our own

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@540 592f7852-d20e-0410-864c-8624ca9c26a4
profile/oprofile.py
ffdfd6048b3c7036b06e4b02837e5b8ba1af3cf0 06-Feb-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Add iostat as a profiler

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@480 592f7852-d20e-0410-864c-8624ca9c26a4
ostat/control
ostat/iostat.py
6628a169297bbefb6788e0ff4a81064c8c76e9e8 06-Feb-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Update vmstat profiler

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@479 592f7852-d20e-0410-864c-8624ca9c26a4
mstat/control
mstat/vmstat.py
89be4238aa79f3d6511de15dff0743588b023145 06-Feb-2007 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> add vmstat profiler

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@478 592f7852-d20e-0410-864c-8624ca9c26a4
mstat/control
mstat/vmstat.py
d016ecce0b5b990569e0ecca6f9f4f399c16e5c1 25-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Modify runtest to make tag argument optional



git-svn-id: http://test.kernel.org/svn/autotest/trunk@385 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/control
ockmeter/control
profile/control
eadprofile/control
7a36dfab52ffc5a1126ed248296efa4f56804e5d 23-Nov-2006 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Move client files under client



git-svn-id: http://test.kernel.org/svn/autotest/trunk@376 592f7852-d20e-0410-864c-8624ca9c26a4
atprofile/cat.pyc
atprofile/catprofile.py
atprofile/control
ockmeter/control
ockmeter/lockmeter.py
ockmeter/lockstat-1.4.11.tar.bz2
ockmeter/lockstat.diff
ockmeter/patch.2.6.14-lockmeter-1.gz
profile/control
profile/oprofile-0.9.2.tar.bz2
profile/oprofile.py
eadprofile/avgprofile
eadprofile/control
eadprofile/readprofile.py
eadprofile/util-linux-2.12r.tar.bz2