OSDN Git Service
(root)
/
android-x86
/
system-extras.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32fe2a1
)
Fix missing pipe in ANRdaemon.
author
Nancy Zheng
<nzheng@google.com>
Sat, 6 Aug 2016 01:48:20 +0000
(18:48 -0700)
committer
Nancy Zheng
<nzheng@google.com>
Sat, 6 Aug 2016 01:48:20 +0000
(18:48 -0700)
Change-Id: I1322ed51f0f1456ebfb8cbb1404772f7fc2bf840
ANRdaemon/ANRdaemon_get_trace.sh
patch
|
blob
|
history
diff --git
a/ANRdaemon/ANRdaemon_get_trace.sh
b/ANRdaemon/ANRdaemon_get_trace.sh
index
afe3120
..
b537417
100755
(executable)
--- a/
ANRdaemon/ANRdaemon_get_trace.sh
+++ b/
ANRdaemon/ANRdaemon_get_trace.sh
@@
-20,7
+20,7
@@
PID=$(echo "$PID" | awk '{ print $2 }')
adb $DEVICE shell "kill -s SIGUSR1 $PID"
TRACE_FILE=$(adb $DEVICE shell "ls $TRACE_DIR \
- grep $TRACE_FILE_PATTEN | tail -n1" | tr -d '\r')
+
|
grep $TRACE_FILE_PATTEN | tail -n1" | tr -d '\r')
# Wiat the trace file generation to complete
adb $DEVICE shell "lsof $PID" | grep $TRACE_FILE > /dev/null