aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorTejun Heo <[email protected]>2010-04-09 18:57:01 +0900
committerTejun Heo <[email protected]>2010-05-01 08:30:50 +0200
commit6081089fd6f216b0eb8849205ad0c350cd5ed9bc (patch)
treeda16d237ee2a48e5a739384893ed46b440fddde4 /tools/perf/util/trace-event-scripting.c
parent020ec6537aa65c18e9084c568d7b94727f2026fd (diff)
percpu: reorganize chunk creation and destruction
Reorganize alloc/free_pcpu_chunk() such that chunk struct alloc/free live in pcpu_alloc/free_chunk() and the rest in pcpu_create/destroy_chunk(). While at it, add missing error handling for chunk->map allocation failure. This is to allow alternate chunk management implementation for percpu nommu support. Signed-off-by: Tejun Heo <[email protected]> Reviewed-by: David Howells <[email protected]> Cc: Graff Yang <[email protected]> Cc: Sonic Zhang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions