forked from luck/tmp_suning_uos_patched
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:
parent
444e2ff34d
commit
8d6505bae3
|
@ -7,7 +7,7 @@
|
|||
#include <sys/types.h>
|
||||
|
||||
struct strarray {
|
||||
int offset;
|
||||
u64 offset;
|
||||
int nr_entries;
|
||||
const char *prefix;
|
||||
const char **entries;
|
||||
|
|
Loading…
Reference in New Issue
Block a user