/** * Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #ifndef UCT_LOG_H_ #define UCT_LOG_H_ #include "uct_iface.h" #include #include /** * In debug mode, print packet description to the log. */ #define uct_log_data(_file, _line, _function, _info) \ ucs_log_dispatch(_file, _line, _function, UCS_LOG_LEVEL_TRACE_DATA, "%s", buf); /** * Log callback which prints information about transport headers. */ typedef void (*uct_log_data_dump_func_t)(uct_base_iface_t *iface, uct_am_trace_type_t type, void *data, size_t length, size_t valid_length, char *bufer, size_t max); #endif