Release 4.14 drivers/s390/cio/cio_debug.h
/* 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
Person | Tokens | Prop | Commits | CommitProp |
Peter Oberparleiter | 44 | 77.19% | 1 | 25.00% |
Cornelia Huck | 9 | 15.79% | 1 | 25.00% |
Martin Schwidefsky | 4 | 7.02% | 2 | 50.00% |
Total | 57 | 100.00% | 4 | 100.00% |
#endif
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Peter Oberparleiter | 60 | 52.63% | 1 | 16.67% |
Martin Schwidefsky | 41 | 35.96% | 2 | 33.33% |
Cornelia Huck | 12 | 10.53% | 2 | 33.33% |
Greg Kroah-Hartman | 1 | 0.88% | 1 | 16.67% |
Total | 114 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.