Add log flag for verbose AppFuse log for nyc-dev. am: 2d6555f

am: 4d5cfe5

* commit '4d5cfe57dd92ddfe8cf0ef78b096d669d7df6382':
  Add log flag for verbose AppFuse log for nyc-dev.

Change-Id: Idb2d16d6c265b191bff44e9c10f23375699d0933
gugelfrei
Daichi Hirono 8 years ago committed by android-build-merger
commit cb141e1b6a

@ -52,6 +52,7 @@
#include "TrimTask.h"
#define DUMP_ARGS 0
#define DEBUG_APPFUSE 0
CommandListener::CommandListener() :
FrameworkListener("vold", true) {
@ -674,8 +675,10 @@ static android::status_t runCommandInNamespace(const std::string& command,
pid_t pid,
const std::string& path,
int device_fd) {
LOG(DEBUG) << "Run app fuse command " << command << " for the path " << path << " in namespace "
<< uid;
if (DEBUG_APPFUSE) {
LOG(DEBUG) << "Run app fuse command " << command << " for the path " << path
<< " in namespace " << uid;
}
const android::vold::ScopedDir dir(opendir("/proc"));
if (dir.get() == nullptr) {

Loading…
Cancel
Save