diff --git a/libmeminfo/libdmabufinfo/tools/dmabuf_dump.cpp b/libmeminfo/libdmabufinfo/tools/dmabuf_dump.cpp index 5ee9c3d17..0851fb33c 100644 --- a/libmeminfo/libdmabufinfo/tools/dmabuf_dump.cpp +++ b/libmeminfo/libdmabufinfo/tools/dmabuf_dump.cpp @@ -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