The following commit has been merged into the perf/core branch of tip:

Commit-ID:     8d6505bae391e640aaefd182907e7c1d673af17e
Gitweb:        
https://git.kernel.org/tip/8d6505bae391e640aaefd182907e7c1d673af17e
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Wed, 09 Oct 2019 11:22:43 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Wed, 09 Oct 2019 11:23:52 -03:00

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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Luis Cláudio Gonçalves <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
---
 tools/perf/trace/beauty/beauty.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/trace/beauty/beauty.h b/tools/perf/trace/beauty/beauty.h
index 4cc4f6b..5ad7542 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;

Reply via email to