summaryrefslogtreecommitdiff
path: root/include/trace/perf.h
diff options
context:
space:
mode:
authorYafang Shao <laoar.shao@gmail.com>2019-03-26 15:13:09 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-04-08 16:22:51 +0300
commit163363455b42a1cf833742177149d1352dfe673e (patch)
tree456d1d7fcd0b6e960f192ee1f25d193de68db280 /include/trace/perf.h
parenta8d655792a32312f6715ac789b860fee50168106 (diff)
downloadlinux-163363455b42a1cf833742177149d1352dfe673e.tar.xz
tracing: introduce TRACE_EVENT_NOP()
Sometimes we want to define a tracepoint as a do-nothing function. So I introduce TRACE_EVENT_NOP, DECLARE_EVENT_CLASS_NOP and DEFINE_EVENT_NOP for this kind of usage. Link: http://lkml.kernel.org/r/1553602391-11926-2-git-send-email-laoar.shao@gmail.com Signed-off-by: Yafang Shao <laoar.shao@gmail.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/perf.h')
0 files changed, 0 insertions, 0 deletions