diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-09 16:22:43 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-10-09 16:23:52 +0200 |
commit | 8d6505bae391e640aaefd182907e7c1d673af17e (patch) | |
tree | 9556a2c5e4af80004d09b3da52ce0e0e76af67be | |
parent | tools arch x86: Grab a copy of the file containing the MSR numbers (diff) | |
download | linux-8d6505bae391e640aaefd182907e7c1d673af17e.tar.xz linux-8d6505bae391e640aaefd182907e7c1d673af17e.zip |
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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-g8t2d0jr0mg3yimg2qrjkvlt@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/trace/beauty/beauty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/trace/beauty/beauty.h b/tools/perf/trace/beauty/beauty.h index 4cc4f6b3d4a1..5ad7542b428b 100644 --- a/tools/perf/trace/beauty/beauty.h +++ b/tools/perf/trace/beauty/beauty.h @@ -7,7 +7,7 @@ #include <sys/types.h> struct strarray { - int offset; + u64 offset; int nr_entries; const char *prefix; const char **entries; |