Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147493
b: refs/heads/master
c: c2990a2
h: refs/heads/master
i:
  147491: a7e2451
v: v3
  • Loading branch information
Mike Galbraith authored and Ingo Molnar committed May 24, 2009
1 parent 56ea3b4 commit 5027715
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 475c55797323b67435083f6e2eb8ee670f6410ec
refs/heads/master: c2990a2a582d73562d4dcf2502c39892a19a691d
5 changes: 3 additions & 2 deletions trunk/Documentation/perf_counter/builtin-top.c
Original file line number Diff line number Diff line change
Expand Up @@ -1035,10 +1035,11 @@ static void mmap_read(struct mmap_data *md)
md->prev = old;
}

static struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS];
static struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS];

int cmd_top(int argc, char **argv, const char *prefix)
{
struct pollfd event_array[MAX_NR_CPUS * MAX_COUNTERS];
struct mmap_data mmap_array[MAX_NR_CPUS][MAX_COUNTERS];
struct perf_counter_hw_event hw_event;
pthread_t thread;
int i, counter, group_fd, nr_poll = 0;
Expand Down

0 comments on commit 5027715

Please sign in to comment.