summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-01fec: remove unneeded target executableSami Tolvanen
Change-Id: Ic925814191b8ac952b584a994cf455f871a8ee0c
2016-09-01fec: remove unused mmap codeSami Tolvanen
Change-Id: If4b32546c6678afaaebffbcf1fbeee17a1879561
2016-08-31Merge "simpleperf: add python report interface on linux."Yabin Cui
2016-08-31Merge "simpleperf: fix two errors."Yabin Cui
2016-08-30simpleperf: add python report interface on linux.Yabin Cui
1. Build libsimpleperf_report.so on host, which exports functions to access samples. 2. Add simpleperf_report_lib.py to wrap libsimpleperf_report.so. 3. Write report_sample.py to test simpleperf_report_lib.py. The output format of report_sample.py matches the need of building FlameGraph. Bug: http://b/31069528 Test: run report_sample.py on perf.data. Test: run simpleperf_unit_test. Change-Id: I4949f8ea506f12101a9c4fb4c896957c96676853
2016-08-30Merge "Test: Basic bootloader tests via fastboot"Daniel Rosenberg
am: cbbc907a4d Change-Id: I644f3d99f55fe84da2d517c3e5e6bae439a35a12
2016-08-30Merge "Test: Basic bootloader tests via fastboot"Daniel Rosenberg
2016-08-30simpleperf: fix two errors.Yabin Cui
Fix two errors when reporting perf.data generated by linux perf. And add corresponding tests. Test: run simpleperf_unit_test. Change-Id: I04dd88461fdd6a85763847570bac16db1ccb81fa
2016-08-29Merge "Remove ancient wifi stress test" into stage-aosp-masterMitchell Wills
2016-08-27Merge "simpleperf: support hotplug events in record cmd."Yabin Cui
am: 728c8de11d Change-Id: Id5719e1c027d0c9fb09b789d5aab48167fb1bf3a
2016-08-27Merge "simpleperf: support hotplug events in record cmd."Treehugger Robot
2016-08-26simpleperf: support hotplug events in record cmd.Yabin Cui
1. When a cpu is down, read records from event files on that cpu, then close those event files. 2. When a cpu is up, open event files on that cpu, and create mapped buffer for those event files to dump records. 3. Instead of creating a mapped buffer for each event type on each cpu, we can just create a mapped buffer for all event types on each cpu. 4. When new event files are created, store a EventIdRecord record in perf.data to notify record_file_reader.cpp. Bug: http://b/29245608 Test: run simpleperf record cmd and make cpu offline and online. Test: run simpleperf_unit_test. Change-Id: Ib97a24b6292fa143e9b35cb105bdddf1e826d60a
2016-08-26Remove ancient wifi stress testChristopher Wiley
Bug: 29321445 Change-Id: Ib6797def04d69f20ea4e856d4005c57b5ec6ac42 (cherry picked from commit 3defd8f2199234c5a7a6092fba320f143caf3622)
2016-08-26Merge "Replace libziparchive-host with libziparchive"Colin Cross
am: b5a1a4a772 Change-Id: Ic4b372e601b2e66aef25c3c2b536fce86547657c
2016-08-26Merge "Replace libziparchive-host with libziparchive"Colin Cross
2016-08-26Replace libziparchive-host with libziparchiveColin Cross
libziparchive-host is no longer necessary, and mixing libziparchive-host and libziparchive can cause ODR violations. Change-Id: I018d3726e6ab099a86a3ea662ab6d52509218510
2016-08-26Merge "simpleperf: support hotplug events in stat cmd."Yabin Cui
am: c3ead4eb80 Change-Id: Ibb93a0572bdd79c75e4e40a35f8699f1f69498ca
2016-08-26Merge "simpleperf: support hotplug events in stat cmd."Treehugger Robot
2016-08-25simpleperf: support hotplug events in stat cmd.Yabin Cui
1. When a cpu is down, read counters from event files on that cpu, then close those events files. 2. When a cpu is up, open event files on that cpu. 3. Remove check of time_running != 0 in cmd_stat.cpp, because 1) We no longer need the check as we no longer open event file for each cpu for non system wide profiling. 2) The kernel has a bug that can make time_running == 0 if a cpu is down while profiling. But the counter value is still valid, and shouldn't be ignored. Bug: http://b/29245608 Test: run simpleperf and make cpu offline and online. Change-Id: I3e7bec139c5f50bea1311c95bb154a5b290a72ea
2016-08-25Merge "simpleperf: print file path used for reading symbols."Yabin Cui
am: 4a35dafc21 Change-Id: I5a2751fbb762f98f9ef1050372a2c5e506e2c76d
2016-08-25Merge "simpleperf: print file path used for reading symbols."Treehugger Robot
2016-08-25simpleperf: print file path used for reading symbols.Yabin Cui
It helps users to find out which files are used for reporting. Bug: http://b/29574526 Change-Id: I3d608e61c50471632c50bf6e8f6f9e45c63fc4b4 Test: run `simpleperf report --log verbose` manually.
2016-08-25Merge "Don't include multinetwork tools in Brillo."Alex Deymo
am: db7a1c571a Change-Id: I27b4a11bcdf4c578f908ffa4ca7c5a9d2599b547
2016-08-25Merge "Don't include multinetwork tools in Brillo."Alex Deymo
2016-08-24Merge "simpleperf: improve cpu_hotplug_test."Yabin Cui
am: a903cc9b9c Change-Id: I53f788aa6100b0eb6917920334efa624af14e77f
2016-08-24Don't include multinetwork tools in Brillo.Alex Deymo
These tools depend on libandroid, which is not present in Brillo. Bug: 31068444 Change-Id: I0565775ab3effa910149f28bef790b6fed4e6485 Test: `make dist`
2016-08-24Merge "simpleperf: improve cpu_hotplug_test."Treehugger Robot
2016-08-24simpleperf: improve cpu_hotplug_test.Yabin Cui
1. Add offline_while_user_process_profiling test for http://b/28086229. 2. Add options to adjust test duration and cpu hotplug interval. 3. Report test time periodically for tests running for a long time. Bug: http://b/25193162 Bug: http://b/28086229 Bug: http://b/30839193 Change-Id: If02a45aed2dab718ca381b24da2898f22fed1a8d
2016-08-24Merge remote-tracking branch 'goog/stage-aosp-master' into HEADBill Yi
am: 4d269c7593 Change-Id: I7a58fdbab63c1c4cd11973d49278571db0c50fde
2016-08-24Merge "simpleperf: notify user for unsupported modifiers."Yabin Cui
am: 43908a31c1 Change-Id: I4f53fa84ea663a4090a99f2261f153faf8f0b8fb
2016-08-24Merge remote-tracking branch 'goog/stage-aosp-master' into HEADBill Yi
2016-08-24Merge "simpleperf: notify user for unsupported modifiers."Yabin Cui
2016-08-24Merge "simpleperf: monitor cpu hotplug in stat cmd."Yabin Cui
am: ef99a90b46 Change-Id: I7c89d8155b9ade3c288d92d496ec9fc84be648b6
2016-08-24simpleperf: notify user for unsupported modifiers.Yabin Cui
If there is no need to record samples, u/k modifiers used in event cpu-clock and task-clock are ignored by the kernel. Bug: http://b/29574526 Change-Id: Id45568448888965a3bfa382c4420e395a741f77a Test: simpleperf_unit_test.
2016-08-24Merge "simpleperf: monitor cpu hotplug in stat cmd."Treehugger Robot
2016-08-24Merge "Don't invent our own pagemap constants."Elliott Hughes
am: 5079d0aabc Change-Id: Ica4813dcf76197b8866307c7c0ba5fc4a56fd6e3
2016-08-24Merge "Don't invent our own pagemap constants."Treehugger Robot
2016-08-23Don't invent our own pagemap constants.Elliott Hughes
Use the uapi ones instead, so I don't have to think about whether ours are correct. Bug: http://b/31044648 Change-Id: Ibe4a078ad3223419301a5f585e8ed24dd7366ce2
2016-08-23Merge "simpleperf: omit samples get while dumping thread map information."Yabin Cui
am: 84ea73e65c Change-Id: I7f7aa533eb8f4d0d224981f2b2865ee45e0d718f
2016-08-23Merge "simpleperf: omit samples get while dumping thread map information."Treehugger Robot
2016-08-23simpleperf: omit samples get while dumping thread map information.Yabin Cui
Bug: http://b/31039737 Change-Id: Ia65c61b874a2f60d7022be3ef0774f5fc6b09d7c Test: test manually as described in the bug.
2016-08-22Merge "simpleperf: avoid selinux denials."Yabin Cui
am: 23a73bf538 Change-Id: Ia5b6064a5f3936f739480221a9603b66b744ed6f
2016-08-22Merge "simpleperf: avoid selinux denials."Treehugger Robot
2016-08-22simpleperf: avoid selinux denials.Yabin Cui
1. Don't stat() entries in /proc directory if not necessary. 2. Don't read tracing events in debugfs if not root. Bug: http://b/30981595 Change-Id: Ic695671357dad936d60f4e6d573ce4452dec217c Test: run `simpleperf list` and check kmsg.
2016-08-19simpleperf: monitor cpu hotplug in stat cmd.Yabin Cui
Move code used to monitor cpu hotplug events from cmd_record.cpp to event_selection_set.cpp, so it can also be used by stat cmd. Bug: http://b/29245608 Change-Id: I1f5f3268192aa5c98c0be9fc1de763352c08eab6 Test: run simpleperf stat, and online/offline a cpu.
2016-08-17Merge "Build icache for arm on arm64"Colin Cross
am: cb0112fe64 Change-Id: I5554ac7aaf799dda68731802bd8668b3db5bbfb5
2016-08-17Merge "Fix google-explicit-constructor warnings in ext4_utils."Chih-hung Hsieh
am: e2d0366442 -s ours Change-Id: Ic9f51fa2ad2f69004afc51fb31a75aa910697b0c
2016-08-17Merge "Build icache for arm on arm64"Colin Cross
2016-08-16Build icache for arm on arm64Colin Cross
Change-Id: Iac9511f7d943fde9e00d21d46ca32f186d4d5673
2016-08-16Merge "Fix google-explicit-constructor warnings in ext4_utils."Chih-hung Hsieh