From: Wolfgang Mauerer Date: Thu, 22 Mar 2012 10:18:21 +0000 (+0100) Subject: tools lib traceevent: Fix trace_printk for long integers X-Git-Tag: v3.6-rc1~167^2~7^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b35b731965d16fa8c966e288489857097e0b25;p=pandora-kernel.git tools lib traceevent: Fix trace_printk for long integers On 32 bit systems, a conversion of the trace_printk format string "%lu" -> "%llu" is intended (similar for %lx etc.) when a trace was taken on a machine with 64 bit long integers. However, the current code computes the bogus transformation "%lu" -> "%u". Fix this. Besides that, the transformation is only required on systems that don't use 64 bits for long integers natively. Signed-off-by: Wolfgang Mauerer Signed-off-by: Steven Rostedt Link: http://lkml.kernel.org/r/1332411501-8059-3-git-send-email-wolfgang.mauerer@siemens.com Signed-off-by: Namhyung Kim --- Reading git-diff-tree failed