/* Copyright (c) 2016 Facebook
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 */
#include <uapi/linux/bpf.h>
#include "bpf_helpers.h"

/* from /sys/kernel/debug/tracing/events/task/task_rename/format */
struct task_rename {
	__u64 pad;
	__u32 pid;
	char oldcomm[16];
	char newcomm[16];
	__u16 oom_score_adj;
};
SEC("tracepoint/task/task_rename")
int prog(struct task_rename *ctx)
{
	return 0;
}

/* from /sys/kernel/debug/tracing/events/random/urandom_read/format */
struct urandom_read {
	__u64 pad;
	int got_bits;
	int pool_left;
	int input_left;
};
SEC("tracepoint/random/urandom_read")
int prog2(struct urandom_read *ctx)
{
	return 0;
}
char _license[] SEC("license") = "GPL";
hod='get'>
<input type='hidden' name='id' value='7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'/><input type='hidden' name='showmsg' value='1'/><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=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/arm/Makefile?showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/arm/Makefile?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/arm/Makefile?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/arm/Makefile?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/arm/Makefile'>
<input type='hidden' name='id' value='7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'/><input type='hidden' name='showmsg' value='1'/><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=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d&amp;showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d&amp;showmsg=1'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/arm?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d&amp;showmsg=1'>arm</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/arm/Makefile?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d&amp;showmsg=1'>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/sound/arm/Makefile?id=7a92cc6bcbc90bf72e57eff2dc29900a636c2d0d'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>