History log of /bionic/libfdtrack/ (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: android-11.0.0_r8, android-11.0.0_r7, m/android-11.0.0_r8, android-vts-10.0_r5, android-vts-11.0_r1, android-security-11.0.0_r1, android-platform-11.0.0_r1, android-cts-11.0_r1, android-11.0.0_r5, android-11.0.0_r4, android-11.0.0_r3, android-11.0.0_r2, android-11.0.0_r1, platform-tools-30.0.4, android-mainline-11.0.0_r2, android-r-beta-3, android-r-beta-2, android-mainline-11.0.0_r1, platform-tools-30.0.3, platform-tools-30.0.2, android-mainline-10.0.0_r11, platform-tools-30.0.1
ffbb51fe22-Apr-2020 Josh Gao

fdtrack: don't destroy traces.

There's a bad interaction with malloc_debug when the libraries are being
destroyed.

Bug: https://issuetracker.google.com/154439915
Test: treeh

fdtrack: don't destroy traces.

There's a bad interaction with malloc_debug when the libraries are being
destroyed.

Bug: https://issuetracker.google.com/154439915
Test: treehugger
Change-Id: Ib47c8139c3a88dd52865ea93654b2926bd708729
(cherry picked from commit 38d00b80a072374792bb159e558195eeb8cbd271)

show more ...

Revision tags: platform-tools-30.0.0
17f43b4c09-Apr-2020 Yuxian Xu

libfdtrack: When dump fdsan fd owner, happen NE

When dump fdsan fd owner, happen NE. This because the format specifier
flag '#' is not supported by Bionic out_vformat<BufferOutputStream>

libfdtrack: When dump fdsan fd owner, happen NE

When dump fdsan fd owner, happen NE. This because the format specifier
flag '#' is not supported by Bionic out_vformat<BufferOutputStream>.

Bug: 153611483
Test: jmgao@ verified manually
Change-Id: I7191c3b2b621ddcc0397874f8a69391e58232ac8
(cherry picked from commit 3a5ddd72c316306d1d5afdd48b0ceb8ec4d22b32)

show more ...

Revision tags: android-r-preview-4, android-r-preview-3, android-r-preview-2, platform-tools-29.0.6, android-r-preview-1
ad8f02d729-Jan-2020 Josh Gao

fdtrack: add a test.

Test: logcat -c; fdtrack_test; logcat -d | grep fdtrack
Change-Id: Ie1101c9cf968299ec1f03f20097a2ed27f6e15bd

6f08866e29-Jan-2020 Josh Gao

fdtrack: print fdsan owner tag.

Test: logcat -c; fdtrack_test; logcat -d | grep fdtrack
Change-Id: I0a7e342da239a0e7889eb228a3a023268d40b1c5

50955c4629-Jan-2020 Josh Gao

fdtrack: make actually async safe.

Test: setprop persist.sys.debug.fdtrack_enable_threshold; stop; start; logcat -c; killall -39 system_server; logcat -d | grep fdtrack
Change-Id: Id9baa

fdtrack: make actually async safe.

Test: setprop persist.sys.debug.fdtrack_enable_threshold; stop; start; logcat -c; killall -39 system_server; logcat -d | grep fdtrack
Change-Id: Id9baa54af9e5cfb6e1ee1026f71d7fb41b7c3ad0

show more ...

7596250729-Jan-2020 Josh Gao

Move fdtrack APIs to LLNDK.

Test: logcat -c; fdtrack_test; logcat -d
Change-Id: Ib6f75a7c8bbc4d6efa0708dcbbfe4ad3c0641022

Revision tags: android-vts-9.0_r14, android-vts-9.0_r13, android-vts-9.0_r12, android-cts-9.0_r13, android-cts-9.0_r12, android-cts-9.0_r11, android-vts-10.0_r4, android-vts-10.0_r3, android-cts-10.0_r5, android-cts-10.0_r4, android-cts-10.0_r3, android-mainline-10.0.0_r6, android-mainline-10.0.0_r8
9727192007-Nov-2019 Josh Gao

Add a tool to track down fd leaks.

Add a hook that's called upon file descriptor creation to libc, and a
library that uses it to capture backtraces for file descriptor creation,
to m

Add a tool to track down fd leaks.

Add a hook that's called upon file descriptor creation to libc, and a
library that uses it to capture backtraces for file descriptor creation,
to make it easier to hunt down file descriptor leaks.

Currently, this doesn't capture all of the ways of creating a file
descriptor, but completeness isn't required for this to be useful as
long as leaked file descriptors are created with a function that is
tracked. The primary unhandled case is binder, which receives file
descriptors as a payload in a not-trivially-parsable byte blob, but
there's a chance that the leak we're currently trying to track down
isn't of a file descriptor received over binder, so leave that for
later.

Bug: http://b/140703823
Test: manual
Change-Id: I308a14c2e234cdba4207157b634ab6b8bc539dd9
(cherry picked from commit b7eccd4b1577c101132e52d4a5313d5322dcae2d)

show more ...