From: Tom Huynh Date: Tue, 2 Dec 2014 17:37:22 +0000 (-0600) Subject: perf hists browser: Change print format from %lu to %PRIu64 X-Git-Tag: omap-for-v3.19/fixes-rc1~28^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e641f696ebe4514efac00d1f4a485a06c8e94eea;p=pandora-kernel.git perf hists browser: Change print format from %lu to %PRIu64 The nr_events variable in tools/perf/ui/browsers/hists.c is of type u64, so the print format (%lu) causes 'perf report' to show 0 event count when running with 32-bit userspace without redirection. This patch fixes that problem by printing nr_events as PRIu64. Signed-off-by: Tom Huynh Cc: Ingo Molnar Cc: Jiri Olsa Cc: Kim Phillips Cc: Matt Mullins Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1417541842-9747-1-git-send-email-tom.huynh@freescale.com Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed