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>
This commit is contained in:
Arnaldo Carvalho de Melo 2019-10-09 11:22:43 -03:00
parent 444e2ff34d
commit 8d6505bae3
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
#include <sys/types.h>
struct strarray {
int offset;
u64 offset;
int nr_entries;
const char *prefix;
const char **entries;