| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Change-Id: I4b41b6ee5a7a5600ca3b37d3addf1dce7d1e072a
|
|
|
|
|
|
|
|
|
| |
Addr2line constructs NativeStackCallInfo for a symbol using its
offset within the library as the address. This patch is a minor change
to make it use the address in the executable instead of the offset
in the library.
Change-Id: I3e3e960f6c5abefac83b670e3ab23a78c57a8e56
|
|
|
|
|
|
|
|
| |
In a stack trace, skip all frames from libc and from methods matching
malloc/realloc/calloc etc to identify the source frame where heap memory
is allocated.
Change-Id: Ia8661c7ff58b3db502c92b2f48819c3219861a73
|
|
|
|
| |
Change-Id: I17a1b29039e50e0256f37519b3fd8781b88f5e39
|
|
|
|
|
|
|
| |
Cross checked with vendor/google/tools/nativeheapdump and made sure
that output of both tools match.
Change-Id: I129791ec42e7c0f4197fd59f687477b3d82e4d20
|
|
|
|
|
|
|
|
| |
Rather than viewing the entire snapshot, users can now view
just the allocations that have happened since the previous
snapshot.
Change-Id: I6115fdcd3928db775d8b77c078c9fce2539779ac
|
|
|
|
|
|
| |
equals() was overridden previously, but not hashCode.
Change-Id: I82371f853f1ab23b081ed78fc54f5e66ecccbe3e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Splits DDMS PreferenceStore management in
a separate class and add the methods we need
for ADT first-time wizard.
Various pieces of DDMS access the pref store
via the PrefsDialog. This could use a cleanup
eventually later.
Change-Id: Ie1e90b9a4d7e4c9b057b506eae239ba7e8ece37d
|
| |
| |
| |
| |
| |
| |
| | |
Maintain separate list of non zygote allocations and switch to
displaying the filtered list based on user input.
Change-Id: Ib1fbbcb2ada55255a2f9dad02f3cf1dea18cbeda
|
| |
| |
| |
| | |
Change-Id: Iabfb5f246ca5c22cf0097300e66ba128b5174562
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There are two reasons for this change:
1. When allocations are grouped by library, it is nice to have
the library in the first column immediately signifying the grouping.
2. The first column is always left aligned on some platforms (Linux).
This is not the right alignment for showing numbers (they should be
right aligned).
Change-Id: I36a3fef17265da41e3e6d709f38d3fd6e28d233b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, all allocations are displayed as a list sorted by
the size of the allocation.
This patch set enables the toolbar checkbox to group the list of
allocations by library. When this is checked, the display refreshes
to show a tree with the root nodes being libraries, and their
children being the list of allocations made from that library.
Change-Id: Ibb61242db8c6e58d300f767f0b2b11b6b7a9530d
|
| |
| |
| |
| |
| |
| | |
Fix Addr2line to use the search path to locate binaries.
Change-Id: I5ba901144faa70d4507d9286ade1cc49828d41ac
|
|/
|
|
| |
Change-Id: I7a50c09b3cc7028caef2302154bfe6fea8bef556
|
|
|
|
|
|
|
|
| |
After retrieving a heap dump, start a thread to resolve all the
addresses present in the dump. Refresh the UI with the resolved
symbols once the process is complete.
Change-Id: Iac2d24e91685b6c4e10985b3dfce00e79e1db10b
|
|
|
|
|
|
|
| |
Minor changes in a few other places to return List's instead of
arrays.
Change-Id: I25ddc25ebc1c91677d16e9d77dc0f8a51022bc1b
|
|
|
|
| |
Address resolution to symbols to come in future CL's.
|
|
|
|
|
|
|
|
|
|
|
| |
NHGT = Native Heap GeT
NHSG = Native Heap Segment Data
Currently, ddmlib doesn't do much processing of the NHSG data anyway.
Adding NHSG causes a stream of segment data updates sent from the client,
which is then ignored.
Change-Id: Ifb95e9a744cd5c733593abb1bb83446796e7b50a
|
|
|
|
| |
Change-Id: I06c3f52313ae06ff2b51cbe6b302409bd4efca5b
|
|
|
|
| |
Change-Id: Ibe1042437e4f320a034be176b0b8efc7d205f79b
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I6a332ea16243f43d080e4d88e914d6b2e940ce97
|
|/
|
|
|
|
|
| |
And make sure that the default logcat table row height is high
enough for the currently used font.
Change-Id: Ibfabb05b92add42c6d0acb2b79668f93b833057f
|
|
|
|
|
|
|
| |
The windows scrollbar never actually touches the bottom of the scroll area.
Compensate for that in the shouldScrollToLatestLog() function.
Change-Id: If3178d0519cac262d9208d3cd486588f895936ff
|
|
|
|
| |
Change-Id: I5e3f5f859905b77e9a2af7d38d970ff6b8e3172b
|
|
|
|
|
|
|
|
|
|
|
| |
Without SWT.VIRTUAL, the UI responsiveness goes down significantly
when large numbers of logcat messages are received.
Unfortunately, enabling it causes SWT to make all rows to be of
the same height, thereby clipping any long messages. In such a case,
the complete message can be viewed in the tooltip.
Change-Id: I78d6701ccac6ad94675e1ed707700eabfe34bce8
|
|
|
|
| |
Change-Id: Ib09281dea211cffbd5c6f8352c7002f95e99f019
|
|
|
|
|
|
|
|
| |
When a error message is detected on logcat, display logcat view but
with a filter for the application selected so that only the relevant
messages are displayed.
Change-Id: Ic84c59b63519302eac286ae243b228a305288b3d
|
|
|
|
|
|
|
|
|
| |
- When applications are launched (run/debug) on a device, start
monitoring the logcat output on that device.
- If some important message comes across, and the logcat view is not
currently displayed, then activate it.
Change-Id: Ib88973badde4cb2860379129dfe0eb03a3f955dc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until now there was only one instance of LogCatReceiver. This
instance would listen to the logcat output from the currently
selected device.
This patch modifies this behavior to make one LogCatReceiver
responsible for listening to only one device. If there are multiple
devices, then multiple instances of LogCatReceivers are instantiated.
The instantiation is also moved to a separate factory.
This modification allows for the scenario where the LogCatReceiver's
can be instantiated independent of the UI, and are reused by the UI
whenever needed.
Change-Id: I46008cbd5ee41880372a62e7e09634ce2d2fc122
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, every time a logcat message is received, the UI is refreshed.
If multiple messages are received in close succession, multiple refreshes
are enqueued to the UI thread to be run. This results in the UI spending
all its time refreshing the table.
This patch adds a refresh to the queue only if there are no pending
refreshes. We can do so since any refresh automatically picks up the latest
state of the logcat messages received.
Change-Id: I2d9df679299710e54986c86a3610d3546924aba8
|
|
|
|
| |
Change-Id: I82229e75e5a33baa690ea6b0993a4d407713e7e5
|
|
|
|
|
|
|
| |
Add a preference where users can set the size of the message list.
Defaults to 1000.
Change-Id: Ia888c3802f07607274bfbdca0ade8fbda009ba55
|
|
|
|
|
|
|
|
|
| |
On Mac, Link widgets to not enforce SWT.WRAP style. As a result,
text is just clipped instead of being wrapped. Split the privacy
policy text into two separate components - one with the text, and
one with the link, and use Label's for the longer text content.
Change-Id: Ic667b9ec62c0ce26c43611b97e0bbdc89dbc68d6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch addresses Issue #15267. The primary issue is that the SDK
stats permission dialog was opened from a separate Job, and this
dialog shows up when the user opens the preference page for the
first time. Since both of them happen to be modal dialogs, the
behavior is inconsistent, and many times results in a blocked UI.
The patch fixes this issue by opening up the stats dialog as a child
of the preference page dialog within ADT, and as a child of a new
shell within DDMS.
Change-Id: I8c9ed9e9bbfac855435690f287b4f60975f336fb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts the way Change I14dba0dd was sending
the Eclipse version. Instead of passing a new attribute,
we reuse the existing "app=>version" format, with a
specific app name of "eclipse". Since versions are
reformated in 4 parts, it will report something like
"3.5.0.0" (only major+minor and 2 zero sub parts).
We don't send more details than that (e.g. Milestones).
Change-Id: Id01e3ed6b96ea4ce4e1b4f643d08a050291a6e7b
|
|/
|
|
|
|
|
|
| |
Always use mixed case for pid: change PID to Pid.
Rename getPidString() to getPid().
All changes are syntactical only..
Change-Id: I85309d46ff1a14510271f6402debdc1e17747928
|
|
|
|
| |
Change-Id: I07be20ac89108c181cfb2793c90f5cf697a304e2
|
|
|
|
|
|
|
|
|
|
| |
logcat only provides the pid of the application that generated the
message. Map the pid back to the application's name, and store it
in the parsed logcat message.
Modify the logcat view to display the app name in addition to the pid.
Change-Id: I939ed9ca2389412473dc614bd2e0e1d302295924
|
|
|
|
| |
Change-Id: Ic00711ebfe13c9f4674e0570bd3dd28f35127d62
|
|
|
|
| |
Change-Id: Idbf3bc093f2a049b5e0e0cd9605a6f8bdc8f7723
|
|
|
|
|
|
|
|
| |
Rather than wrapping messages at a certain size, detect the current
width of the column, and wrap them if the message will exceed that
width. Note that the width depends on the font used.
Change-Id: I26441c5b4b7fe3e6ab00b9287c4013493e2352f8
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I79328a3ab0c3e113103615b11d9ec85726513adc
|
| |
| |
| |
| |
| |
| | |
Also use platform specific font.
Change-Id: I0bc50c2c79c8e0e21c779ad71f3b11b8c03e99d8
|
| |
| |
| |
| |
| |
| |
| |
| | |
Font: fontdata should be created using PreferenceConverter.getFontData
List selection: On Mac, selecting a list widget outside the list contents
behaves differently than on Linux
Change-Id: I696996c8b92af8211dd767f5dd1552c34b68c327
|
| |
| |
| |
| |
| |
| |
| | |
The old view can be activated by setting the env variable
ANDROID_USE_OLD_LOGCAT_VIEW.
Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041
|
| |
| |
| |
| | |
Change-Id: Ia2693424f0106fb3aa1724c211a8e1273f3a0c28
|