#undef TRACE_SYSTEM
#define TRACE_SYSTEM cma

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

#include <linux/types.h>
#include <linux/tracepoint.h>

TRACE_EVENT(cma_alloc,

	TP_PROTO(unsigned long pfn, const struct page *page,
		 unsigned int count, unsigned int align),

	TP_ARGS(pfn, page, count, align),

	TP_STRUCT__entry(
		__field(unsigned long, pfn)
		__field(const struct page *, page)
		__field(unsigned int, count)
		__field(unsigned int, align)
	),

	TP_fast_assign(
		__entry->pfn = pfn;
		__entry->page = page;
		__entry->count = count;
		__entry->align = align;
	),

	TP_printk("pfn=%lx page=%p count=%u align=%u",
		  __entry->pfn,
		  __entry->page,
		  __entry->count,
		  __entry->align)
);

TRACE_EVENT(cma_release,

	TP_PROTO(unsigned long pfn, const struct page *page,
		 unsigned int count),

	TP_ARGS(pfn, page, count),

	TP_STRUCT__entry(
		__field(unsigned long, pfn)
		__field(const struct page *, page)
		__field(unsigned int, count)
	),

	TP_fast_assign(
		__entry->pfn = pfn;
		__entry->page = page;
		__entry->count = count;
	),

	TP_printk("pfn=%lx page=%p count=%u",
		  __entry->pfn,
		  __entry->page,
		  __entry->count)
);

#endif /* _TRACE_CMA_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
n>
</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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/vm?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/vm?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/vm?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/vm?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/vm'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='8b1b41ee74f9712c355d66dc105bbea663ae0afd'/><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/?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/vm?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd'>vm</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/tools/vm?h=nds-private-remove&amp;id=8b1b41ee74f9712c355d66dc105bbea663ae0afd&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>