bug-patch:support -am option 12/163012/1
authorCho Woong Suk <ws77.cho@samsung.com>
Fri, 8 Sep 2017 02:24:07 +0000 (11:24 +0900)
committerwoongsuk cho <ws77.cho@samsung.com>
Thu, 7 Dec 2017 01:59:07 +0000 (01:59 +0000)
Change-Id: I3e71bef55eea848e52bf4b417ddcab582b3421f0
(cherry picked from commit 2169c2f2e0c92929f20ba81c4eb0dcd43819a71c)

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 &