summaryrefslogtreecommitdiff
path: root/community/linux-tools/linux-perf-32bit.patch
blob: 7150fe4a82ac69163e6b3ae52d6d5a97876295f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -rauN linux/tools/perf/util/session.c linux-perf-32bit-patch/tools/perf/util/session.c
--- linux/tools/perf/util/session.c	2019-10-19 09:21:45.460958163 +0200
+++ linux-perf-32bit-patch/tools/perf/util/session.c	2019-10-19 09:24:36.045600477 +0200
@@ -82,7 +82,7 @@
 		session->decomp_last = decomp;
 	}
 
-	pr_debug("decomp (B): %ld to %ld\n", src_size, decomp_size);
+	pr_debug("decomp (B): %zu to %zu\n", src_size, decomp_size);
 
 	return 0;
 }
diff -rauN linux/tools/perf/util/zstd.c linux-perf-32bit-patch/tools/perf/util/zstd.c
--- linux/tools/perf/util/zstd.c	2019-10-19 09:20:56.380528776 +0200
+++ linux-perf-32bit-patch/tools/perf/util/zstd.c	2019-10-19 09:25:09.285827427 +0200
@@ -99,7 +99,7 @@
 	while (input.pos < input.size) {
 		ret = ZSTD_decompressStream(data->dstream, &output, &input);
 		if (ZSTD_isError(ret)) {
-			pr_err("failed to decompress (B): %ld -> %ld, dst_size %ld : %s\n",
+			pr_err("failed to decompress (B): %zu -> %zu, dst_size %zu : %s\n",
 			       src_size, output.size, dst_size, ZSTD_getErrorName(ret));
 			break;
 		}