#!/bin/sh # description: Kprobe dynamic event with arguments [ -f kprobe_events ] || exit_unsupported # this is configurable echo 0 > events/enable echo > kprobe_events echo 'p:testprobe _do_fork $stack $stack0 +0($stack)' > kprobe_events grep testprobe kprobe_events test -d events/kprobes/testprobe echo 1 > events/kprobes/testprobe/enable ( echo "forked") echo 0 > events/kprobes/testprobe/enable echo "-:testprobe" >> kprobe_events clear_trace test -d events/kprobes/testprobe && exit 1 || exit 0 it' 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='8ef9594764617e3fd4500205b080b53c45c14c4b'/><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&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/xen/tmem.h?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/xen/tmem.h?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/xen/tmem.h?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/xen/tmem.h?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/xen/tmem.h'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='8ef9594764617e3fd4500205b080b53c45c14c4b'/><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&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/xen?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>xen</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/xen/tmem.h?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b'>tmem.h</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/include/xen/tmem.h?h=nds-private-remove&id=8ef9594764617e3fd4500205b080b53c45c14c4b&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>