tracing: Add TRACE_SYSTEM_VAR to xhci-hcd
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 1 Apr 2015 18:22:01 +0000 (14:22 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 7 Apr 2015 16:31:55 +0000 (12:31 -0400)
commit7267b23859ba4188873e3d1c90c9b29031cc9356
treeee2b2fab994a3c9f5592707ea14f3879a8c7d66c
parentbd41202214f8e89db3a64f8031d29d081f268190
tracing: Add TRACE_SYSTEM_VAR to xhci-hcd

New code will require TRACE_SYSTEM to be a valid C variable name,
but some tracepoints have TRACE_SYSTEM with '-' and not '_', so
it can not be used. Instead, add a TRACE_SYSTEM_VAR that can
give the tracing infrastructure a unique name for the trace system.

Cc: Xenia Ragiadakou <burzalodowa@gmail.com>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
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>
drivers/usb/host/xhci-trace.h