bug-patch:support -am option 29/148429/3
authorCho Woong Suk <ws77.cho@samsung.com>
Fri, 8 Sep 2017 02:24:07 +0000 (11:24 +0900)
committerJongHeon Choi <j-h.choi@samsung.com>
Fri, 3 Nov 2017 00:13:44 +0000 (00:13 +0000)
Change-Id: I3e71bef55eea848e52bf4b417ddcab582b3421f0

tools/performance_test.sh

index ed289fb..3519cc4 100755 (executable)
@@ -132,7 +132,7 @@ execute_time_stamp_auto ()
     echo ""
 #execute dlogstreamer
     sdb shell "dlogutil -c"
-    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done]'" >> $STREAM_LOG_FILE &
+    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done'" >> $STREAM_LOG_FILE &
     DLOG_STREAMER_PID=$!
 #execute timestamp
     /bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
@@ -145,7 +145,7 @@ execute_time_stamp_auto_memory ()
     echo "[>] Start performance test that applciation launching memory"
     echo ""
     sdb shell "dlogutil -c"
-    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
+    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done'" >> $STREAM_LOG_FILE &
     DLOG_STREAMER_PID=$!
 #execute timestamp
     /bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
@@ -181,7 +181,7 @@ execute_time_stamp_manual_trace ()
     rm $STREAM_LOG_FILE
     touch $STREAM_LOG_FILE
     sdb shell "dlogutil -c"
-    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
+    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done'" >> $STREAM_LOG_FILE &
     DLOG_STREAMER_PID=$!
 #execute timestamp
     /bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &
@@ -202,7 +202,7 @@ execute_time_stamp_manual_memory ()
     rm $STREAM_LOG_FILE
     touch $STREAM_LOG_FILE
     sdb shell "dlogutil -c"
-    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'app_request_to_launchpad_for_uid.*[SECURE_LOG].*launch.*request|Launching:done'" >> $STREAM_LOG_FILE &
+    sdb shell "dlogutil -v time AUL LAUNCH|grep -E 'launch.*app_request_to_launchpad_for_uid.*request.*appid|Launching:done'" >> $STREAM_LOG_FILE &
     DLOG_STREAMER_PID=$!
 #execute timestamp
     /bin/bash ./timestamp.sh $STREAM_LOG_FILE $RESULT_LOG_FILE &