[Title] modify oprofile command script for valgrind tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.061606
authorgreatim <jaewon81.lim@samsung.com>
Tue, 24 Sep 2013 11:12:14 +0000 (20:12 +0900)
committergreatim <jaewon81.lim@samsung.com>
Tue, 24 Sep 2013 11:12:14 +0000 (20:12 +0900)
[Desc.]
[Issue]

Change-Id: I43f10cf9cce7247420bd83f34cc9d82c6ae5f692

utils/oprofile_command

index 1c42a4c..362a063 100755 (executable)
@@ -296,11 +296,6 @@ if [[ -n $1 ]]; then
                        kill_app
                        ;;
                valgrind)
-                       is_emulator
-                       if [[ "$?" -ne 1 ]] ; then
-                               echo "Valgrind option is available only on the emulator!"
-                               exit 1
-                       fi
                        if [[ $# -ge 2 ]]; then
                                shift
                                VALGRINDOPTION=$@
@@ -311,19 +306,9 @@ if [[ -n $1 ]]; then
                        valgrind_run $@
                        ;;
                valgrind_chmod)
-                       is_emulator
-                       if [[ "$?" -ne 1 ]] ; then
-                               echo "Valgrind option is available only on the emulator!"
-                               exit 1
-                       fi
                        valgrind_chmod_result
                        ;;
                valgrind_terminate)
-                       is_emulator
-                       if [[ "$?" -ne 1 ]] ; then
-                               echo "Valgrind option is available only on the emulator!"
-                               exit 1
-                       fi
                        valgrind_terminate_app
                        ;;
                *)