#undef TRACE_SYSTEM
#define TRACE_SYSTEM printk

#if !defined(_TRACE_PRINTK_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_PRINTK_H

#include <linux/tracepoint.h>

TRACE_EVENT(console,
	TP_PROTO(const char *text, size_t len),

	TP_ARGS(text, len),

	TP_STRUCT__entry(
		__dynamic_array(char, msg, len + 1)
	),

	TP_fast_assign(
		/*
		 * Each trace entry is printed in a new line.
		 * If the msg finishes with '\n', cut it off
		 * to avoid blank lines in the trace.
		 */
		if ((len > 0) && (text[len-1] == '\n'))
			len -= 1;

		memcpy(__get_str(msg), text, len);
		__get_str(msg)[len] = 0;
	),

	TP_printk("%s", __get_str(msg))
);
#endif /* _TRACE_PRINTK_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
ref='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='2dcab598484185dea7ec22219c76dcdd59e3cb90'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy/phy-keystone.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/phy/phy-keystone.c?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/phy/phy-keystone.c?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/phy/phy-keystone.c?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy/phy-keystone.c'>
<input type='hidden' name='id' value='2dcab598484185dea7ec22219c76dcdd59e3cb90'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>phy</a>/<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy/phy-keystone.c?id=2dcab598484185dea7ec22219c76dcdd59e3cb90'>phy-keystone.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/phy/phy-keystone.c?id=2dcab598484185dea7ec22219c76dcdd59e3cb90&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>