summaryrefslogtreecommitdiffstats
path: root/runtime/alloc.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2009-12-02 15:16:10 -0600
committerDavid Smith <dsmith@redhat.com>2009-12-02 15:16:10 -0600
commit4a0ae64c47b159d4dd0ea471f1f8044503843a7f (patch)
treeec5733d43362d0302138e69130f95c3b677f0de7 /runtime/alloc.c
parentc10fce7d6aaa57a4f94f9d7aeea906597456f7ce (diff)
downloadsystemtap-steved-4a0ae64c47b159d4dd0ea471f1f8044503843a7f.tar.gz
systemtap-steved-4a0ae64c47b159d4dd0ea471f1f8044503843a7f.tar.xz
systemtap-steved-4a0ae64c47b159d4dd0ea471f1f8044503843a7f.zip
Fix PR 11034 by directly allocating per-cpu context data.
* translate.cxx (emit_common_header): Change type of 'contexts' to an array of struct context pointers. (emit_module_init): Allocate a context structure for each possible cpu. Free each if an error occurs. (emit_module_exit): Update contexts reference. Free each possible cpu's context structure. * tapsets.cxx (common_probe_entryfn_prologue): Use array instead of percpu data for context structure.
Diffstat (limited to 'runtime/alloc.c')
0 files changed, 0 insertions, 0 deletions