Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 182367
b: refs/heads/master
c: 1b75962
h: refs/heads/master
i:
  182365: 075e703
  182363: 9eedd84
  182359: 2beba1e
  182351: 41703c8
  182335: bcff305
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 16, 2010
1 parent 5186298 commit ea8b6cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: ba21594cddee0a3af582971656702b1c4509d8f5
refs/heads/master: 1b75962e92d48a41019d4b440e221638aa2a7238
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ int perf_session__process_events(struct perf_session *self,

perf_event_ops__fill_defaults(ops);

page_size = getpagesize();
page_size = sysconf(_SC_PAGESIZE);

head = self->header.data_offset;

Expand Down
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/trace-event-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ int read_tracing_data(int fd, struct perf_event_attr *pattrs, int nb_events)
write_or_die(buf, 1);

/* save page_size */
page_size = getpagesize();
page_size = sysconf(_SC_PAGESIZE);
write_or_die(&page_size, 4);

read_header_files();
Expand Down

0 comments on commit ea8b6cb

Please sign in to comment.