aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2011-01-04 00:13:17 -0200
committerArnaldo Carvalho de Melo <[email protected]>2011-01-04 00:31:32 -0200
commit4eed11d5e24540dc133003b6e8f904cb747ac4bb (patch)
treed399f73e520d93ad0912a1c2a24d62e577d47798 /lib/string_helpers.c
parent86bd5e8603b00b06189328c6d7034d2dc434d6bb (diff)
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Tom Zanussi <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions