From: Arnaldo Carvalho de Melo Date: Tue, 8 Oct 2013 20:17:43 +0000 (-0300) Subject: perf trace: Prepare the strarray scnprintf method for reuse X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~28^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=975b7c2f40d431da4fdb46dd8b9d90c129eecc12;p=pandora-kernel.git perf trace: Prepare the strarray scnprintf method for reuse Right now when an index passed to that method has no string associated it'll print the index as a decimal number, prepare it so that we can use it to print it in hex as well, for ioctls, for instance. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-nsvy06sqj64qvnkmzvwxsx2v@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed