1
0
Files
linux/tools/perf/util
Arnaldo Carvalho de Melo 4eed11d5e2 perf evsel: Auto allocate resources needed for some methods
While writing the first user of the routines created from the ad-hoc
routines in the existing builtins I noticed that the resulting set of
calls was too long, reduce it by doing some best effort allocations.

Tools that need to operate on multiple threads and cpus should pre-allocate
enough resources by explicitely calling the perf_evsel__alloc_{fd,counters}
methods.

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>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2011-01-04 00:31:32 -02:00
..
2010-12-04 23:05:19 -02:00
2010-08-21 11:22:47 -03:00
2010-08-22 21:10:35 +02:00
2010-11-30 20:58:42 -02:00
2009-12-28 10:36:36 +01:00
2011-01-03 16:39:04 -02:00
2010-12-04 23:05:19 -02:00
2010-10-21 16:11:44 -02:00
2010-08-21 11:22:47 -03:00
2010-12-21 20:20:58 -02:00
2010-05-14 20:05:21 -03:00
2010-01-13 10:09:15 +01:00