]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit65c43c9052b74cf2831d6c90cd616875a3f84dd1
tree2e74107ce97cf280d0fe540974b688c359bfcb60
parentae2939e99b1047fffd651b2c32e00bd38b80b7f2
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