summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_stat.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-04 14:29:33 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-06-04 14:29:33 -0400
commitbeba4bb096201ceec0e8cfb7ce3172a53015bdaf (patch)
tree4306fed6cf744e861cebcf2040210b910a64a52c /kernel/trace/trace_stat.h
parent195d28020147843dcf809730b2e9d876722371e6 (diff)
tracing: Add __get_dynamic_array_len() macro for trace events
If a trace event uses a dynamic array for something other than a string then there's currently no way the TP_printk() can figure out what size it is. A __get_dynamic_array_len() is required to know the length. This also simplifies the __get_bitmask() macro which required it as well, but instead just hardcoded it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace_stat.h')
0 files changed, 0 insertions, 0 deletions