Age | Commit message (Collapse) | Author |
|
|
|
|
|
Bug: 185526771
Test: run scripts/test/test.py.
Change-Id: Ic1c679fe609792e31f0d24f2e1a516e3fc57b3ee
|
|
It's a tiny library that is better off without the DSO overhead.
Test: `m droid` without libdexfile_support available as a shared lib
Test: Boot
Bug: 143978909
Change-Id: Iba987a339be613872f12e1739069284fa208d813
|
|
Add android_sdk_version and android_build_type in meta info.
Bug: 186469540
Test: run simpleperf_unit_test
Change-Id: Ifcab8c93e5565bd3df8cc4f0ef167e537c08b2c5
|
|
|
|
|
|
|
|
Use accessors to for all the fields.
Test: build
Change-Id: I8d59fa04f66d90ff758e6ce052b1e9cbd47fc4ea
|
|
|
|
* changes:
simpleperf: add app_type in meta info.
simpleperf: add --add-meta-info to record cmd.
|
|
runtest directory contains test data for release test.
Bug: none
Test: build simpleperf_script.zip.
Change-Id: Ia82b9aba5aa7161ed95f1a2e1ea6078bae362ad1
|
|
Bug: 185526771
Test: run scripts/test/test.py.
Change-Id: I64c9f0c34b04b4088b7151b29917f3a96db806ee
|
|
This is to prepare for merging etm_branch_list files having different
kernel_start_addrs.
Bug: 187773121
Test: run simpleperf_unit_test.
Change-Id: I76c36a392d7d6b49c57871a5a74cc218b93b4eb4
|
|
app_type shows whether the recorded app is debuggable or profileable.
When recording via run-as, the app is thought of as debuggable.
When recording via simpleperf_app_runner, the app is thought of as profileable.
Bug: 186469540
Test: run simpleperf_unit_test
Test: run CtsSimpleperfTestCases.
Change-Id: If4c379401921b253bb52fcf0bdaab3115232f4be
|
|
It is used to pass extra metea info, to store in recording file.
Bug: 186469540
Test: run simpleperf_unit_test
Change-Id: I009c8bef9e2a12c05e15ea8e577abd8427450e8d
|
|
|
|
|
|
Bug: 187540905
Test: run scripts/test/test.py.
Change-Id: If77c0dada42d31148ea6dd9a35088067212c428e
|
|
The file vaddrs in vmlinux may can't be represented precisely by double
type in Javascript. So store vaddrs as hex strings in json data, and
handle them using BigInt in report_html.js.
Bug: 186566291
Test: run script/test/test.py TestReportHtml*.
Test: run script/report_html.py manually.
Change-Id: Ic710d1795bb2269c0e2889ed9e9ea362f0cc0aa4
|
|
|
|
Also add test for the regression.
Bug: 187765275
Test: run scripts/test/test.py TestPprof*.
Change-Id: I7d0524a26ef1976c0e7b10cb62eabd27bbf5e349
|
|
Bug: 185526771
Test: run scripts/test/test.py.
Change-Id: I3af37d0943fa705531fff273177e183f8dece27c
|
|
When looking for a binary in binary_cache, we use path
<binary_cache_dir> / <path_on_device>. This is not suitable for
the kernel vmlinux, which doesn't have a path on device.
To support vmlinux, this CL does below changes:
1. In binary_cache_builder.py, create build_id_list file, which supports
finding a binary via its build id.
2. Add BinaryFinder class as a wrapper for finding binaries in
binary_cache. It uses both build_id_list and path on device.
3. Use BinaryFinder in report scripts.
Also add several related tests.
Bug: 186566291
Test: run scripts/test/test.py.
Change-Id: I74fd7dacdc4b42431797b7c2e293179e32ccb94b
|
|
|
|
|
|
|
|
1. In cmd_record.cpp, don't read kernel addresses when kernel samples
are not recorded.
2. In kallsyms.cpp, print kernel address warning only once.
3. In kallsyms.cpp, use property only when running as root.
Bug: none
Test: run simpleperf_unit_test
Change-Id: I06de729ff3f26f7cd2115593182d6cb9cdc7f525
|
|
When writing to a read-only file system, the error msg is improved as
below:
$ simpleperf record sleep 1
Can't create output file in directory .: Read-only file system
Bug: 187126442
Test: run simpleperf_unit_test
Change-Id: I5c61514aeba1bfc73e9bf95f625adf76e7056fa0
|
|
To extend the use of generating test files in debug-unwind cmd:
1. Support multiple times in --sample-time option.
2. Keep build ids in test files.
3. Remove the requirement that input files should be recorded with
--keep-failed-unwinding-debug-info.
Bug: none
Test: run simpleperf_unit_test.
Change-Id: I4a9bb4d978733dd6d761e28d5d0de42cb572d57c
|
|
Bug: none
Test: run simpleperf_unit_test.
Test: run simpleperf manually.
Change-Id: Ibbd5048b0b703be950ebc27864460f096fc64f07
|
|
When running simpleperf in AOSP projects, search llvm tools from clang
prebuilts. Because It usually has a newer version than tools in ndk.
Bug: none
Test: run test/test.py TestTools* and print tool paths.
Change-Id: Icd5ba72bc82800aebb1d6f378f8088ed19b86ac0
|
|
With TRBE, each CPU has its own sink. Therefore, when TRBE is present,
instead of choosing a single sink, we leave the sink configuration
empty. The driver will use the appropriate sinks for us.
Change-Id: Ibf4b1154b6f4dba29511c72764d6758798e4a841
|
|
|
|
Bug: 169454086
Test: run scripts/test/test.py.
Change-Id: Ic5b348859e8a2955a4a407264e7cf01540edd749
|
|
|
|
Also format code by autopep8.
Bug: 185526771
Test: None
Change-Id: If45bfff425463b1f0c71baa0e7f8032502eb1824
|
|
Taken from branch aosp-simpleperf-release.
Bug: 183648916
Test: run script/test/test.py.
Change-Id: I1bdf2b41cf2400ae021cfdec71b8d3e4f26bf063
|
|
Test: simpleperf_unit_test --gtest_filter=*dex*
Change-Id: I837c1e1669bd7f602da6d86051b2fb666044b1ac
|
|
* changes:
simpleperf: add proguard mapping file option to report interfaces.
simpleperf: support proguard mapping file in callchain report.
|
|
Also use PreprocessOptions() in cmd_report_sample.cpp.
Bug: 169454086
Test: run simpleperf_unit_test
Change-Id: I9ce48ec418991205228311088a89f24f639a67d5
|
|
Also refactor LineReader to make it available on windows.
Bug: 169454086
Test: run simpleperf_unit_test
Change-Id: I16844f824b3e6bb52884510fe6e93cf4cf90d4e3
|
|
|
|
Remove check to fix test record_cmd.system_wide_fp_callchain_sampling on
linux host.
Bug: none
Test: run simpleperf_unit_test
Change-Id: I30737ff1c19cfca9b8afa0465a2bb1b3783b9365
|
|
* changes:
simpleperf: add test type in do_test.py.
simpleperf: merge test_monitor.py into do_test.py.
simpleperf: prepare for merging test_monitor.py.
|
|
Add test type to python tests to decide how to run them.
Also add progress bar to show test progress.
Bug: 182507493
Test: run test.py
Change-Id: I69174120bf378d74408ea9f19daa8595dde2dab8
|
|
1. Use multiprocessing in do_test.py to run tests in child processes.
2. Add -d option to run test on multiple devices in parallel.
3. Add -r option to repeat testing.
4. Remove test_monitor.py.
Bug: 182507493
Test: run test.py.
Change-Id: I1ab2874d8a44bc9ad2bf1830864ddb8e467fbd8b
|
|
1. Refactor TestHelper class to remove global variable and add explicit
init class method.
2. Merge TestLogger into TestHelper.
3. Move build_testdata() into do_test.py.
4. Move test filter into an explicit function.
Bug: 182507493
Test: run test.py.
Change-Id: Ia76baa17197f6134ec4d7868e764edb66d29b6bd
|
|
This relands https://r.android.com/1643426 after requisite fix in
https://r.android.com/1671709.
Test: m nothing
Bug: 143978909
Change-Id: I18dda8b989544e64c45ffa274cd053354f89e4a7
|
|
|