OSDN Git Service
Daniel Friederich [Thu, 17 Nov 2016 23:12:59 +0000 (23:12 +0000)]
Merge "Support to use kallsyms" am:
53f91652de am:
a38b2ff9fd
am:
aa90a389dc
Change-Id: I2332e7783286d1b0177eb275ecb742308155f8ee
Daniel Friederich [Thu, 17 Nov 2016 22:58:04 +0000 (22:58 +0000)]
Merge "Support to use kallsyms" am:
53f91652de
am:
a38b2ff9fd
Change-Id: I82019514912368097ac1d9445f22d05d0b6dbb1b
Daniel Friederich [Thu, 17 Nov 2016 22:42:54 +0000 (22:42 +0000)]
Merge "Support to use kallsyms"
am:
53f91652de
Change-Id: Idfd6cf053e2ecd4a56c6cfa1b39b0d46d30db78c
Treehugger Robot [Thu, 17 Nov 2016 22:13:13 +0000 (22:13 +0000)]
Merge "Support to use kallsyms"
Yabin Cui [Thu, 17 Nov 2016 02:05:02 +0000 (02:05 +0000)]
Merge "Revert "Revert "simpleperf: use libprocinfo.""" am:
960a81aaeb am:
4d5775380e
am:
0332ebe140
Change-Id: I93e408a3eae2ba00ad118850513cf5d63eda09ea
Yabin Cui [Thu, 17 Nov 2016 01:57:32 +0000 (01:57 +0000)]
Merge "Revert "Revert "simpleperf: use libprocinfo.""" am:
960a81aaeb
am:
4d5775380e
Change-Id: I5c7678d653518a7418c0bbabd6198032ab226ff2
Yabin Cui [Thu, 17 Nov 2016 01:50:32 +0000 (01:50 +0000)]
Merge "Revert "Revert "simpleperf: use libprocinfo."""
am:
960a81aaeb
Change-Id: I8e9819f630828a7cf03ec189050a5b3ee353ad1c
Yabin Cui [Thu, 17 Nov 2016 01:38:12 +0000 (01:38 +0000)]
Merge "Revert "Revert "simpleperf: use libprocinfo."""
Yabin Cui [Thu, 17 Nov 2016 01:04:58 +0000 (01:04 +0000)]
Merge "simpleperf: update readme." am:
3bee5e326a am:
106b61434c
am:
d9647620fd
Change-Id: Ieb989f6e41883bf62b0583e3111fd15c196a2228
Yabin Cui [Thu, 17 Nov 2016 00:57:02 +0000 (00:57 +0000)]
Merge "simpleperf: update readme." am:
3bee5e326a
am:
106b61434c
Change-Id: Ib5b7534743ead1df5ca8e630fab5a28e628c02a3
Yabin Cui [Thu, 17 Nov 2016 00:50:27 +0000 (00:50 +0000)]
Merge "simpleperf: update readme."
am:
3bee5e326a
Change-Id: Ic33ffdf23ba356543108790fd66e8d05bdc3a6d5
Yabin Cui [Thu, 17 Nov 2016 00:37:40 +0000 (00:37 +0000)]
Merge "simpleperf: update readme."
Yabin Cui [Wed, 16 Nov 2016 22:47:53 +0000 (22:47 +0000)]
Revert "Revert "simpleperf: use libprocinfo.""
This reverts commit
49bdb3d52dec84a715159c325748e5f15d69b9ce.
Change-Id: Ib9c061cc3b3fbcadfb6fdd1a25050644a9dae4e2
Yabin Cui [Wed, 16 Nov 2016 22:15:30 +0000 (14:15 -0800)]
simpleperf: update readme.
Test: none.
Change-Id: Ic4f15dc3dec11e75de01a9ef537be915602962bd
Tao Bao [Wed, 16 Nov 2016 21:59:57 +0000 (21:59 +0000)]
Merge "tests/framebuffer: Remove dead minui.h." am:
c2f3086b91 am:
30d2123f24
am:
ccdfda0210
Change-Id: Id36bd4e8393edae0b379f65ff84bfd71dc93c341
Tao Bao [Wed, 16 Nov 2016 21:52:27 +0000 (21:52 +0000)]
Merge "tests/framebuffer: Remove dead minui.h." am:
c2f3086b91
am:
30d2123f24
Change-Id: Ia057eb4f43a4d5b4941dac98f61e9525c0208e98
Tao Bao [Wed, 16 Nov 2016 21:44:59 +0000 (21:44 +0000)]
Merge "tests/framebuffer: Remove dead minui.h."
am:
c2f3086b91
Change-Id: Idd29119b500d35066f0c0bfdc682e22e07044e4e
Treehugger Robot [Wed, 16 Nov 2016 21:37:59 +0000 (21:37 +0000)]
Merge "tests/framebuffer: Remove dead minui.h."
Tao Bao [Wed, 16 Nov 2016 19:44:17 +0000 (19:44 +0000)]
tests/framebuffer: Remove dead minui.h. am:
43ef74b2e3
am:
a6b0b083a7
Change-Id: Ibc46f13fd378cc7c612523a7d01cfd432aecf8ea
Tao Bao [Wed, 16 Nov 2016 19:37:16 +0000 (19:37 +0000)]
tests/framebuffer: Remove dead minui.h.
am:
43ef74b2e3
Change-Id: I6383fa534ca9bca9cb9e31a1df4fc9de6ff8a572
Tao Bao [Tue, 15 Nov 2016 22:46:25 +0000 (14:46 -0800)]
tests/framebuffer: Remove dead minui.h.
commit
480a3b1c6d5413e06775a9d53cb1596535fd91ae removed the last user of
this local minui.h copy in 2011.
Test: mmma system/extras/tests/framebuffer
Change-Id: Iee42ef604616dc539d4a1699ada7209c48c3bcd9
(cherry picked from commit
12c8e9996232b3b41ebe9b3fe1c288823c77f292)
(cherry picked from commit
5eda75e963bae890e82c7112ce2d8a918e32ba4d)
Daniel Friederich [Mon, 17 Oct 2016 17:28:03 +0000 (12:28 -0500)]
Support to use kallsyms
Also:
- Adapt to use with Python 3
(where str is a wide type but our C API's expect 8 bit character strings)
- Use OS specific so names (e.g. simpleperf_report.dll on Windows)
- On Windows as we use mingw to build, preload libwinpthread-1.dll.
Test: with manual incovation using report_sample.py
Change-Id: Id973c463608c520b8eec229026c74dc5e8144cf8
George Burgess IV [Wed, 16 Nov 2016 04:48:26 +0000 (04:48 +0000)]
Merge "Fix static-analyzer memory leak warnings." am:
ba27872adb am:
283c74c540
am:
c458028f69
Change-Id: I80adc93fc89e3722f6b14f3ef7d3ee82edcefeff
George Burgess IV [Wed, 16 Nov 2016 04:40:26 +0000 (04:40 +0000)]
Merge "Fix static-analyzer memory leak warnings." am:
ba27872adb
am:
283c74c540
Change-Id: Ib46eb54fb319d816ffcfdfa31a2cd38ae7886605
George Burgess IV [Wed, 16 Nov 2016 04:32:55 +0000 (04:32 +0000)]
Merge "Fix static-analyzer memory leak warnings."
am:
ba27872adb
Change-Id: I6c5bae9ad45b543ee2de35b7089fb4f40da888fb
Treehugger Robot [Wed, 16 Nov 2016 04:26:13 +0000 (04:26 +0000)]
Merge "Fix static-analyzer memory leak warnings."
zhang sanshan [Wed, 16 Nov 2016 03:32:41 +0000 (03:32 +0000)]
Merge "Fix kernel panic when boot up" am:
857a9f9a57 am:
a28eba452f
am:
1baac7f713
Change-Id: Ie30edf2efab3a202aa33520813e27f5d5e99f330
zhang sanshan [Wed, 16 Nov 2016 03:25:43 +0000 (03:25 +0000)]
Merge "Fix kernel panic when boot up" am:
857a9f9a57
am:
a28eba452f
Change-Id: I5c7dc9d6aeeefeef116eea216247b793d72a1c3e
zhang sanshan [Wed, 16 Nov 2016 03:17:40 +0000 (03:17 +0000)]
Merge "Fix kernel panic when boot up"
am:
857a9f9a57
Change-Id: Iee390ee0b79b852b2f40f0482ab7e537715745a1
Treehugger Robot [Wed, 16 Nov 2016 03:08:01 +0000 (03:08 +0000)]
Merge "Fix kernel panic when boot up"
Tao Bao [Tue, 15 Nov 2016 22:46:25 +0000 (14:46 -0800)]
tests/framebuffer: Remove dead minui.h.
commit
480a3b1c6d5413e06775a9d53cb1596535fd91ae removed the last user of
this local minui.h copy in 2011.
Test: mmma system/extras/tests/framebuffer
Change-Id: Iee42ef604616dc539d4a1699ada7209c48c3bcd9
George Burgess IV [Tue, 15 Nov 2016 23:22:36 +0000 (15:22 -0800)]
Fix static-analyzer memory leak warnings.
system/extras/simpleperf/record_test.cpp:77:3: warning: Potential leak
of memory pointed to by 'r2'
system/extras/simpleperf/record_test.cpp:77:3: warning: Potential leak
of memory pointed to by 'r3'
system/extras/simpleperf/record_test.cpp:77:3: warning: Potential leak
of memory pointed to by 'r4'
Bug: None.
Test: Now builds without those warnings, and
`simpleperf_unit_test -t system/extras/simpleperf/testdata` passes.
Change-Id: Ie77955367efeeba13173e2542eba02727b298f86
Josh Gao [Tue, 15 Nov 2016 03:21:38 +0000 (03:21 +0000)]
Merge "Revert "simpleperf: use libprocinfo."" am:
40f79982a2 am:
94fc942291
am:
908f477c16
Change-Id: Ie80299b0e81530ca6dea3650607ecf97d8b0e763
Josh Gao [Tue, 15 Nov 2016 03:14:59 +0000 (03:14 +0000)]
Merge "Revert "simpleperf: use libprocinfo."" am:
40f79982a2
am:
94fc942291
Change-Id: Ie5cc6d8cf5bdf0a0ef7c2a65891328ac3f79d0f3
Josh Gao [Tue, 15 Nov 2016 03:04:58 +0000 (03:04 +0000)]
Merge "Revert "simpleperf: use libprocinfo.""
am:
40f79982a2
Change-Id: I4e04c44c675e88fef6f990f76012fe6f96735528
Josh Gao [Tue, 15 Nov 2016 02:52:55 +0000 (02:52 +0000)]
Merge "Revert "simpleperf: use libprocinfo.""
Josh Gao [Tue, 15 Nov 2016 02:52:22 +0000 (02:52 +0000)]
Revert "simpleperf: use libprocinfo."
This reverts commit
7eb4f9bd77b82fc54f6396dd62be5655097e028a.
Change-Id: I5c7c25d2962678dd1a1ed9146eacd6880044ee45
Yabin Cui [Tue, 15 Nov 2016 02:27:56 +0000 (02:27 +0000)]
Merge "Support for multiple instances" am:
e97dfde326 am:
438487eb3c
am:
977a61cb96
Change-Id: I92b1c32f271108d7a04e6ae56d167dca096531d9
Yabin Cui [Tue, 15 Nov 2016 02:20:26 +0000 (02:20 +0000)]
Merge "Support for multiple instances" am:
e97dfde326
am:
438487eb3c
Change-Id: I4df6c57fa1d4863b26a10d10cbf8c6be107a07f9
Yabin Cui [Tue, 15 Nov 2016 02:13:25 +0000 (02:13 +0000)]
Merge "Support for multiple instances"
am:
e97dfde326
Change-Id: I4dd8a5018e2cec479f1d5d304f220992e0f37e39
Yabin Cui [Tue, 15 Nov 2016 02:01:42 +0000 (02:01 +0000)]
Merge "Support for multiple instances"
Josh Gao [Tue, 15 Nov 2016 01:58:29 +0000 (01:58 +0000)]
Merge "simpleperf: use libprocinfo." am:
1007435341 am:
1e90d05be7
am:
cd1dd0b3fa
Change-Id: I9f3db9df3d4c774afa0915fb965c23314577c494
Josh Gao [Tue, 15 Nov 2016 01:51:27 +0000 (01:51 +0000)]
Merge "simpleperf: use libprocinfo." am:
1007435341
am:
1e90d05be7
Change-Id: I5043d398ad66a0bcc8d15f866d35ff684c8f14a0
Josh Gao [Tue, 15 Nov 2016 01:44:28 +0000 (01:44 +0000)]
Merge "simpleperf: use libprocinfo."
am:
1007435341
Change-Id: I1f5cfc4ab8adcbc550ff13e6c2a8d8e29d508359
Josh Gao [Tue, 15 Nov 2016 01:39:04 +0000 (01:39 +0000)]
Merge "simpleperf: use libprocinfo."
Yabin Cui [Tue, 15 Nov 2016 00:17:48 +0000 (00:17 +0000)]
Merge "simpleperf: fix potential unaligned memory access." am:
695d719bae am:
62ffb7fba6
am:
5826105049
Change-Id: Iec3652380f3cf3fcf2329c3792d50c2d8ec22373
Yabin Cui [Tue, 15 Nov 2016 00:10:17 +0000 (00:10 +0000)]
Merge "simpleperf: fix potential unaligned memory access." am:
695d719bae
am:
62ffb7fba6
Change-Id: I60e1200c28194619b0e6ff1546934487c6f277e2
Yabin Cui [Tue, 15 Nov 2016 00:02:48 +0000 (00:02 +0000)]
Merge "simpleperf: fix potential unaligned memory access."
am:
695d719bae
Change-Id: I4b78f3305f4b6afd014c471fe5377401939d69fd
Yabin Cui [Mon, 14 Nov 2016 23:56:05 +0000 (23:56 +0000)]
Merge "simpleperf: fix potential unaligned memory access."
Daniel Friederich [Wed, 12 Oct 2016 14:41:09 +0000 (09:41 -0500)]
Support for multiple instances
Allows to use separate instances for separate perf.datai
files (and possibly also separate instances on separate threads)
Test: Tested by running report_sample.py
Change-Id: I0ebdb3c650a4540f07237b515d451d69ec3810e6
Yabin Cui [Mon, 14 Nov 2016 19:23:14 +0000 (11:23 -0800)]
simpleperf: fix potential unaligned memory access.
1. It is reported that when elf section headers are malformed,
GetBuildIdFromNoteSection() aborts with SIGBUS. So fix it to
accept not 4 bytes aligned section data.
2. Fix potential unaligned memory access in ConvertBytesToValue().
Test: run simpleperf_unit_test.
Change-Id: I2e1612a6567978e0b526b2274377765ba2837ec2
Yabin Cui [Sat, 12 Nov 2016 01:31:26 +0000 (01:31 +0000)]
Merge "simpleperf: dump only needed symbols in file feature section." am:
ee71d0b6a8 am:
b77019af4b
am:
19fe235c6e
Change-Id: I8fc497cbf9f8cd1161779d31e79a51e0474f4d49
Yabin Cui [Sat, 12 Nov 2016 01:24:25 +0000 (01:24 +0000)]
Merge "simpleperf: dump only needed symbols in file feature section." am:
ee71d0b6a8
am:
b77019af4b
Change-Id: I7e2e39322b9a313f1318ab8adb2e589cf2af1a02
Yabin Cui [Sat, 12 Nov 2016 01:17:25 +0000 (01:17 +0000)]
Merge "simpleperf: dump only needed symbols in file feature section."
am:
ee71d0b6a8
Change-Id: Ia782246eaf68e813735b7b6c7d03569ea8d79364
Yabin Cui [Sat, 12 Nov 2016 01:08:38 +0000 (01:08 +0000)]
Merge "simpleperf: dump only needed symbols in file feature section."
Yabin Cui [Fri, 11 Nov 2016 22:53:52 +0000 (14:53 -0800)]
simpleperf: dump only needed symbols in file feature section.
Instead of dumping all symbols in the hit elf files, dump only
needed symbols can save a lot of space. To do so, read perf.data
after recording to collect hit file and symbol information.
Bug: http://b/
32340274
Test: test using `simpleperf record --dump-symbols` manually.
Test: run simpleperf_unit_test.
Change-Id: I480f3e2e7ccebfbb5df16a597724f5f40d62c821
Josh Gao [Fri, 11 Nov 2016 21:59:07 +0000 (13:59 -0800)]
simpleperf: use libprocinfo.
Test: python runtest/runtest.py.
Test: simpleperf_unit_test
Change-Id: Ie19c0010571392459c03928208db21f0ba48b6df
Yabin Cui [Fri, 11 Nov 2016 20:28:30 +0000 (20:28 +0000)]
Merge "simpleperf: update report shared library." am:
0dc19e6226 am:
1a5724eb34
am:
c6a3ad34b5
Change-Id: Ib35ee4a4dd5d0e1bc3bac42c30cf4e60e092707b
Yabin Cui [Fri, 11 Nov 2016 20:28:18 +0000 (20:28 +0000)]
Merge "simpleperf: fix unaligned data access on arm." am:
c18d84a160 am:
9f6a4dffb8
am:
20ea2ac5c2
Change-Id: Ie9d3e6ec03ee4504aed6be2ab55cfef476c0f65c
Yabin Cui [Fri, 11 Nov 2016 20:22:33 +0000 (20:22 +0000)]
Merge "simpleperf: update report shared library." am:
0dc19e6226
am:
1a5724eb34
Change-Id: I3890191a38b040da27c8b07156b906dd130746f1
Yabin Cui [Fri, 11 Nov 2016 20:22:18 +0000 (20:22 +0000)]
Merge "simpleperf: fix unaligned data access on arm." am:
c18d84a160
am:
9f6a4dffb8
Change-Id: If188fcb38d9b5e79a99ea6bbf546ca2f4152a4e1
Yabin Cui [Fri, 11 Nov 2016 20:15:31 +0000 (20:15 +0000)]
Merge "simpleperf: update report shared library."
am:
0dc19e6226
Change-Id: I9fdb0daed52351f129b47f4d1343b05f10780c19
Yabin Cui [Fri, 11 Nov 2016 20:15:18 +0000 (20:15 +0000)]
Merge "simpleperf: fix unaligned data access on arm."
am:
c18d84a160
Change-Id: If11904c47684853410a8ad5e4fef36b5aab703a5
Yabin Cui [Fri, 11 Nov 2016 20:03:57 +0000 (20:03 +0000)]
Merge "simpleperf: update report shared library."
Yabin Cui [Fri, 11 Nov 2016 20:03:35 +0000 (20:03 +0000)]
Merge "simpleperf: fix unaligned data access on arm."
Yabin Cui [Fri, 11 Nov 2016 01:35:46 +0000 (01:35 +0000)]
Merge "simpleperf: use file records in protobuf output." am:
2a309ae76b am:
14a08ae117
am:
7b3275b85b
Change-Id: I1e2c275adc738696a68019058cc1ebf1d76c83e9
Yabin Cui [Fri, 11 Nov 2016 01:28:46 +0000 (01:28 +0000)]
Merge "simpleperf: use file records in protobuf output." am:
2a309ae76b
am:
14a08ae117
Change-Id: I2c4f36f2102a85d5eb07f3a89666e4a25ad5ed09
Yabin Cui [Fri, 11 Nov 2016 01:21:46 +0000 (01:21 +0000)]
Merge "simpleperf: use file records in protobuf output."
am:
2a309ae76b
Change-Id: I2be21e68611ff552f9ecc7c3e8fa09a7ea783f85
Yabin Cui [Fri, 11 Nov 2016 01:14:26 +0000 (01:14 +0000)]
Merge "simpleperf: use file records in protobuf output."
Yabin Cui [Wed, 19 Oct 2016 22:06:29 +0000 (15:06 -0700)]
simpleperf: use file records in protobuf output.
Dump file name and symbol name for each CallChainEntry
takes too much space. So instead we store file_id and
symbol_id for each CallChainEntry, and store file
records separately.
In CallChainEntry, replace ip with vaddr_in_file, because
vaddr_in_file is more useful in finding instructions in
elf file.
Bug: http://b/
32210800
Test: simpleperf_unit_test.
Change-Id: I85542db21acbaa4d81b3c3aa7f9215f2d23c4878
Yabin Cui [Thu, 10 Nov 2016 23:25:15 +0000 (15:25 -0800)]
simpleperf: fix unaligned data access on arm.
Bug: http://b/
32340274
Test: run `simpleperf record --dump-symbols` manually.
Test: run simpleperf_unit_test.
Change-Id: I771a516bb644f18fafa987061ecfc76ae3521ca9
Yabin Cui [Thu, 10 Nov 2016 22:40:02 +0000 (14:40 -0800)]
simpleperf: update report shared library.
So it can read the newly added file section.
Bug: http://b/
32340274
Test: run `python report-sample.py`.
Change-Id: I22dadd2b3a18f9f40a13ff370eb73b3c6b7a2adf
Alex Deymo [Wed, 9 Nov 2016 19:25:41 +0000 (19:25 +0000)]
Merge "Rename libfec_host to libfec." am:
51aa3fdeff am:
bf72aa2386
am:
0ec39ee8fb
Change-Id: I71136236ffedf0536115b0b5e3106a4caecab39e
Alex Deymo [Wed, 9 Nov 2016 19:21:16 +0000 (19:21 +0000)]
Merge "Rename libfec_host to libfec." am:
51aa3fdeff
am:
bf72aa2386
Change-Id: If2a845dd341d68acae7d2bedc140521369135aee
Alex Deymo [Wed, 9 Nov 2016 19:14:14 +0000 (19:14 +0000)]
Merge "Rename libfec_host to libfec."
am:
51aa3fdeff
Change-Id: I46a420d99bc274de117ed038d965113d2422492e
Alex Deymo [Wed, 9 Nov 2016 19:02:16 +0000 (19:02 +0000)]
Merge "Rename libfec_host to libfec."
Alex Deymo [Wed, 9 Nov 2016 03:13:52 +0000 (19:13 -0800)]
Rename libfec_host to libfec.
Host libraries don't need to have a different name from the device target.
Bug: None
Test: `make dist`
Change-Id: Ib7709a327ac2fdbdfb131e40f578217633e1f996
Yabin Cui [Mon, 7 Nov 2016 19:25:24 +0000 (19:25 +0000)]
Merge "simpleperf: make file feature section used in more report commands." am:
f94f3d3d43 am:
82431c98b5
am:
e650833325
Change-Id: I74194a1003e8a7828e7aa84e5396d38b1ebd1d74
Yabin Cui [Mon, 7 Nov 2016 19:20:24 +0000 (19:20 +0000)]
Merge "simpleperf: make file feature section used in more report commands." am:
f94f3d3d43
am:
82431c98b5
Change-Id: I0b005527d7e9636ab5ebc897b9e2187ccca0ae61
Yabin Cui [Mon, 7 Nov 2016 19:14:51 +0000 (19:14 +0000)]
Merge "simpleperf: make file feature section used in more report commands."
am:
f94f3d3d43
Change-Id: I9b9e1e9b3a36d0821fc1139f639d0498c9be9da1
Yabin Cui [Mon, 7 Nov 2016 19:05:55 +0000 (19:05 +0000)]
Merge "simpleperf: make file feature section used in more report commands."
Yabin Cui [Fri, 4 Nov 2016 23:49:35 +0000 (16:49 -0700)]
simpleperf: make file feature section used in more report commands.
Bug: http://b/
32340274
Test: run simpleperf_unit_test.
Change-Id: I0bed466c145fdbb2988308f56a031c06bad16352
Yabin Cui [Fri, 4 Nov 2016 18:50:33 +0000 (18:50 +0000)]
Merge "simpleperf: dump file feature section." am:
a9afa0053e am:
a258c2bd4f
am:
2ec1db7382
Change-Id: Ia740b0e2e6723a88357d1b1a9ddeb01194a0182d
Yabin Cui [Fri, 4 Nov 2016 18:47:03 +0000 (18:47 +0000)]
Merge "simpleperf: dump file feature section." am:
a9afa0053e
am:
a258c2bd4f
Change-Id: Id6d99c256cff3c1ee684fbea497ba0d090cbdcd8
Yabin Cui [Fri, 4 Nov 2016 18:43:04 +0000 (18:43 +0000)]
Merge "simpleperf: dump file feature section."
am:
a9afa0053e
Change-Id: I186607a5752b6799e82ceddacf14152924b1ee36
Yabin Cui [Fri, 4 Nov 2016 18:37:00 +0000 (18:37 +0000)]
Merge "simpleperf: dump file feature section."
Yabin Cui [Mon, 31 Oct 2016 17:57:32 +0000 (17:57 +0000)]
Merge "simpleperf: remove external sort." am:
d2fcab88ef am:
f4e360dcf5
am:
7e9a51f272
Change-Id: Ie7b19d6d65bba4418d360cace6bd6ccb95b058f2
Yabin Cui [Mon, 31 Oct 2016 17:51:31 +0000 (17:51 +0000)]
Merge "simpleperf: remove external sort." am:
d2fcab88ef
am:
f4e360dcf5
Change-Id: I89e1b722ce2db1f15793057e384f6bc6e82ecc54
Yabin Cui [Mon, 31 Oct 2016 17:45:57 +0000 (17:45 +0000)]
Merge "simpleperf: remove external sort."
am:
d2fcab88ef
Change-Id: I4292eb7c5b9f9fb0eccd5445071685d4b3b56bc4
Yabin Cui [Mon, 24 Oct 2016 20:38:38 +0000 (13:38 -0700)]
simpleperf: dump file feature section.
For `record --dump-symbols` option, change from dumping
DsoRecord and SymbolRecord to dumping file feature section.
It is to avoid reading symbols from elf files during recording,
which takes a lot of time. And we don't want to mix optional
data (the symbol tables) with necessary data (the profiling records).
Bug: http://b/
32340274
Test: run simpleperf_unit_test.
Test: run simpleperf runtest.py.
Change-Id: I0a387de243afac93486fc885f223a58060ec07f4
Yabin Cui [Mon, 31 Oct 2016 17:33:58 +0000 (17:33 +0000)]
Merge "simpleperf: remove external sort."
Yabin Cui [Sat, 29 Oct 2016 02:28:45 +0000 (02:28 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy." am:
2a16892192 am:
13a5a7021e
am:
ca02e33aeb
Change-Id: I54a236f4a4e07077f3f833c65cef423c65b7fb74
Yabin Cui [Sat, 29 Oct 2016 02:23:44 +0000 (02:23 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy." am:
2a16892192
am:
13a5a7021e
Change-Id: Ib2d5a08df7e856cbc9b5d792b907ff518cb8d963
Yabin Cui [Sat, 29 Oct 2016 02:17:45 +0000 (02:17 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy."
am:
2a16892192
Change-Id: Ia024783075a63762055e7ff07f3f811c03206d74
Yabin Cui [Sat, 29 Oct 2016 02:10:20 +0000 (02:10 +0000)]
Merge "simpleperf: avoid errors/warnings caused by sepolicy."
Yabin Cui [Sat, 29 Oct 2016 01:50:04 +0000 (18:50 -0700)]
simpleperf: remove external sort.
Also remove set low mark for dwarf callgraph recording.
Bug: http://b/
32343227
Test: run simpleperf runtest.py.
Test: run simpleperf_unit_test.
Change-Id: I57c0146b0a52cc1bb940a54f685058fe00677992
Yabin Cui [Fri, 28 Oct 2016 20:27:41 +0000 (13:27 -0700)]
simpleperf: avoid errors/warnings caused by sepolicy.
If running in an app user id, sepolicy doesn't allow reading
many /proc and /sys files, like /proc/<pid> belonging to
other users, /sys/kernel/notes, /proc/sys/kernel/perf_event_paranoid,
/proc/sys/kernel/kptr_restrict.
With this patch, simpleperf doesn't read /proc/<pid> belonging to
other users, and doesn't report error/warning when failing to read
/proc/sys/* files.
Bug: http://b/
32460013
Test: run `simpleperf record` in an app user id.
Test: run simpleperf_unit_test.
Test: run simpleperf runtest.py.
Change-Id: I6618fbd10a9112637c8e501ec76628c9ec4ccaa7
Colin Cross [Fri, 28 Oct 2016 20:20:14 +0000 (20:20 +0000)]
Merge "Convert perfprofd to Android.bp" am:
52ebd8e5b2 am:
4473b498fd
am:
9d25c46373
Change-Id: I798955694a4e9c45d7695d8525ca7136ecf7f0e8
Colin Cross [Fri, 28 Oct 2016 20:15:14 +0000 (20:15 +0000)]
Merge "Convert perfprofd to Android.bp" am:
52ebd8e5b2
am:
4473b498fd
Change-Id: I02b09ac68781004ba93122308fbb1420211c6f1c
Colin Cross [Fri, 28 Oct 2016 20:10:14 +0000 (20:10 +0000)]
Merge "Convert perfprofd to Android.bp"
am:
52ebd8e5b2
Change-Id: I38a94da626204f78487141badc3f8257669951e0