]> git.baikalelectronics.ru Git - kernel.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)
commit8d4b4c54f7fdeef235476d5639ce5bc0ccec44ab
tree53778b4af3b5ca401c57bc707f9f5ba838c394e7
parentf0912455150fd9fdd8a7d1bad4968a594fc074f1
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