aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorTom Huynh <[email protected]>2014-12-02 11:37:22 -0600
committerArnaldo Carvalho de Melo <[email protected]>2014-12-09 09:14:32 -0300
commite641f696ebe4514efac00d1f4a485a06c8e94eea (patch)
tree07c293a2a98135a2233d18988bce503fb9ed0d06 /lib/test-string_helpers.c
parent1182f883113483cefbc3be0178a2df2dc9ae8b77 (diff)
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Matt Mullins <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions