#undef TRACE_SYSTEM #define TRACE_SYSTEM benchmark #if !defined(_TRACE_BENCHMARK_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_BENCHMARK_H #include <linux/tracepoint.h> extern int trace_benchmark_reg(void); extern void trace_benchmark_unreg(void); #define BENCHMARK_EVENT_STRLEN 128 TRACE_EVENT_FN(benchmark_event, TP_PROTO(const char *str), TP_ARGS(str), TP_STRUCT__entry( __array( char, str, BENCHMARK_EVENT_STRLEN ) ), TP_fast_assign( memcpy(__entry->str, str, BENCHMARK_EVENT_STRLEN); ), TP_printk("%s", __entry->str), trace_benchmark_reg, trace_benchmark_unreg ); #endif /* _TRACE_BENCHMARK_H */ #undef TRACE_INCLUDE_FILE #undef TRACE_INCLUDE_PATH #define TRACE_INCLUDE_PATH . #define TRACE_INCLUDE_FILE trace_benchmark /* This part must be outside protection */ #include <trace/define_trace.h> it</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='79134d11d030b886106bf45a5638c1ccb1f0856c'/><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=79134d11d030b886106bf45a5638c1ccb1f0856c'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/filesystems/dnotify_test.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/tools/testing/selftests/filesystems/dnotify_test.c?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/tools/testing/selftests/filesystems/dnotify_test.c?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/tools/testing/selftests/filesystems/dnotify_test.c?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/filesystems/dnotify_test.c'> <input type='hidden' name='id' value='79134d11d030b886106bf45a5638c1ccb1f0856c'/><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=79134d11d030b886106bf45a5638c1ccb1f0856c'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>tools</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>testing</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>selftests</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/filesystems?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>filesystems</a>/<a href='/cgit.cgi/linux/net-next.git/log/tools/testing/selftests/filesystems/dnotify_test.c?id=79134d11d030b886106bf45a5638c1ccb1f0856c'>dnotify_test.c</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/filesystems/dnotify_test.c?id=79134d11d030b886106bf45a5638c1ccb1f0856c&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>