commit | dad9ad844cb10e9b80f28f9c18467e270b01eb7b | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Tue Dec 21 22:51:50 2021 +0000 |
committer | John Bauman <jbauman@google.com> | Tue Dec 21 22:51:50 2021 +0000 |
tree | 8a63db82063a9b692d75c5e3e1b15a6c6f8c70be | |
parent | bba81254d96a90b782f6a86b9c9b97154803269e [diff] |
Disable verbose logging of bufmgr_magma This code is working well enough that we don't need to log every single call anymore. Change-Id: Ia44ee732d54f15c37e9a05dec7cc3a56715b7ac0
diff --git a/media_driver/linux/common/os/magma/mos_bufmgr_magma.cpp b/media_driver/linux/common/os/magma/mos_bufmgr_magma.cpp index fd4afd1..0f5edeb 100644 --- a/media_driver/linux/common/os/magma/mos_bufmgr_magma.cpp +++ b/media_driver/linux/common/os/magma/mos_bufmgr_magma.cpp
@@ -39,9 +39,10 @@ #include <vector> #define LOG_VERBOSE(msg, ...) do { \ - if (true) \ + if (false) {\ fprintf(stderr, "%s:%d " msg "\n", __FILE__, __LINE__, ##__VA_ARGS__); \ fflush(stderr); \ + } \ } while (0) static inline uint64_t page_size() { return sysconf(_SC_PAGESIZE); }