diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2020-01-21 01:32:48 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2020-01-21 01:32:48 -0500 |
commit | 07a4828c41a95f4200417a4e6c8e95ad4f2ec354 (patch) | |
tree | b7134e6ed686ef15eb5119ce230b187ec25825ca /libre/linux-libre-tools/perf-fix-types.patch | |
parent | e4188885032cc029d56339805738a64460a01657 (diff) | |
download | abslibre-07a4828c41a95f4200417a4e6c8e95ad4f2ec354.tar.gz abslibre-07a4828c41a95f4200417a4e6c8e95ad4f2ec354.tar.bz2 abslibre-07a4828c41a95f4200417a4e6c8e95ad4f2ec354.zip |
linux-libre-tools-5.4.1_gnu-1: updating version
Diffstat (limited to 'libre/linux-libre-tools/perf-fix-types.patch')
-rw-r--r-- | libre/linux-libre-tools/perf-fix-types.patch | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/libre/linux-libre-tools/perf-fix-types.patch b/libre/linux-libre-tools/perf-fix-types.patch index f00e70a7e..0b81586b0 100644 --- a/libre/linux-libre-tools/perf-fix-types.patch +++ b/libre/linux-libre-tools/perf-fix-types.patch @@ -1,6 +1,19 @@ ---- linux-5.2.1.orig/tools/perf/util/session.c 2019-07-14 01:01:15.000000000 -0500 -+++ linux-5.2.1/tools/perf/util/session.c 2019-08-13 18:15:10.427948151 -0500 -@@ -76,7 +76,7 @@ +--- linux-5.4.1/tools/perf/builtin-diff.c.orig 2019-11-29 04:10:32.000000000 -0500 ++++ linux-5.4.1/tools/perf/builtin-diff.c 2020-01-19 15:54:20.558514973 -0500 +@@ -575,8 +575,8 @@ + if (!pairs_left && !pairs_right) + return 0; + +- l = labs(left->diff.cycles); +- r = labs(right->diff.cycles); ++ l = llabs(left->diff.cycles); ++ r = llabs(right->diff.cycles); + return r - l; + } + +--- linux-5.4.1/tools/perf/util/session.c.orig 2019-11-29 04:10:32.000000000 -0500 ++++ linux-5.4.1/tools/perf/util/session.c 2020-01-19 16:13:39.628532016 -0500 +@@ -88,7 +88,7 @@ session->decomp_last = decomp; } @@ -9,14 +22,14 @@ return 0; } ---- linux-5.2.1.orig/tools/perf/util/zstd.c 2019-07-14 01:01:15.000000000 -0500 -+++ linux-5.2.1/tools/perf/util/zstd.c 2019-08-13 18:32:14.237937462 -0500 +--- linux-5.4.1/tools/perf/util/zstd.c.orig 2019-11-29 04:10:32.000000000 -0500 ++++ linux-5.4.1/tools/perf/util/zstd.c 2020-01-19 16:45:37.908560221 -0500 @@ -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 : %s\n", -+ pr_err("failed to decompress (B): %zd -> %zd : %s\n", - src_size, output.size, ZSTD_getErrorName(ret)); +- pr_err("failed to decompress (B): %ld -> %ld, dst_size %ld : %s\n", ++ pr_err("failed to decompress (B): %zd -> %zd, dst_size %zd : %s\n", + src_size, output.size, dst_size, ZSTD_getErrorName(ret)); break; } |