diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-04 00:13:17 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-01-04 00:31:32 -0200 |
commit | 4eed11d5e24540dc133003b6e8f904cb747ac4bb (patch) | |
tree | d399f73e520d93ad0912a1c2a24d62e577d47798 /tools/usb | |
parent | 86bd5e8603b00b06189328c6d7034d2dc434d6bb (diff) | |
download | op-kernel-dev-4eed11d5e24540dc133003b6e8f904cb747ac4bb.zip op-kernel-dev-4eed11d5e24540dc133003b6e8f904cb747ac4bb.tar.gz |
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>
Diffstat (limited to 'tools/usb')
0 files changed, 0 insertions, 0 deletions