summaryrefslogtreecommitdiff
path: root/libperfmgr/NodeLooperThread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libperfmgr/NodeLooperThread.cc')
-rw-r--r--libperfmgr/NodeLooperThread.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/libperfmgr/NodeLooperThread.cc b/libperfmgr/NodeLooperThread.cc
index 9bb10c0b..747cd319 100644
--- a/libperfmgr/NodeLooperThread.cc
+++ b/libperfmgr/NodeLooperThread.cc
@@ -16,11 +16,11 @@
#define LOG_TAG "libperfmgr"
+#include "perfmgr/NodeLooperThread.h"
+
#include <android-base/file.h>
#include <android-base/logging.h>
-#include "perfmgr/NodeLooperThread.h"
-
namespace android {
namespace perfmgr {
@@ -31,7 +31,7 @@ bool NodeLooperThread::Request(const std::vector<NodeAction>& actions,
return false;
}
if (!::android::Thread::isRunning()) {
- LOG(FATAL) << "NodeLooperThread stopped, abort...";
+ LOG(WARNING) << "NodeLooperThread is not running, request " << hint_type;
}
bool ret = true;
@@ -70,7 +70,7 @@ bool NodeLooperThread::Cancel(const std::vector<NodeAction>& actions,
return false;
}
if (!::android::Thread::isRunning()) {
- LOG(FATAL) << "NodeLooperThread stopped, abort...";
+ LOG(WARNING) << "NodeLooperThread is not running, cancel " << hint_type;
}
bool ret = true;