OSDN Git Service

perf tools: Use %zd for size_t printf formats on 32-bit
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Aug 2020 21:25:01 +0000 (22:25 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 1 Sep 2020 15:15:21 +0000 (12:15 -0300)
commit20befbb1080307e70c7893ef9840d32e3ef8ac45
tree2e74107ce97cf280d0fe540974b688c359bfcb60
parent57ed62892b9cb0d07b3d3913fa5997a234ff016e
perf tools: Use %zd for size_t printf formats on 32-bit

A couple of trivial fixes for using %zd for size_t in the code
supporting the ZSTD compression library.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexey Budankov <alexey.budankov@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20200820212501.24421-1-chris@chris-wilson.co.uk
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/session.c
tools/perf/util/zstd.c