Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175438
b: refs/heads/master
c: 716d69e
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Dec 10, 2009
1 parent 7052d0b commit 038aa95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b4825bf8da5c07e80496b749e9a50d675df4119
refs/heads/master: 716d69e4fda0563ef67d62ee44baa17b377b9b23
4 changes: 2 additions & 2 deletions trunk/tools/perf/util/data_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/data_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 038aa95

Please sign in to comment.