Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228956
b: refs/heads/master
c: 3d03e2e
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Jan 11, 2011
1 parent 56fe3d8 commit 011767e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 0252208eb52f6fe8731a47804eddc7ba93f60a87
refs/heads/master: 3d03e2ea74103a50c23d6ab1906cf73399c0dafb
2 changes: 1 addition & 1 deletion trunk/tools/perf/util/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ int __perf_session__process_events(struct perf_session *session,
if (size == 0)
size = 8;

if (head + event->header.size >= mmap_size) {
if (head + event->header.size > mmap_size) {
if (mmaps[map_idx]) {
munmap(mmaps[map_idx], mmap_size);
mmaps[map_idx] = NULL;
Expand Down

0 comments on commit 011767e

Please sign in to comment.