From: Michael Hudson-Doyle Date: Thu, 31 Oct 2013 23:47:45 +0000 (-0700) Subject: perf tools: Remove cast of non-variadic function to variadic X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~16^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53805eca3d89b095062c11a6798689bb0af09216;p=pandora-kernel.git perf tools: Remove cast of non-variadic function to variadic The 4fb71074a570 (perf ui/hist: Consolidate hpp helpers) cset introduced a cast of percent_color_snprintf to a function pointer type with varargs. Change percent_color_snprintf to be variadic and remove the cast. The symptom of this was all percentages being reported as 0.00% in perf report --stdio output on the armhf arch. Signed-off-by: Michael Hudson-Doyle Acked-by: Namhyung Kim Acked-by: Will Deacon Cc: Jean Pihet Cc: Jiri Olsa Cc: Will Deacon Cc: stable@vger.kernel.org Link: http://lkml.kernel.org/r/87zjppvw7y.fsf@canonical.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed