diff options
author | Tom Huynh | 2014-12-02 18:37:22 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo | 2014-12-09 13:14:32 +0100 |
commit | e641f696ebe4514efac00d1f4a485a06c8e94eea (patch) | |
tree | 07c293a2a98135a2233d18988bce503fb9ed0d06 /tools/perf/util | |
parent | perf bench: Fix memcpy/memset output (diff) | |
download | kernel-qcow2-linux-e641f696ebe4514efac00d1f4a485a06c8e94eea.tar.gz kernel-qcow2-linux-e641f696ebe4514efac00d1f4a485a06c8e94eea.tar.xz kernel-qcow2-linux-e641f696ebe4514efac00d1f4a485a06c8e94eea.zip |
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 <tom.huynh@freescale.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kim Phillips <kim.phillips@freescale.com>
Cc: Matt Mullins <mmullins@mmlx.us>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1417541842-9747-1-git-send-email-tom.huynh@freescale.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions