summaryrefslogtreecommitdiff
path: root/simpleperf/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/command.cpp')
-rw-r--r--simpleperf/command.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/simpleperf/command.cpp b/simpleperf/command.cpp
index d751d610..e937e19b 100644
--- a/simpleperf/command.cpp
+++ b/simpleperf/command.cpp
@@ -24,7 +24,6 @@
#include <android-base/logging.h>
#include <android-base/parsedouble.h>
#include <android-base/parseint.h>
-#include <android-base/quick_exit.h>
#include "utils.h"
@@ -177,9 +176,9 @@ bool RunSimpleperfCmd(int argc, char** argv) {
bool result = command->Run(args);
LOG(DEBUG) << "command '" << command_name << "' "
<< (result ? "finished successfully" : "failed");
- // Quick exit to avoid cost freeing memory and closing files.
+ // Quick exit to avoid the cost of freeing memory and closing files.
fflush(stdout);
fflush(stderr);
- android::base::quick_exit(result ? 0 : 1);
+ _Exit(result ? 0 : 1);
return result;
}