#include <stdio.h>
#include <linux/bpf.h>
#include <unistd.h>
#include "libbpf.h"
#include "bpf_load.h"

int main(int ac, char **argv)
{
	FILE *f;
	char filename[256];

	snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);

	if (load_bpf_file(filename)) {
		printf("%s", bpf_log_buf);
		return 1;
	}

	f = popen("taskset 1 ping -c5 localhost", "r");
	(void) f;

	read_trace_pipe();

	return 0;
}
='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
<link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/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='5c228d63f963bd7e20b6a9b06e93272093e98628'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master'>master</option>
<option value='nds-private-remove' selected='selected'>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/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/perf/Documentation/perf-trace.txt?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/perf/Documentation/perf-trace.txt?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/perf/Documentation/perf-trace.txt?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/perf/Documentation/perf-trace.txt?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/perf/Documentation/perf-trace.txt'>
<input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='5c228d63f963bd7e20b6a9b06e93272093e98628'/><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=5c228d63f963bd7e20b6a9b06e93272093e98628'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>perf</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/Documentation?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>Documentation</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/perf/Documentation/perf-trace.txt?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628'>perf-trace.txt</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/perf/Documentation/perf-trace.txt?h=nds-private-remove&amp;id=5c228d63f963bd7e20b6a9b06e93272093e98628&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>