]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf beauty: Make strarray's offset be u64
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2019 14:22:43 +0000 (11:22 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Oct 2019 14:23:52 +0000 (11:23 -0300)
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>
tools/perf/trace/beauty/beauty.h

index 4cc4f6b3d4a13753427d3691c18ccf09a9fdcaf0..5ad7542b428b27de8b6aaa8cb105f99c492d40b7 100644 (file)
@@ -7,7 +7,7 @@
 #include <sys/types.h>
 
 struct strarray {
-       int         offset;
+       u64         offset;
        int         nr_entries;
        const char *prefix;
        const char **entries;