]> git.baikalelectronics.ru Git - kernel.git/commit
perf evlist: Adopt the pollfd array
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Jan 2011 00:30:02 +0000 (22:30 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 22 Jan 2011 21:56:28 +0000 (19:56 -0200)
commit5304543b21e73dd209807bcfb52ecac5d11dd2fe
treeceb2f13de102215d151adf7aaab975bd0db6076b
parentb3ad98e920a9f883e1539f6ec85c9119c8abaf45
perf evlist: Adopt the pollfd array

Allocating just the space needed for nr_cpus * nr_threads * nr_evsels,
not the MAX_NR_CPUS and counters.

LKML-Reference: <new-submission>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Tom Zanussi <tzanussi@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/evlist.c
tools/perf/util/evlist.h