diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-09-08 13:16:59 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2016-11-17 14:42:33 -0800 |
commit | c8749d510819d0ea565640adfe38ace7669c7325 (patch) | |
tree | 1ed74ee6ed325258a89f0e0830a79eed4df906d1 /libunwindstack/tests/MemoryFileTest.cpp | |
parent | 3bde05d928fb74a75144ae0eeaa25891c91234d1 (diff) |
logd: add EXIT command
Debugging aid. Allows us to run:
$ cat -n '<STUFF>\0EXIT\0' | nc -U /dev/socket/logd
and the pipeline will exit once done. Without the EXIT command
we will have to <CTRL+C> out to terminate the pipeline. This is
necessary since Android's netcat command does not support the -q
feature, and having the EXIT command is faster and cleaner anyways.
Test: manual as noted above.
Bug: 31456426
Change-Id: I65333358188db85e2eb1bb6a14deed1565826ac4
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions