aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2013-01-25 14:14:23 +0000
committerIngo Molnar <[email protected]>2013-01-25 15:23:15 +0100
commitcff3c124a7e82ca0ea1d6864b27ef18c403c0773 (patch)
tree1edf50c211024b6ec2dc34dd592cbe2e4c9f5f81 /tools/perf/util/scripting-engines/trace-event-python.c
parent38dc3348e36d6cbe6ad51d771e4db948cda5b0e3 (diff)
sched/debug: Fix format string for 32-bit platforms
The type returned from atomic64_t can be either unsigned long or unsigned long long, depending on the architecture. Using a cast to unsigned long long lets us use the same format string for all architectures. Without this patch, building with scheduler debugging enabled results in: kernel/sched/debug.c: In function 'print_cfs_rq': kernel/sched/debug.c:225:2: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'long long int' [-Wformat] kernel/sched/debug.c:225:2: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long int' [-Wformat] Signed-off-by: Arnd Bergmann <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Turner <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions