1
linux/include/trace/events
Thomas Gleixner e9c0748b68 itimer: Fix the itimer trace print format
Compiling powerpc64 results in:

include/trace/events/timer.h:279: warning:
format '%lu' expects type 'long unsigned int', but argument 4 has type 'cputime_t'
....

cputime_t on power is u64, which triggers the above warning.

Cast the cputime_t to unsigned long long and fix the print format
string. That works on both 32 and 64 bit architectures.

While at it change the print format for long variables from %lu to %ld.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
2009-12-10 13:23:19 +01:00
..
bkl.h events: Harmonize event field names and print output names 2009-10-15 12:42:03 +02:00
block.h tracing: Convert some block events to DEFINE_EVENT 2009-11-26 09:14:04 +01:00
ext4.h tracing: Convert some ext4 events to DEFINE_TRACE 2009-11-26 09:14:05 +01:00
irq.h tracing: Convert softirq events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00
jbd2.h tracing: Convert some jbd2 events to DEFINE_EVENT 2009-11-26 09:14:04 +01:00
kmem.h tracing: Convert some kmem events to DEFINE_EVENT 2009-11-26 09:14:02 +01:00
kvm.h KVM: Add trace points in irqchip code 2009-09-10 08:33:11 +03:00
lock.h tracing: Rename 'lockdep' event subsystem into 'lock' 2009-11-13 10:48:27 +01:00
mce.h perf_event, x86, mce: Use TRACE_EVENT() for MCE logging 2009-10-13 09:43:38 +02:00
module.h tracing: Convert module refcnt events to DEFINE_EVENT 2009-11-26 09:14:02 +01:00
napi.h
power.h tracing: Convert some power events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00
sched.h tracepoint: Move signal sending tracepoint to events/signal.h 2009-11-26 10:55:37 +01:00
signal.h tracepoint: Add signal loss events 2009-11-26 10:55:38 +01:00
skb.h net: skb ftracer - add tracepoint to skb_copy_datagram_iovec (v3) 2009-08-13 16:26:14 -07:00
syscalls.h tracing: Separate raw syscall from syscall tracer 2009-11-25 14:20:06 -05:00
timer.h itimer: Fix the itimer trace print format 2009-12-10 13:23:19 +01:00
workqueue.h tracing: Convert some workqueue events to DEFINE_EVENT 2009-11-26 09:14:03 +01:00