Age | Commit message (Collapse) | Author |
|
Change-Id: Iabfafb7b9a3201281abb56b7bc3f6e4e750ae0f1
|
|
|
|
On a broken device, this logging is much too verbose and obscures real
information.
Test: adb shell mkdir -p /data/media/10/foo, then create second
Bug: 78592001
Change-Id: Idf235c65048187791a8e5f184a46ee802283de86
|
|
Change-Id: I37074d0d34ef5fd0708041b8fcdf3648a9687e5b
|
|
Change-Id: I7be4492fc651976d69ba7071ece0d729320cc0a7
|
|
/dev/block/bootdevice/by-name/system_{ab} should not be used because
there is no requirement of a single boot device. Replace it with
/dev/block/by-name/system_{ab}.
Bug: 78613232
Test: factory wipe, reboot device to check logcat
Change-Id: Ia3a476ef7a4b271eff90f44ef4e04fdbee17052b
Merged-In: Ia3a476ef7a4b271eff90f44ef4e04fdbee17052b
(cherry picked from commit 5ede0b2dc72585d14cc3ef09e6e8c5776dcac9a7)
|
|
If we're unable to set or change encryption policy because the
directory is not empty, log the contents that cause the problem
Bug: 78592001
Test: adb shell mkdir -p /data/media/10/foo, then create second user
Change-Id: I87cc46f09551728a7949659b21ae0401ae253e5e
|
|
Change-Id: I806100e91a2940fa484164b05bbfb91166fe96ac
|
|
* changes:
Perfprofd: Minor fixes
Perfprofd: Add string-based binder interface
Perfprofd: Add ScopeGuard for file deletion
Perfprofd: Fix binder interface
Perfprofd: Use the right parameter
Perfprofd: Expose more parameters in the simple binder interface
Perfprofd: Add process to configreader
Perfprofd: More scripts
Perfprofd: Separate symbol offset in samples
Perfprofd: Add parallel processing to stack script
Perfprofd: Update perf_proto_stack
|
|
Change-Id: Ib2efb29b68a13828199cc0840789af02b9edcee6
|
|
Note: Without this fix on Android Go device exPath gets some junk chars at the end of exPath because readlink() does not append a null byte to buf.
Bug: 79430762
Test: Tested manually by running alloc-stress on Android Go device.
Change-Id: I8e09d8c6d670b7d29e7f98c00dd8e9e9c5492169
|
|
Change-Id: I4e55ceca152e223f1e38afad5242296bb5654918
|
|
Instead of relying on callers to delete temp files, support managing
all temp files in ScopedTempFiles.
Bug: http://b/73127105
Test: run simpleperf_unit_test and simpleperf manually.
Change-Id: Ib73065754657320ebd244f676e3f851544ff2718
(cherry picked from commit c68e66dcf067c052319c8da13a6a49ff06481fa5)
|
|
Set the allowed minimum for collection_interval to 0.
Copy the sampling_frequency.
Add "-m 8192" when call-stacks are requested.
(cherry picked from commit 59a18215031faedc4bbee70baef363299cec0b69)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I8fd41da08eb14dadc98b85afe1e4dbed2d9bc9b1
Change-Id: I8fd41da08eb14dadc98b85afe1e4dbed2d9bc9b1
|
|
Add a "weakly-typed" interface that works similar to the shellCommand
implementation, encoding parameters into a string decoded by the
ConfigReader.
(cherry picked from commit 9301b6f524b8267f14c88b0e5e2ed64bbc186fd4)
Bug: 73175642
Test: mmma system/extras/perfprofd
Merged-In: I9a7ad4452ba7a040906e237a76b63e50fbe5aa24
Change-Id: I9a7ad4452ba7a040906e237a76b63e50fbe5aa24
|
|
Ensure that the temporary will be deleted.
(cherry picked from commit 529af96ba77f26c1597d077ca55d051feeb5df3d)
Bug: 73175642
Test: perfprofd_test
Merged-In: I4e15cd4fa81a173a70126edaea5c0a0023b8c359
Change-Id: I4e15cd4fa81a173a70126edaea5c0a0023b8c359
|
|
Actually forward to the right onTransact.
(cherry picked from commit 109780d575f0776fca092b5a238a0bff21e3ece1)
Bug: 73175642
Test: perfprofd_test
Test: manual
Merged-In: I896cfe8cf166c00bc49f4be5de8b19f913baad2d
Change-Id: I896cfe8cf166c00bc49f4be5de8b19f913baad2d
|
|
Fix a typo.
(cherry picked from commit 51c08f9041648378717c79f787db773ac55e74b1)
Bug: 73175642
Test: perfprofd_test
Merged-In: I5d80887af08e3b3a1b19a1a303ca1c63bec75fbd
Change-Id: I5d80887af08e3b3a1b19a1a303ca1c63bec75fbd
|
|
Expose most interesting parameters.
(cherry picked from commit 5a7181b3d3127660916e7a14057fdafa71c7d77b)
Bug: 73175642
Test: mmma system/extras/perfprofd
Merged-In: Ifab7f0a0c4a1e664a6b679c6f2d060f02eee232c
Change-Id: Ifab7f0a0c4a1e664a6b679c6f2d060f02eee232c
|
|
So that it is exposed to the command line interface.
(cherry picked from commit abc57274490870903f591140ad3a5cd509a0b372)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Test: manual
Merged-In: I18903e860d91957dc53adeea9c1f12596fd7ff74
Change-Id: I18903e860d91957dc53adeea9c1f12596fd7ff74
|
|
Add conversion of JSON files to a SQLite database, and aggregation
of data in a SQLite database to a flamegraph.
(cherry picked from commit 597f40df90fae8b89ce7672da6ab4825eb234d10)
Bug: 73175642
Test: m
Merged-In: I70827c7395b6a60a59ed420503434ad4b84a105f
Change-Id: I70827c7395b6a60a59ed420503434ad4b84a105f
|
|
Separate out the offset from the start of the sample in the
reporting struct. Parse the data from unwind_symbols.
(cherry picked from commit b84d5fd0c6e67af069fe542149b0fc7d72844e50)
Bug: 73175642
Test: manual
Merged-In: I8910fa826cef0843dd9f98342df4203cb3ebf5c5
Change-Id: I8910fa826cef0843dd9f98342df4203cb3ebf5c5
|
|
Allow to process multiple proto files in parallel. This will fork
out each processed file into a subprocess, as making symbolization
thread-safe is non-trivial.
(cherry picked from commit 34c434d468d71e83b4ba9d69b1143c993ae1829e)
Bug: 73175642
Test: manual
Merged-In: I9bda1717e3f50569ad43f457413c7bc5831fd6a5
Change-Id: I9bda1717e3f50569ad43f457413c7bc5831fd6a5
|
|
Update the python script. Also clean it up.
(cherry picked from commit afe71cfc8ce97887756aad613169358e28c45a62)
Bug: 73175642
Test: manual: PYTHONPATH=$PYTHONPATH:$ANDROID_BUILD_TOP/development/scripts python -u system/extras/perfprofd/scripts/perf_proto_stack.py --syms /storage/perfprofd_symbols/out/target/product/walleye/symbols --skip-kernel-syms --print-samples --print-sym-histogram perf.data.encoded.0
Merged-In: I3d9c1eb0bca8818f53095d1410b5f95a0e93f24d
Change-Id: I3d9c1eb0bca8818f53095d1410b5f95a0e93f24d
|
|
Change-Id: Idaef846e750b317ce347711bdef8bc77a7921b6d
|
|
This change augments the NOT_CONFIG_SYSVIPC test, such that in addition
to being evidence-based (by inspecting some paths in /proc), it also
tries to invoke the syscalls. This is done because in some platforms
like Chrome OS, the SYSVIPC kernel config is enabled (because some parts
of the system require that to boot), but when Android is running, all
SYSVIPC syscalls are blocked by an LSM in the kernel.
It also changes the /proc/sysvipc path check from using access(2) and
F_OK to R_OK, since the paths itself is present and visible.
Bug: 77490033
Test: CtsKernelConfigTestCases
Change-Id: I79df1816e0e5d3618da2a0e242c3d685352b7220
Merged-In: I79df1816e0e5d3618da2a0e242c3d685352b7220
(cherry picked from commit 687cd48d8bce5548c7bf1dcbbfd3fd770e452362)
|
|
Change-Id: I4f99bdc25e83ddb0615b5afc6363bf533f86d202
|
|
|
|
Using Value directly is more clear and intuitive than using an index of
Values.
Bug: 77282526
Test: libperfmgr_test and boot wahoo
Change-Id: I4414a2bb04be8bf3fc01c20695ebd6ac3c19df79
|
|
Change-Id: Ifee7113065ba37d9696798b9dec18b2969c13758
|
|
Allow sampling frequency (-f) besides sampling period (-c), and
support simpleperf default values (when neither is set).
(cherry picked from commit e4b2ed98a9a4a35ac4bb46c20b1599e0889eb3a3)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I40d7472bc45f5efd33687f9d8a5d6493343091c3
Change-Id: I40d7472bc45f5efd33687f9d8a5d6493343091c3
|
|
Change-Id: I3d4b832748ebe847799fa346e6ab5434a9aba33f
|
|
Bug: 74604441
Bug: 67380979
Change-Id: I64800783437ed28054d0ada8cb6537bc6683b238
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
|
|
Change-Id: I6c23a9780d2df1d4d256f0473efe151b7901eded
|
|
|
|
|
|
|
|
Change-Id: I96bb4f2904843366bc736d873f78e415494ac36e
|
|
To improve testability.
(cherry picked from commit b019ddc547f4491fee3ac95415767b02ae40edd1)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I259b86b9ef7c8c7d8523f3875ce63c2e71e42543
Change-Id: I259b86b9ef7c8c7d8523f3875ce63c2e71e42543
|
|
Avoid further Mac breakage.
(cherry picked from commit 2230fb2d54ef4cc841c3347e8975320d621488a3)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I3b4db7d363c69b5e4249223d8cb185a4e9eef5cf
Change-Id: I3b4db7d363c69b5e4249223d8cb185a4e9eef5cf
|
|
Bug: 74763691
Test: make -j64
Merged-In: I55fb951eea449c27aa0a4a5e9ab1a4dca09dbfa5
Change-Id: I55fb951eea449c27aa0a4a5e9ab1a4dca09dbfa5
(cherry picked from commit 41afebb109a6f4b444c43622daa9707820eef6ef)
|
|
Use the ConfigReader for parsing arguments to startProfiling, so
that new arguments can be transparently picked up. This diverges
it from the AIDL interface, but is more functional and maintainable.
Also adjust some bounds.
(cherry picked from commit f73ddfa2db064d284ee9fa9821595a597d5ff2cb)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Test: manual: adb shell cmd perfprofd startProfiling main_loop_iterations=2 compress=1 stack_profile=0 sampling_period=10000 sample_duration=10 collection_interval=1
Test: manual: adb shell cmd perfprofd startProfiling main_loop_iterations=2 compress=1 stack_profile=0 sampling_period=10000 sample_duration=10 collection_interval=1 bla
Merged-In: I7c437b43634aab70ea9463161fff6de303e427c8
Change-Id: I7c437b43634aab70ea9463161fff6de303e427c8
|
|
Change-Id: Ibcf3790c83f8c4330912a71e98d0ef679ef9ae74
|
|
|
|
Test: Modified Pixel to support and use Speck encryption, booted.
Bug: 77227248
Change-Id: I1efc54b60e074265914fde764ab4b85798128d67
Merged-In: I1efc54b60e074265914fde764ab4b85798128d67
|
|
(cherry picked from commit 15873826ab2ffc0638e143583645ff597d3bd534)
Bug: 73175642
Test: doesn't break Linux
Merged-In: Ieae89a24ef448559a9e840ec79291ee27f1eb992
Change-Id: Ieae89a24ef448559a9e840ec79291ee27f1eb992
|
|
Move functionality into core, let cmdline version react to
dropbox configuration.
(cherry picked from commit 7f85bff629e68efd3f5127fc43edddcadfecb007)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I3415d7c15cf527afe70d93e4b4992a121d52164c
Change-Id: I3415d7c15cf527afe70d93e4b4992a121d52164c
|
|
In order to break dependency cycles, move the record proto to its
own library.
(cherry picked from commit a145b35d4780b4f81a8355bb3fe58a79af8a06f0)
Bug: 73175642
Test: mmma system/extras/perfprofd
Merged-In: I0931a59c82d92e2c9c2e702dbc89f76cd9804919
Change-Id: I0931a59c82d92e2c9c2e702dbc89f76cd9804919
|
|
Move cmdline-related code out of the core.
(cherry picked from commit 04672dd13fd46a5f07f553ad7623f21277ef8bf2)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: Iae2a74f82ed103891149a8f21f8db509c8f53b65
Change-Id: Iae2a74f82ed103891149a8f21f8db509c8f53b65
|
|
Preparation to move this to generic code.
(cherry picked from commit db1628647e81dc2d9a62471d4f3b78c84069040e)
Bug: 73175642
Test: mmma system/extras/perfprofd
Test: perfprofd_test
Merged-In: I2cad55f201ff8af9acfe8e8e34c6bafea8ef1285
Change-Id: I2cad55f201ff8af9acfe8e8e34c6bafea8ef1285
|