Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304901
b: refs/heads/master
c: 23080e4
h: refs/heads/master
i:
  304899: 9a34f75
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 2, 2012
1 parent 30d7130 commit ba46987
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: f3054c778e367d624ca0dfe68b8498b5c463a9d1
refs/heads/master: 23080e4cd224013c06444e7850fe0bcb55c129ff
6 changes: 2 additions & 4 deletions trunk/tools/perf/builtin-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1549,8 +1549,6 @@ static int __test__rdpmc(void)
sa.sa_sigaction = segfault_handler;
sigaction(SIGSEGV, &sa, NULL);

fprintf(stderr, "\n\n");

fd = sys_perf_event_open(&attr, 0, -1, -1, 0);
if (fd < 0) {
die("Error: sys_perf_event_open() syscall returned "
Expand All @@ -1575,15 +1573,15 @@ static int __test__rdpmc(void)
loops *= 10;

delta = now - stamp;
fprintf(stderr, "%14d: %14Lu\n", n, (long long)delta);
pr_debug("%14d: %14Lu\n", n, (long long)delta);

delta_sum += delta;
}

munmap(addr, page_size);
close(fd);

fprintf(stderr, " ");
pr_debug(" ");

if (!delta_sum)
return -1;
Expand Down

0 comments on commit ba46987

Please sign in to comment.