]> sourceware.org Git - systemtap.git/commit
PR11671 Allocate __stp_tf_vma_entry dynamically.
authorMark Wielaard <mjw@redhat.com>
Fri, 9 Dec 2011 09:46:20 +0000 (10:46 +0100)
committerMark Wielaard <mjw@redhat.com>
Fri, 9 Dec 2011 09:55:29 +0000 (10:55 +0100)
commitc2537ee6d68b2358e8f74cc5413772915e5742d6
treebe819c6afaa0f90f78843432d157c9fd45b32199
parent14fc90015140d25d31705d8a2f4c48bea33e7f79
PR11671 Allocate __stp_tf_vma_entry dynamically.

Get rid of TASK_FINDER_VMA_ENTRY_ITEMS and __stp_tf_vma_free_list_items
array list completely. All __stp_tf_vma_entry are allocated dynamically
now. This is possible since stap_add_vma_map_info() is only called
through the task_finder from a user context.

There is no more fixed maximum number of VMA pages that will be tracked
at runtime. This reduces memory use for those scripts that don't need any,
or only limited target process VMA tracking and allows easier system
wide probes inspecting shared library variables and/or user backtraces.
stap will now silently ignore -DTASK_FINDER_VMA_ENTRY_ITEMS.
NEWS
runtime/task_finder_vma.c
runtime/vma.c
stap.1
This page took 0.025243 seconds and 5 git commands to generate.