Merge "meminfo: make dmabuf_dump dependency on debugfs optional" am: 38c143e8c0

am: b49ddbc5c1

Change-Id: Ib749ce175ca479fa748ab30486c906eb93fb31b1
This commit is contained in:
Erick Reyes 2019-02-10 08:19:03 -08:00 committed by android-build-merger
commit 00b5fd5c88

View file

@ -150,8 +150,8 @@ int main(int argc, char* argv[]) {
if (show_all) {
if (!ReadDmaBufInfo(&bufs)) {
std::cerr << "Unable to read DEBUGFS dmabuf info" << std::endl;
exit(EXIT_FAILURE);
std::cerr << "debugfs entry for dmabuf not available, skipping" << std::endl;
bufs.clear();
}
std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir("/proc"), closedir);
if (!dir) {