From: Steven Rostedt (Red Hat) Date: Wed, 4 Jun 2014 18:29:33 +0000 (-0400) Subject: tracing: Add __get_dynamic_array_len() macro for trace events X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beba4bb096201ceec0e8cfb7ce3172a53015bdaf;p=pandora-kernel.git 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 --- Reading git-diff-tree failed