1f0ba51e8SBhawanpreet Lakha /* 2f0ba51e8SBhawanpreet Lakha * Copyright 2018 Advanced Micro Devices, Inc. 3f0ba51e8SBhawanpreet Lakha * 4f0ba51e8SBhawanpreet Lakha * Permission is hereby granted, free of charge, to any person obtaining a 5f0ba51e8SBhawanpreet Lakha * copy of this software and associated documentation files (the "Software"), 6f0ba51e8SBhawanpreet Lakha * to deal in the Software without restriction, including without limitation 7f0ba51e8SBhawanpreet Lakha * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8f0ba51e8SBhawanpreet Lakha * and/or sell copies of the Software, and to permit persons to whom the 9f0ba51e8SBhawanpreet Lakha * Software is furnished to do so, subject to the following conditions: 10f0ba51e8SBhawanpreet Lakha * 11f0ba51e8SBhawanpreet Lakha * The above copyright notice and this permission notice shall be included in 12f0ba51e8SBhawanpreet Lakha * all copies or substantial portions of the Software. 13f0ba51e8SBhawanpreet Lakha * 14f0ba51e8SBhawanpreet Lakha * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15f0ba51e8SBhawanpreet Lakha * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16f0ba51e8SBhawanpreet Lakha * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17f0ba51e8SBhawanpreet Lakha * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18f0ba51e8SBhawanpreet Lakha * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19f0ba51e8SBhawanpreet Lakha * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20f0ba51e8SBhawanpreet Lakha * OTHER DEALINGS IN THE SOFTWARE. 21f0ba51e8SBhawanpreet Lakha * 22f0ba51e8SBhawanpreet Lakha * Authors: AMD 23f0ba51e8SBhawanpreet Lakha * 24f0ba51e8SBhawanpreet Lakha */ 25f0ba51e8SBhawanpreet Lakha 26f0ba51e8SBhawanpreet Lakha 27f0ba51e8SBhawanpreet Lakha #ifndef __DML_LOGGER_H_ 28f0ba51e8SBhawanpreet Lakha #define __DML_LOGGER_H_ 29f0ba51e8SBhawanpreet Lakha 30713d451dSBhawanpreet Lakha #define DC_LOGGER \ 31713d451dSBhawanpreet Lakha mode_lib->logger 32713d451dSBhawanpreet Lakha 33713d451dSBhawanpreet Lakha #define dml_print(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } 34713d451dSBhawanpreet Lakha #define DTRACE(str, ...) {DC_LOG_DML(str, ##__VA_ARGS__); } 35f0ba51e8SBhawanpreet Lakha 36f0ba51e8SBhawanpreet Lakha #endif 37f0ba51e8SBhawanpreet Lakha 38f0ba51e8SBhawanpreet Lakha 39