#undef TRACE_SYSTEM
#define TRACE_SYSTEM page_isolation

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

#include <linux/tracepoint.h>

TRACE_EVENT(test_pages_isolated,

	TP_PROTO(
		unsigned long start_pfn,
		unsigned long end_pfn,
		unsigned long fin_pfn),

	TP_ARGS(start_pfn, end_pfn, fin_pfn),

	TP_STRUCT__entry(
		__field(unsigned long, start_pfn)
		__field(unsigned long, end_pfn)
		__field(unsigned long, fin_pfn)
	),

	TP_fast_assign(
		__entry->start_pfn = start_pfn;
		__entry->end_pfn = end_pfn;
		__entry->fin_pfn = fin_pfn;
	),

	TP_printk("start_pfn=0x%lx end_pfn=0x%lx fin_pfn=0x%lx ret=%s",
		__entry->start_pfn, __entry->end_pfn, __entry->fin_pfn,
		__entry->end_pfn <= __entry->fin_pfn ? "success" : "fail")
);

#endif /* _TRACE_PAGE_ISOLATION_H */

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