linux-stable/tools/lib/traceevent
Wolfgang Mauerer c5b35b7319 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 <wolfgang.mauerer@siemens.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1332411501-8059-3-git-send-email-wolfgang.mauerer@siemens.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2012-07-04 13:40:30 +09:00
..
event-parse.c tools lib traceevent: Fix trace_printk for long integers 2012-07-04 13:40:30 +09:00
event-parse.h tools lib traceevent: Add support for __print_hex() 2012-06-29 13:28:12 -03:00
event-utils.h events: Update tools/lib/traceevent to work with perf 2012-04-25 13:12:26 +02:00
Makefile tools lib traceevent: Make dependency files regeneratable 2012-06-29 13:28:12 -03:00
parse-filter.c tools lib traceevent: Let filtering numbers by string use function names 2012-07-04 13:40:30 +09:00
parse-utils.c
trace-seq.c events: Update tools/lib/traceevent to work with perf 2012-04-25 13:12:26 +02:00