diff --git a/profile.sh b/profile.sh index a2a156ae..a6382b85 100755 --- a/profile.sh +++ b/profile.sh @@ -225,15 +225,9 @@ remove_profile_files() { # HELP_capture="Signals, pulls, and symbolicates the profile data" cmd_capture() { - # Send the signal right away. If the profiler wasn't started we'll catch - # that later. + # Send the signal right away. If the profiler wasn't started, this will + # print an error message and exit. cmd_signal "$1" - # Verify that b2g was started with the profiler enabled - if ! is_profiler_running $(get_b2g_pid); then - echo "Profiler doesn't seem to be running" - echo "Did you start the profiler using ${SCRIPT_NAME} start ?" - exit 1 - fi get_comms declare -a local_filename local timestamp=$(date +"%H%M")