]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tracing: Update trace-event-sample with TRACE_SYSTEM_VAR documentation
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 1 Apr 2015 18:57:27 +0000 (14:57 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 8 Apr 2015 13:39:55 +0000 (09:39 -0400)
commit889204278ccf98c5c097b1d1ae69babc6a3222fd
tree53778b4af3b5ca401c57bc707f9f5ba838c394e7
parentacd388fd3af350ab24c6ab6f19b83fc4a4f3aa60
tracing: Update trace-event-sample with TRACE_SYSTEM_VAR documentation

Add documentation about TRACE_SYSTEM needing to be alpha-numeric or with
underscores, and that if it is not, then the use of TRACE_SYSTEM_VAR is
required to make something that is.

An example of this is shown in samples/trace_events/trace-events-sample.h

Link: http://lkml.kernel.org/r/20150403013802.220157513@goodmis.org
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
samples/trace_events/trace-events-sample.h