diff --git a/[refs] b/[refs] index 6589fc4780ab..32d1b2ab3c82 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8b4825bf8da5c07e80496b749e9a50d675df4119 +refs/heads/master: 716d69e4fda0563ef67d62ee44baa17b377b9b23 diff --git a/trunk/tools/perf/util/data_map.c b/trunk/tools/perf/util/data_map.c index ca0bedf637c2..59b65d0bd7c1 100644 --- a/trunk/tools/perf/util/data_map.c +++ b/trunk/tools/perf/util/data_map.c @@ -100,11 +100,11 @@ process_event(event_t *event, unsigned long offset, unsigned long head) } } -int perf_header__read_build_ids(int input, off_t offset, off_t size) +int perf_header__read_build_ids(int input, u64 offset, u64 size) { struct build_id_event bev; char filename[PATH_MAX]; - off_t limit = offset + size; + u64 limit = offset + size; int err = -1; while (offset < limit) { diff --git a/trunk/tools/perf/util/data_map.h b/trunk/tools/perf/util/data_map.h index 3180ff7e3633..258a87bcc4fb 100644 --- a/trunk/tools/perf/util/data_map.h +++ b/trunk/tools/perf/util/data_map.h @@ -27,6 +27,6 @@ int mmap_dispatch_perf_file(struct perf_header **pheader, int full_paths, int *cwdlen, char **cwd); -int perf_header__read_build_ids(int input, off_t offset, off_t file_size); +int perf_header__read_build_ids(int input, u64 offset, u64 file_size); #endif