From: Arnaldo Carvalho de Melo Date: Wed, 9 Oct 2019 14:22:43 +0000 (-0300) Subject: perf beauty: Make strarray's offset be u64 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8d6505bae391e640aaefd182907e7c1d673af17e;p=linux.git perf beauty: Make strarray's offset be u64 We need it for things like MSRs that are sparse and go over MAXINT. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Luis Cláudio Gonçalves Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-g8t2d0jr0mg3yimg2qrjkvlt@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/trace/beauty/beauty.h b/tools/perf/trace/beauty/beauty.h index 4cc4f6b3d4a13..5ad7542b428b2 100644 --- a/tools/perf/trace/beauty/beauty.h +++ b/tools/perf/trace/beauty/beauty.h @@ -7,7 +7,7 @@ #include struct strarray { - int offset; + u64 offset; int nr_entries; const char *prefix; const char **entries;