Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167079
b: refs/heads/master
c: d4c3768
h: refs/heads/master
i:
  167077: b26c871
  167075: dc39c79
  167071: 2f0e103
v: v3
  • Loading branch information
Tom Zanussi authored and Ingo Molnar committed Oct 6, 2009
1 parent df99767 commit 3762385
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 933da83aa17939a78d59708321c0b27d0ec8c6ce
refs/heads/master: d4c3768faaae70cdcffc3a5e296bd99edfa7ddb2
6 changes: 0 additions & 6 deletions trunk/tools/perf/builtin-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ static int __cmd_trace(void)
more:
event = (event_t *)(buf + head);

size = event->header.size;
if (!size)
size = 8;

if (head + event->header.size >= page_size * mmap_window) {
unsigned long shift = page_size * (head / page_size);
int res;
Expand All @@ -237,7 +233,6 @@ static int __cmd_trace(void)

size = event->header.size;


if (!size || process_event(event, offset, head) < 0) {

/*
Expand Down Expand Up @@ -290,7 +285,6 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used)
usage_with_options(annotate_usage, options);
}


setup_pager();

return __cmd_trace();
Expand Down

0 comments on commit 3762385

Please sign in to comment.