summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorHe Kuang <hekuang@huawei.com>2015-06-11 12:44:24 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-06-11 11:14:21 -0300
commit6ba29c2fa5adcc33b201faec99057b6a72bd5029 (patch)
tree64db3a4b3de36acc1469bf507d3eb7eb78664c95 /tools/perf/builtin-trace.c
parentcb5ef60067c11cc8887122f6f168c21941c5d624 (diff)
downloadlinux-6ba29c2fa5adcc33b201faec99057b6a72bd5029.tar.gz
perf tools: Fix build failure on 32-bit arch
Failed in 32bit arch build like this: CC /opt/h00206996/output/perf/arm32/builtin-record.o util/session.c: In function ‘perf_session__warn_about_errors’: util/session.c:1304:9: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Werror=format=] builtin-report.c: In function ‘perf_evlist__tty_browse_hists’: builtin-report.c:323:2: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘u64’ [-Werror=format=] Replace %lu format strings in warning message with PRIu64 for u64 'total_lost_samples' to fix this problem. Signed-off-by: He Kuang <hekuang@huawei.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@intel.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/r/1434026664-71642-1-git-send-email-hekuang@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
0 files changed, 0 insertions, 0 deletions