summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2020-04-13 13:07:43 +0800
committerBowgo Tsai <bowgotsai@google.com>2020-08-19 12:47:01 +0800
commitd0ecf0b30d180a52735ee677c48456176260e9cb (patch)
treef65c6c4c099257bb2137bf3c739909ea2e93e9b7 /libc/malloc_hooks/malloc_hooks.cpp
parent3ec750e035db74f954ee25c5f9f4357490fe2224 (diff)
Adding system property tracing
Introducing a new systrace tag, TRACE_TAG_SYSPROP, for use with system property. For property set, the tracing is added in __system_property_set() instead of __system_property_update() / __system_property_add() so we can record control properties like ctl.*, sys.powerctl.*, etc.., which won't be updated via the latter two functions. Bug: 147275573 Test: atest CtsBionicTestCases Test: adb shell perfetto -o /data/misc/perfetto-traces/test_trace -t 10s bionic Test: adb shell perfetto -o /data/misc/perfetto-traces/test_trace -t 10s sysprop Test: adb shell /data/benchmarktest64/bionic-benchmarks/bionic-benchmarks \ --benchmark_filter=BM_property --bionic_cpu=4, then compares the results of property benchmarks before and after the change, didn't see significant difference. Change-Id: Id2b93acb2ce02b308c0e4889f836159151af3b46 Merged-In: Id2b93acb2ce02b308c0e4889f836159151af3b46 (cherry picked from commit 26970c34937e2339876d6ba335a56769d6f0d75e)
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions