History log of /system/extras/simpleperf/runtest/runtest.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b92bae84b27889b548214bee8d0730ef10da0c6d 10-Feb-2017 Yabin Cui <yabinc@google.com> simpleperf: build libsimpleperf_inplace_sampler library.

libsimpleperf_inplace_sampler.so is a library linked with
user's app. It opens a unix socket server and waits for
simpleperf's profiling request. This patch doesn't contain
code generating real samples, instead it uses a fake sample
for testing.
Add runtest for 32bit. Increase runtest duration to 2 seconds
and adjust some args in runtest.conf to make test result stable.
Fix one tiny error in cmd_report.cpp to report correctly
in `report --sort comm,symbol`.

Bug: http://b/30974760
Test: run simpleperf_unit_test.
Test: run runtest.py.
Change-Id: I58163fe47f62e6ba7dd684b33a2ce302feb880f5
/system/extras/simpleperf/runtest/runtest.py
26968e6c48dea2eaa217991ade5a04e801f1be8f 30-Jan-2017 Yabin Cui <yabinc@google.com> simpleperf: add inplace-sampler event type.

Add inplace-sampler event type, so it can be used in
record/list command. This cl doesn't add code for communicating
with profiled process, and fake records in InplaceSamplerClient.cpp
for testing purpose.
Refactor runtest.py to test inplace-sampler profiling.

Bug: http://b/30974760
Test: run runtest.py --inplace-sampler.
Change-Id: I92d8b03583c58b3589207f5c655e03853899be3a
/system/extras/simpleperf/runtest/runtest.py
d30feebb7aface8dc94945686c39a0dc16762294 04-Aug-2016 Yabin Cui <yabinc@google.com> simpleperf: fix runtest.

Use /data/local/tmp directory to pass runtest on non-rooted device.

Bug: 30413567
Change-Id: I730e0763b409f458390583dd894a644e9213e807
/system/extras/simpleperf/runtest/runtest.py
2e83a5d3b19ee139c6347934ab5a85958004d5c2 27-Jul-2016 Yabin Cui <yabinc@google.com> simpleperf: fix runtest.

1. Adjust function_fork.cpp and two_functions.cpp to make functions
not combined by compiler.
2. Download simpleperf and runtest executables on device before
testing on device.
3. Find config file in the same directory as runtest.py instead of
relying that it is in current directory.

Bug: http://b/30413567
Change-Id: I4ed9964f443c8cc75f4cb352ff1f13fb11104c89
Test: mmma system/extras/simpleperf && python system/extras/simpleperf/runtest/runtest.py
/system/extras/simpleperf/runtest/runtest.py
4a6c58dba06a907c2d687ff0983469c6abe640a7 13-Jan-2016 Yabin Cui <yabinc@google.com> Simpleperf: fix --comms option for report cmd.

Add corresponding runtest.
Adjust limitation in runtest.conf to pass tests on device.

Change-Id: Ie56dc6dc4dade3c13aaaa7022b871b5d8bfd69dc
/system/extras/simpleperf/runtest/runtest.py
d4360f8c681a10d9d58173995aca2166aec65386 08-Oct-2015 Yabin Cui <yabinc@google.com> Simpleperf: add runtest for callgraph.

Bug: 22885658
Change-Id: Ief8d0f1462f78ceae76a10c3effbbe66e0b3b6c1
/system/extras/simpleperf/runtest/runtest.py
0930ea88ef02f784044106c67b11f9b82afbda5d 02-Oct-2015 Yabin Cui <yabinc@google.com> Simpleperf: add runtest.

Bug: 22885658
Change-Id: If710c215340665a8fa7d7bfdcd5a6686598cccbd
/system/extras/simpleperf/runtest/runtest.py