%parse-param {struct list_head *format} %parse-param {char *name} %{ #include <linux/compiler.h> #include <linux/list.h> #include <linux/bitmap.h> #include <string.h> #include "pmu.h" extern int perf_pmu_lex (void); #define ABORT_ON(val) \ do { \ if (val) \ YYABORT; \ } while (0) %} %token PP_CONFIG PP_CONFIG1 PP_CONFIG2 %token PP_VALUE PP_ERROR %type <num> PP_VALUE %type <bits> bit_term %type <bits> bits %union { unsigned long num; DECLARE_BITMAP(bits, PERF_PMU_FORMAT_BITS); } %% format: format format_term | format_term format_term: PP_CONFIG ':' bits { ABORT_ON(perf_pmu__new_format(format, name, PERF_PMU_FORMAT_VALUE_CONFIG, $3)); } | PP_CONFIG1 ':' bits { ABORT_ON(perf_pmu__new_format(format, name, PERF_PMU_FORMAT_VALUE_CONFIG1, $3)); } | PP_CONFIG2 ':' bits { ABORT_ON(perf_pmu__new_format(format, name, PERF_PMU_FORMAT_VALUE_CONFIG2, $3)); } bits: bits ',' bit_term { bitmap_or($$, $1, $3, 64); } | bit_term { memcpy($$, $1, sizeof($1)); } bit_term: PP_VALUE '-' PP_VALUE { perf_pmu__set_format($$, $1, $3); } | PP_VALUE { perf_pmu__set_format($$, $1, 0); } %% void perf_pmu_error(struct list_head *list __maybe_unused, char *name __maybe_unused, char const *msg __maybe_unused) { } 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=424414947da3dd5cb0d60e4f299f7c51e472ae77'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/net/dst_cache.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/dst_cache.h'> <input type='hidden' name='id' value='424414947da3dd5cb0d60e4f299f7c51e472ae77'/><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/commit/?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/net?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>net</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>dst_cache.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='424414947da3dd5cb0d60e4f299f7c51e472ae77'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Greg Kroah-Hartman <gregkh@linuxfoundation.org></td><td class='right'>2017-02-03 22:19:15 +0100</td></tr> <tr><th>committer</th><td>Greg Kroah-Hartman <gregkh@linuxfoundation.org></td><td class='right'>2017-02-03 22:19:15 +0100</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>424414947da3dd5cb0d60e4f299f7c51e472ae77</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>a4067480c4256c80ae8f8438a3e4bb88e32050bc</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>include/net/dst_cache.h</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/net/dst_cache.h?id=a3683e0c1410c5c8136a7a93b0336ce88d3b893a'>a3683e0c1410c5c8136a7a93b0336ce88d3b893a</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77&id2=a3683e0c1410c5c8136a7a93b0336ce88d3b893a'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/net/dst_cache.h?id=d07830db1bdb254e4b50d366010b219286b8c937'>d07830db1bdb254e4b50d366010b219286b8c937</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/net/dst_cache.h?id=424414947da3dd5cb0d60e4f299f7c51e472ae77&id2=d07830db1bdb254e4b50d366010b219286b8c937'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge tag 'usb-serial-4.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus</div><div class='commit-msg'>Johan writes: USB-serial fixes for v4.10-rc7 One more device ID for pl2303. Signed-off-by: Johan Hovold <johan@kernel.org> </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=424414947da3dd5cb0d60e4f299f7c51e472ae77'>Diffstat</a> (limited to 'include/net/dst_cache.h')</div><table summary='diffstat' class='diffstat'>