summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-04Merge "simpleperf: add META_INFO feature section in perf.data."android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Treehugger Robot
2017-05-03simpleperf: add META_INFO feature section in perf.data.Yabin Cui
META_INFO section can be used to pass some small information in perf.data. Add simpleperf_version in META_INFO section for debugging. Bug: http://b/37960318 Test: run simpleperf_unit_test. Change-Id: If17a147bbc77b5af063fbf77e02ca81430afb8a5
2017-05-03Merge "Remove e4crypt_do_init_user0"Treehugger Robot
2017-05-03Remove e4crypt_do_init_user0Tom Cherry
Init is the only user and it no longer uses this. Test: Boot bullhead, observe that init_user0 still happens Change-Id: Ie47153e5efd202fd4d8bdc5656a2517adb2d6773
2017-05-03Merge "simpleperf: Update doc for Android O."Treehugger Robot
2017-05-03Merge "simpleperf: add 'event_count' field in report proto."Yabin Cui
2017-05-02simpleperf: Update doc for Android O.Yabin Cui
1. Refactor README.md: a. Add menu. b. Add `Tools in simpleperf` section. c. Use real examples in `Android application profiling`, add checks for how to prepare the application. d. Link to examples workable on Android O. 2. Use `ps -e` instead of `ps` for Android O in app_profiler.py. 3. Remove a failed assert in annotate.py. 4. Upload demo projects. Bug: http://b/35157971 Test: follow examples on linux and mac. Change-Id: Iab115bdca3d5abad56fcdc048ccc75f867f5bd6b
2017-05-02simpleperf: add 'event_count' field in report proto.Yabin Cui
Bug: http://b/37294023 Test: run simpleperf_unit_test. Change-Id: Ib16eec55512769a9a241c8ff054179d450488142
2017-04-29Merge "simpleperf: fix unknown binary in samples."Yabin Cui
2017-04-28simpleperf: fix unknown binary in samples.Yabin Cui
1. Wrong ip addresses in callchain can map to unknown binary. They should be omitted. 2. When unknown binary is really hitted in samples, which is unlikely to happen, make sure report-sample cmd will not skip the file id of unknown binary. 3. Add corresponding test. Bug: http://b/37783312 Test: run simpleperf_unit_test. Change-Id: Ifb5b59401bce9c8f81042015e73f190acd43ce31
2017-04-27Merge "Fix wrong usage of * in find command"Treehugger Robot
2017-04-27Fix wrong usage of * in find commandPo Hu
When KATI_FIND_EMULATOR is disabled, the following warning message will appear: find: paths must precede expression: build_id.h Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] Because the * in 'find some/path -name *' command is wrongly expanded by shell. We should change * to "*". Change-Id: Ib051f47bb9335930944b8f63fd0fb54fbb867f31 Test: make KATI_EMULATE_FIND=false
2017-04-20Merge "simpleperf: update simpleperf prebuilts to build 3929284."Treehugger Robot
2017-04-20simpleperf: update simpleperf prebuilts to build 3929284.Yabin Cui
Taken from branch aosp-master. Test: None. Change-Id: I2da2d392cff6bcb6a65de203a73707fede5220de
2017-04-19Merge "simpleperf: add --brief-callgraph option for report cmd."Treehugger Robot
2017-04-19simpleperf: add --brief-callgraph option for report cmd.Yabin Cui
Remove duplicated callgraphs (which appears as a sub graph in another place) in --brief-callgraph mode. Accept brief callgraph in report.py. Add unit test for --brief-callgraph option. Bug: http://b/37444055 Test: run simpleperf_unit_test. Test: manually run report.py. Change-Id: I41977762552ec66807f394558352da6cbefaec2e
2017-04-19Merge "simpleperf: add --start_profiling_fd option for record cmd."Treehugger Robot
2017-04-18simpleperf: add --start_profiling_fd option for record cmd.Yabin Cui
Bug: http://b/37480722 Test: run simpleperf_unit_test. Change-Id: Ie6a742b986d79c70d3b6ab8e470eae42af34c9ef
2017-04-18Merge "simpleperf: add warning for `--call-graph fp` option on arm."Treehugger Robot
2017-04-18simpleperf: add warning for `--call-graph fp` option on arm.Yabin Cui
Bug: http://b/37443666 Test: run simpleperf_unit_test. Change-Id: Ie376babab1aa5ec887c8d640266fbce9a0928290
2017-04-14Merge "perfprofd: Use testdata in Android.bp."Treehugger Robot
2017-04-13Merge "simpleperf: fix pprof proto generator."Yabin Cui
2017-04-13perfprofd: Use testdata in Android.bp.Yabin Cui
Bug: http://b/33846452 Test: run perfprofd_tests. Change-Id: I90b3808f0a45b8158acd0ab8ebe53c3df9531b5f
2017-04-13simpleperf: fix pprof proto generator.Yabin Cui
Bug: http://b/36988814 Test: run pprof_proto_generator.py and no function_id == 0. Change-Id: I42bead12818e2d9396c4e52afc2dca84558d7731
2017-04-05Merge changes I127a22ae,I8b469b41Treehugger Robot
* changes: Use TotalTime instead of ThisTime as app launch latency metric app-launcher is a App Launch Perf Analysis tool.
2017-04-04Use TotalTime instead of ThisTime as app launch latency metricMohan Srinivasan
Use TotalTime instead of ThisTime (both reported by am) as our activity launch latency metric. TotalTime is more representative of user perceived latency. Also add back YouTube to the list of apps we launch test by default. Test: Time app launches manually for the various apps, and check that TotalTime better represents the launch latency. Change-Id: I127a22ae409ee0141d847e711e09f7873dbb420f Signed-off-by: Mohan Srinivasan <srmohan@google.com>
2017-04-04app-launcher is a App Launch Perf Analysis tool.Mohan Srinivasan
app-launcher is an automated tool that automates the launching of selected Apps (hundreds of times each) and collects system metrics like CPU util, storage device util, launch times, context switches, branch mispredicts etc. This is very useful for A/B compares of system changes in how they impact App Launch. This code was under google_experimental and was used by various members who found it very useful, so moving it under system/extras (under userdebug). Test: I (and others) have used app launcher on multiple occasions over several months. And comparison of metrics reported by app-launcher are consistent with metrics reported by other tools, for these tests. Change-Id: I8b469b4165035a958b155cfffc93341cddcc444c Signed-off-by: Mohan Srinivasan <srmohan@google.com>
2017-04-05Merge "Add test config to memory_replay_tests"Treehugger Robot
2017-04-04Add test config to memory_replay_testsDan Shi
This change allows TradeFederation to run the test directly. Refer to b/35882476 for design and discussion of this change. Bug: 35882476 Test: local test tradefed.sh run template/local --template:map test=memory_replay_tests Change-Id: Ibce3758f999e3f85624e5c6ca48f21f6e496b356
2017-04-04Merge "Do not build simpleperf_unit_test and simpleperf_cpu_hotplug_test for ↵Dan Shi
host test cases" am: f0deb9a4dd Change-Id: I3f5a34c752e4094f27145deae243d93f210d30d3
2017-04-04Merge "Do not build simpleperf_unit_test and simpleperf_cpu_hotplug_test for ↵Treehugger Robot
host test cases"
2017-04-03Do not build simpleperf_unit_test and simpleperf_cpu_hotplug_test for host ↵Dan Shi
test cases These two tests may not support host side test yet, don't output the test binary to testcases folder for now. Test: make -j simpleperf_unit_test Bug: 36820939 Change-Id: Ibffdf6a842e1cfabe8aa38dd75a79416a8bd0b23
2017-03-31Merge "Add test config to simpleperf_unit_test and simpleperf_unit_test"Dan Shi
am: 4f6fd05205 Change-Id: If83c79fa1e72b043af12ea67d09e738cd6c95bd3
2017-03-31Merge "Add test config to binderAddInts"Dan Shi
am: d89f0cb87b Change-Id: I9b629df0aebd2cbde27a1192addd1581ac405e6a
2017-03-31Merge "Add test config to time-unit-tests"Dan Shi
am: f8289b9e88 Change-Id: I9e14a76af68fccc187f2f6adf41b8a08e0a73609
2017-03-31Merge "Add test config to mmapPerf"Dan Shi
am: a2f6b2fe17 Change-Id: I8273d4b05e3db03f20dc3d05d45d309283abf559
2017-03-31Merge "Add test config to perfprofd_test"Dan Shi
am: e0d790c82c Change-Id: I3e4a8f2b22870bd7ed3ad473a4b7135ff1a2d3c1
2017-03-31Merge "Add test config to simpleperf_unit_test and simpleperf_unit_test"Treehugger Robot
2017-03-31Merge "Add test config to binderAddInts"Treehugger Robot
2017-03-31Merge "Add test config to time-unit-tests"Treehugger Robot
2017-03-31Merge "Add test config to mmapPerf"Treehugger Robot
2017-03-31Merge "Add test config to perfprofd_test"Treehugger Robot
2017-03-31Merge "Removed e4crypt_create_device_key"Tom Cherry
am: 582a79634a Change-Id: I23e8519eaf880d9d9f76ee651d2af966d1271e8e
2017-03-31Merge "Removed e4crypt_create_device_key"Tom Cherry
2017-03-31Merge "Switch to fs_mgr_read_fstab("/fstab.device")"Bowgo Tsai
am: 4485a7b47d Change-Id: Ibc639cb80e15617fd351dd8a85dcbdd1b60d7bbd
2017-03-31Merge "Switch to fs_mgr_read_fstab("/fstab.device")"Treehugger Robot
2017-03-29Add test config to perfprofd_testDan Shi
Design doc: Generalized Suites & the Unification of APCT & CTS Workflows Design/Roadmap https://docs.google.com/document/d/1eabK3srlBLouMiBMrNP3xJPiRRdcoCquNxC8gBWPvx8/edit#heading=h.78vup5eivwzo Details about test configs changes are tracked in doc https://docs.google.com/document/d/1EWUjJ7fjy8ge_Nk0YQbFdRp8DSHo3z6GU0R8jLgrAcw/edit# Bug: 35882476 Test: local test Change-Id: Ia0842c07ee908fbdcb01eefbe810d2d6aeff9bda
2017-03-29Merge changes Ice70d9ab,Iba7ac028Sen Jiang
am: 01320a387b Change-Id: Ie9fcffc1626270c19441590fd75f76fbc907ca88
2017-03-29Merge changes Ice70d9ab,Iba7ac028Treehugger Robot
* changes: os-release.d: remove deprecated cfgtree support. os-release.d: Add system_id.
2017-03-29Removed e4crypt_create_device_keyJanis Danisevskis
Init was the only user of e4crypt_create_device_key and it is not using it any more. Bug: 36278706 Test: Removed unused code, and codebase still builds. Change-Id: Id134a2dbcaf6553353962f5b93883bb3981f217c