Merge "meminfo: make dmabuf_dump dependency on debugfs optional"
This commit is contained in:
commit
38c143e8c0
1 changed files with 2 additions and 2 deletions
|
|
@ -150,8 +150,8 @@ int main(int argc, char* argv[]) {
|
||||||
|
|
||||||
if (show_all) {
|
if (show_all) {
|
||||||
if (!ReadDmaBufInfo(&bufs)) {
|
if (!ReadDmaBufInfo(&bufs)) {
|
||||||
std::cerr << "Unable to read DEBUGFS dmabuf info" << std::endl;
|
std::cerr << "debugfs entry for dmabuf not available, skipping" << std::endl;
|
||||||
exit(EXIT_FAILURE);
|
bufs.clear();
|
||||||
}
|
}
|
||||||
std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir("/proc"), closedir);
|
std::unique_ptr<DIR, int (*)(DIR*)> dir(opendir("/proc"), closedir);
|
||||||
if (!dir) {
|
if (!dir) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue