| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add new liblog API __android_log_is_loggable(prio, tag, def)
- future plan to integrate this into the runtime checks and into
the logd daemon for filtration. Inert for now.
Bug: 17760225
Change-Id: I16395b4d42acc08f0209f55a1cbf87b0b2112898
|
|\ \
| |/
| |
| |
| | |
* commit 'c9c401e64ba00e8fa295cae30b2b0035fae1183a':
Move map data into backtrace data proper.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The backtrace structure used to include a pointer to a backtrace_map_t
that represented the map data for a particular pc. This introduced a
race condition where the pointer could be discarded, but the backtrace
structure still contained a pointer to garbage memory. Now all of the map
information is right in the structure.
Bug: 19028453
Change-Id: If7088a73f3c6bf1f3bc8cdd2bb4b62e7cab831c0
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '5e753100c32c7b42ae4306a8023c419defd34c4e':
Clean up reading and writing in init.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This isn't particularly useful in and of itself, but it does introduce the
first (trivial) unit test, improves the documentation (including details
about how to debug init crashes), and made me aware of how unpleasant the
existing parser is.
I also fixed a bug in passing --- unless you thought the "peboot" and "pm"
commands were features...
Bug: 19217569
Change-Id: I6ab76129a543ce3ed3dab52ef2c638009874c3de
|
|\ \
| |/
| |
| |
| | |
* commit 'd558530ba90cb6218fe8e255c71a034c3fe1ea58':
Fix Windows build.
|
| |
| |
| |
| |
| |
| |
| | |
Take 2. Probably should have done this in the beginning, but thought I was
being clever.
Change-Id: I85c6e487eece9bcc75f8f62c850c2d4d1ee9e908
|
|\ \
| |/
| |
| |
| |
| |
| | |
permissions."
* commit '27d28d3baff860d1fd936a5fcf2d920577c52575':
Add a WriteStringToFile overload that cares about permissions.
|
| |
| |
| |
| | |
Change-Id: I857a80b61768d4e9610bdd149eff2d9d8e48d2c0
|
|\ \
| |/
| |
| |
| | |
* commit '55732f49287a75f9baabe9f150443aec9234c90d':
android_reboot should take a const char*.
|
| |
| |
| |
| |
| |
| | |
The kernel argument is actually a void*, but it's only read from.
Change-Id: I305c50249bf12b7fbdea4721257aed52a0372f8d
|
|\ \
| |/
| |
| |
| | |
* commit 'e44d25d64537f4ea2abcb56aabc7a5bf0731c222':
Add Google-style StringPrintf.
|
| |\ |
|
| | |
| | |
| | |
| | | |
Change-Id: If333c28b8ed047346a2dd85e591c4bedbab874cc
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '9fc43358f72a581beb26532ea2cb1f2adc053758':
Extra Win32 compatibility.
|
| |/
| |
| |
| | |
Change-Id: Ibc583aba580f4fc15c243f495ead44b2ce4c6e5e
|
|\ \
| |/
| |
| |
| | |
* commit '6974ba4ed430ec3247c3a5c04a2263b4b04ff827':
Add Google-style ReadFileToString and WriteStringToFile.
|
| |
| |
| |
| |
| | |
Bug: 19217569
Change-Id: I64789d3fa6777ee30a324cdf00fdc275c1230e1b
|
|\ \
| | |
| | |
| | |
| | | |
* commit '2b2b7632f55ca73562361cf4d06e60e7b62f7ff4':
Revert "Remove netcfg's unused options."
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit f8e83054cb8a8b13ee84a4aeeaa0a2fd8debca81.
Change-Id: Iede772f96ff9008277df433dcbb5f6603de65283
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '6a728fde77d1367318c79e5b182f0cb316872a37':
Remove netcfg's unused options.
|
| |/
| |
| |
| |
| |
| |
| | |
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: Iaf499c06b09ffe5e0925339b9cd6e502f3234a86
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'ef89e8d14619c68015103fd51ff75f82eeef8d61':
Revert "Remove netcfg's unused options."
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 24c1885bc196940f48e478a220a360118ba84bd7.
Change-Id: Iaae6502e2db90d67b4275faa104cfc6a0abc65c6
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '67900498cff54c8116b3f7afc84e046d98bb17e4':
Remove netcfg's unused options.
|
| |/
| |
| |
| |
| |
| |
| | |
Only "netcfg" for a list of interfaces and "netcfg <interface> dhcp" still
seem to be used.
Change-Id: Ie0aecf5b18bd854cfb5878b6cfdd7160c9f42526
|
|\ \
| |/
| |
| |
| | |
* commit '7cb19579bc22bf38e15b970f801f8065d629611d':
Add close_file flag to OpenArchiveFd()
|
| |
| |
| |
| |
| |
| | |
* We should be able to keep fd alive after CloseArchive()
Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
|
|\ \
| |/
| |
| |
| | |
* commit 'e862350bb2eb3d3eda526da7f3b6d5c2dd40a445':
Kill HAVE_PTHREADS.
|
| |
| |
| |
| |
| | |
Bug: 19083585
Change-Id: Ic09eb3dd250bc5c5b63cac7998f99f5fa007f407
|
|\ \
| |/
| |
| |
| | |
* commit '91581f19906ade01eabc6e10a7dac209e710117a':
liblog: add pstore write
|
| |
| |
| |
| |
| |
| |
| | |
Used to push the Android log messages into pstore
(when available, and no propagation of error).
Change-Id: I9def8cf796d35d347f502d9745d5f42ec1200253
|
|\ \
| |/
| |
| |
| | |
* commit '4730328da72ef9b7aeaefc120358155fdfd8dde8':
logd: create private/android_logger.h
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- create a structure to depict the private header
expected at logd end of socket.
- utilize this new structure instead of unscalable
byte stream technique used to unpack in logd.
Change-Id: I2d0e5c3531c279f2dc1fbd74807210ff8d804de0
|
|\ \
| |/
| |
| |
| | |
* commit 'd426a4e7b62c18124827868ddbf8987aa433451b':
Move 32 bit/64 bit check into debuggerd.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On 64 bit systems, calls to dump_backtrace_to_file or dump_tombstone
try and directly contact the correct debuggerd (32 bit vs 64 bit)
by reading the elf information for the executable.
Unfortunately, system_server makes a call to dump_backtrace_to_file
and it doesn't have permissions to read the executable data, so it
defaults to always contacting the 64 bit debuggerd.
This CL changes the code so that all dump requests go to the 64 bit
debuggerd, which reads the elf information and redirects requests for
32 bit processes to the 32 bit debuggerd.
Testing:
- Forced the watchdog code in system_server to dump stacks and
verified that all native stacks are dumped correctly.
- Verified that dumpstate and bugreport still properly dump the native
processes on a 64 bit and 32 bit system.
- Intentionally forced the 64 bit to 32 bit redirect to write only a
byte at a time and verified there are no errors, and no dropped data.
- Used debuggerd and debuggerd64 to dump 32 bit and 64 bit processes
seemlessly.
- Used debuggerd on a 32 bit system to dump native stacks.
Bug: https://code.google.com/p/android/issues/detail?id=97024
Change-Id: Ie01945153bdc1c4ded696c7334b61d58575314d1
|
|\ \
| |/
| |
| |
| | |
* commit '45c4c06ffe6f38e0f77f37f488e07f2537eddd45':
Remove unused cruft from libcutils.
|
| |
| |
| |
| | |
Change-Id: I316d39e8e0a9aa385d8e1f37678b8bf2c03441eb
|
|\ \
| |/
| |
| |
| | |
* commit '9f72ef8944a93bd333c6c7f87c7f7d79207ae663':
Extend to receive NFLOG packets.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Packets captured and logged by the NFLOG target are unicast, so
extend to catch and decode them. To avoid escaping issues, the raw
contents are passed around as hex strings.
Bug: 18335678
Change-Id: Ib7299500baa00080a1f000f9da843eb527363353
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Under some unknown circumstances, debuggerd could become unresponsive.
If you try and take a bugreport during this time, it will hang forever.
Adding functions that have a timeout will allow dumpstate to stop if
dumping is taking too long.
Bug: 18766581
(cherry picked from commit 5f2ff6a9106083e2a79b8600a0bf6a5341c6ca38)
Change-Id: I39e8e9c60209e3ef9efac795fedb8e1edce2bd3e
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
into lmp-mr1-dev
* commit '70f6dea9d06876bc65181c40ee9e623be196fb4c':
android_filesystem: Remove setuid bits from tcpdump
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 18669116
Change-Id: I25486f2fe0e994f569b788fc9f03ef6d383f54d4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '5f2ff6a9106083e2a79b8600a0bf6a5341c6ca38':
Add timed versions of stack dumping functions.
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Under some unknown circumstances, debuggerd could become unresponsive.
If you try and take a bugreport during this time, it will hang forever.
Adding functions that have a timeout will allow dumpstate to stop if
dumping is taking too long.
Bug: 18766581
Change-Id: I85053b8dcfe6224e2b64b4d8f7f2ef448b3cda34
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'ce1928e987923a276ff048c69d9a6f43f22610ba':
Add required casts for clang/llvm -Wc++11-narrowing
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
system/core/include/utils/Mutex.h:134:25: error: non-constant-expression
cannot be narrowed from type 'long long' to '__kernel_time_t' (aka
'long') in initializer list [-Wc++11-narrowing]
system/core/include/utils/Mutex.h:135:26: error: non-constant-expression
cannot be narrowed from type 'long long' to 'long' in initializer list
[-Wc++11-narrowing]
Change-Id: Icb9df26aeb01617da5ab1c36987289f7c2b11954
|