From e7da7e9b27ca050a12efa36207ea6b9218cc684d Mon Sep 17 00:00:00 2001 From: Yabin Cui Date: Fri, 10 Jul 2015 18:02:01 -0700 Subject: [PATCH] Simpleperf: remove abort in child process. Bug: 22328419 Change-Id: I3521a246929c10dc1eb9c9dac75240197b5b0a40 --- simpleperf/workload.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simpleperf/workload.cpp b/simpleperf/workload.cpp index f8e4edde..999e315a 100644 --- a/simpleperf/workload.cpp +++ b/simpleperf/workload.cpp @@ -93,10 +93,11 @@ static void ChildProcessFn(std::vector& args, int start_signal_fd, TEMP_FAILURE_RETRY(write(exec_child_fd, &exec_child_failed, 1)); close(exec_child_fd); errno = saved_errno; - PLOG(FATAL) << "execvp(" << argv[0] << ") failed"; + PLOG(ERROR) << "execvp(" << argv[0] << ") failed"; } else { - PLOG(FATAL) << "child process failed to receive start_signal, nread = " << nread; + PLOG(DEBUG) << "child process failed to receive start_signal, nread = " << nread; } + exit(1); } bool Workload::Start() { -- 2.11.0