cregit-Linux how code gets into the kernel

Release 4.14 drivers/s390/cio/cio_debug.h

Directory: drivers/s390/cio
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef CIO_DEBUG_H

#define CIO_DEBUG_H

#include <asm/debug.h>

/* for use of debug feature */
extern debug_info_t *cio_debug_msg_id;
extern debug_info_t *cio_debug_trace_id;
extern debug_info_t *cio_debug_crw_id;


#define CIO_TRACE_EVENT(imp, txt) do {                            \
                debug_text_event(cio_debug_trace_id, imp, txt); \
        } while (0)


#define CIO_MSG_EVENT(imp, args...) do {                            \
                debug_sprintf_event(cio_debug_msg_id, imp , ##args);    \
        } while (0)


#define CIO_CRW_EVENT(imp, args...) do {                            \
                debug_sprintf_event(cio_debug_crw_id, imp , ##args);    \
        } while (0)


static inline void CIO_HEX_EVENT(int level, void *data, int length) { if (unlikely(!cio_debug_trace_id)) return; while (length > 0) { debug_event(cio_debug_trace_id, level, data, length); length -= cio_debug_trace_id->buf_size; data += cio_debug_trace_id->buf_size; } }

Contributors

PersonTokensPropCommitsCommitProp
Peter Oberparleiter4477.19%125.00%
Cornelia Huck915.79%125.00%
Martin Schwidefsky47.02%250.00%
Total57100.00%4100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Peter Oberparleiter6052.63%116.67%
Martin Schwidefsky4135.96%233.33%
Cornelia Huck1210.53%233.33%
Greg Kroah-Hartman10.88%116.67%
Total114100.00%6100.00%
Directory: drivers/s390/cio
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.