| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Test: Tree Hugger
Bug: 143903671
Change-Id: I380bc302521bf173b4b8886fb3061348a38af50b
|
| |\
| |
| |
| |
| |
| |
| |
| | |
0b660ec845
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1838537
Change-Id: I8e8177f0eb227eb397d8f33349555f34a84cc2f2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Test options for the api levels are moved to test_options.
test_min_api_level property will be removed with this change.
Bug: 187258404
Test: build
Change-Id: I0769a85802ca8db5e43c5d0c1c1d38ffb3f01941
|
| |\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
c07624b7b1 am: 1deb2e2209 -s ours
am skip reason: Merged-In I91a738379bac45edc563ead3cc5d85d01e2dc3e6 with SHA-1 327300fb15 is already in history
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761693
Change-Id: I7c93b7f6cd47128d2d120fc800faaa6d7bbb2509
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761693
Change-Id: Ib80dede613947f294f8b6a220acda7dbb574834e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove dependency on attachment stat for dmabuf heap tests.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: libmeminfo_test#DmabufHeapStats
Change-Id: I91a738379bac45edc563ead3cc5d85d01e2dc3e6
Merged-In: I91a738379bac45edc563ead3cc5d85d01e2dc3e6
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
fdaa96b0e7 am: 57b688bac1 -s ours
am skip reason: Merged-In If3a67c07e8c013d76fe158f4a0260f1ec4153391 with SHA-1 87b63e5cbc is already in history
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761692
Change-Id: Iec6e4ce9e221562d9e39d48f700e134a74dc94f2
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761692
Change-Id: I7159495c807f7ffa53e95f1e4ac5a864801e3cf3
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove the per-device and attachment stats from dmabuf_dump
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: dmabuf_dump -b
Change-Id: If3a67c07e8c013d76fe158f4a0260f1ec4153391
Merged-In: If3a67c07e8c013d76fe158f4a0260f1ec4153391
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
f36d4cefb3 am: d6584ae333 -s ours
am skip reason: Merged-In I3b46705fc0627343d16bc2033204f33cc2291259 with SHA-1 99fdf80131 is already in history
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761691
Change-Id: I32b422df35631ffde4710b34cf7cfcc6d54a8c94
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761691
Change-Id: Iec6b2d39fd54ae18a32af0e15f54dd42ccd22b1d
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove the dmabuf attachment stats tests.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: dmabufinfo_test#DmaBufSysfsStatsParser
Change-Id: I3b46705fc0627343d16bc2033204f33cc2291259
Merged-In: I3b46705fc0627343d16bc2033204f33cc2291259
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
849e2defdd am: 78467df0fa -s ours
am skip reason: Merged-In I074a8cef79b80685cf802a2776a9ae3faa26a9cd with SHA-1 c38fff4473 is already in history
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761690
Change-Id: Ice1be9027e2e75e9fcd4f2a3bb03d1f9f70e8ec3
|
| | |\|
| | |
| | |
| | |
| | |
| | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1761690
Change-Id: Ic41690b8dd123d7f0d4e0950e1bf2aa821c342b6
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats.
Update dmabufinfo sysfs parser to handle this new format.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: m libdmabufinfo
Change-Id: I074a8cef79b80685cf802a2776a9ae3faa26a9cd
Merged-In: I074a8cef79b80685cf802a2776a9ae3faa26a9cd
|
| |\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/15263764
Change-Id: I7b9f3aa42fec35b278ae3262d123ce7c66de978f
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove dependency on attachment stat for dmabuf heap tests.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: libmeminfo_test#DmabufHeapStats
Change-Id: I91a738379bac45edc563ead3cc5d85d01e2dc3e6
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/15263763
Change-Id: Ie32fc34f244b63356155fd751990947eaa376cbd
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove the per-device and attachment stats from dmabuf_dump
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: dmabuf_dump -b
Change-Id: If3a67c07e8c013d76fe158f4a0260f1ec4153391
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/15263762
Change-Id: I3c33a70150384466a0359850716369f6d9b518d5
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats
Remove the dmabuf attachment stats tests.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: dmabufinfo_test#DmaBufSysfsStatsParser
Change-Id: I3b46705fc0627343d16bc2033204f33cc2291259
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/15263761
Change-Id: I73996a432b897395351b23cb3c35d49fdcc0939e
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Creating a separate sysfs directory for each dmabuf attachment
adds overhead that is quite significant in some fast paths.
Attachment stats are being removed from dmabuf sysfs stats.
Update dmabufinfo sysfs parser to handle this new format.
Bug: 193226716
Bug: 193465681
Bug: 192621117
Test: m libdmabufinfo
Change-Id: I074a8cef79b80685cf802a2776a9ae3faa26a9cd
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
98964f3435
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1751760
Change-Id: Id35da4276abeb93cb7ed93d6da0fde3ae6319646
|
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1751760
Change-Id: I56e68b9f4537d1bd2ffc8db06c26bedff890d48c
|
| | | |\ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add apis for reading the per-process GPU memory as
reported by the gpu_mem_total tracepoint.
Bug: 192373030
Test: Manual
Change-Id: I0f04d6bc39f56cfc4463b8a4a3175bcc13819f98
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
225d931d7f am: 8804178191 -s ours
am skip reason: Merged-In I881933f36f97015ea5a26059eb5310ea445adc92 with SHA-1 9eb1a13e73 is already in history
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1752880
Change-Id: Ie7819eeacd5ca298449eb326d5452a40a69b0d21
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1752880
Change-Id: I26d121b5d7249635af8b8ebf9d39108444a0a96e
|
| | |/| | | |
|
| | | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ReadDmaBufPss was introduced to aid accounting DMA buffers
in memtrack hal implemetations.
It is no longer reccommended for memtrack hal use,
since it only accounts CPU-mapped buffers will miss the set of
GPU only mapped buffers.
The underlying dma-buf mmap_count that this depends on to be
fast, also introduced bugs due to changing the vm_ops to do the
accounting.
Remove now unused ReadDmaBufPss.
Bug: 192459295
Test: dmabufinfo_test
Change-Id: I881933f36f97015ea5a26059eb5310ea445adc92
Merged-In: I881933f36f97015ea5a26059eb5310ea445adc92
|
| |\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/15159197
Change-Id: I30068e18ab56c8bbfb61989c2b84b2ab2fb433ef
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ReadDmaBufPss was introduced to aid accounting DMA buffers
in memtrack hal implemetations.
It is no longer reccommended for memtrack hal use,
since it only accounts CPU-mapped buffers will miss the set of
GPU only mapped buffers.
The underlying dma-buf mmap_count that this depends on to be
fast, also introduced bugs due to changing the vm_ops to do the
accounting.
Remove now unused ReadDmaBufPss.
Bug: 192459295
Test: dmabufinfo_test
Change-Id: I881933f36f97015ea5a26059eb5310ea445adc92
|
| |\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1729731
Change-Id: I7f3b46c5b8ca3606e2d52fca117ab7654f0a6699
|
| | |\ \ \
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1729731
Change-Id: I07da57adb3292513422165fd7dda245b09b98a76
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In kernel versions containing patch
https://lore.kernel.org/patchwork/patch/1088579
and before patch
https://lore.kernel.org/patchwork/patch/1280790
fixed this, smaps could use tabs in the separators of some fields. This
confuses our smaps parser. Fix this by adding tabs handling.
Fixes: c5ff2415f87a ("libmeminfo: Replace sscanf with a simple parser for smaps parsing")
Bug: 190332010
Test: libmeminfo_test
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I3874295ec7e33719e5a9dd6ec9fed4878029672c
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
c5ff2415f8 am: 580c027415
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1716369
Change-Id: I090127e2c277abf4a9f0567dbd6ab5ca740815b1
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1716369
Change-Id: I38e400d5bdabc31ca96df6bbfed75f6ebf243319
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Profiling "dumpsys meminfo -a" command revealed that ~20% of the time is
spent executing sscanf() from ForEachVmaFromFile() function. The format
is simple enough that it can be replaced with a simple parser which
eliminates this overhead.
Bug: 183524466
Test: dumpsys meminfo -a
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I280c3d97f7d10519cf674d870717c9d1e6ef5668
|
| |\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
bfef591fa9 am: 59cee7a971
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1691547
Change-Id: I880fa7899a270f3b13f23da2a10b983051e9b7b3
|
| |/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1691547
Change-Id: I137de660adc12bd55f48f03b772b8dac735717cd
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1691547
Change-Id: Ied15d4190a8f4c5e37d8362b96bc3a8df6b43f87
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1691547
Change-Id: If71caaad316dfe2f6dab0a2ae5ac173e6a7d00d0
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I haven't contributed to the library, CRs for over a year now.
So, I should appear in the auto-add owners button anymore.
Test: N/A
Bug: N/A
Signed-off-by: Sandeep Patil <sspatil@google.com>
Change-Id: Ic89828dc6aeaa1a49fcd080ee9eb561ebc1a335a
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 75e0c797cb
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1677671
Change-Id: I4fe506255bca14eb9884df4df942424fd1d11207
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1677671
Change-Id: I17a6012357f3601b704728f2040a73c0779331ba
|
| | | |\|
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1677671
Change-Id: Idb187922d3f47394e17b023b223eddf808450f5f
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In preparation for THP support, add the size of the VMA
that is backed by THPs to procmem output.
Bug: 165836290
Test: procmem $pid
Change-Id: Ic4908eeca7f4111c99c53c796be9a48d62daca8a
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
86fb9d70d9
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1677670
Change-Id: I15d34113dcb2e1814b0bd25eab09b43afb57464f
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://android-review.googlesource.com/c/platform/system/memory/libmeminfo/+/1677670
Change-Id: I78174c22e85a547a4d421c6b9a38673ecc171596
|