]> sourceware.org Git - systemtap.git/commit
stapdyn: Define offset pointers and list implementations
authorJosh Stone <jistone@redhat.com>
Wed, 7 Nov 2012 21:57:56 +0000 (13:57 -0800)
committerJosh Stone <jistone@redhat.com>
Wed, 21 Nov 2012 18:40:39 +0000 (10:40 -0800)
commita6028b8b81c2752ee1189da33638d6acb51af3bc
treedb89886b8677068258d1b3471aa50595ce3f8b5d
parentceb4f116f0d8174d52c3085ae7e3a1cb28094dcd
stapdyn: Define offset pointers and list implementations

Offset pointers are an abstraction of pointers into relative offsets,
here chosen as relative to the offptr_t object itself.  This allows
objects to reference each other within a memory block that may not be at
a fixed virtual address, such as with shared memory or reallocs.

The olist and ohlist types are based on the Linux list and hlist types,
but purely using offset pointers.
runtime/dyninst/offptr.h [new file with mode: 0644]
runtime/dyninst/offset_list.h [new file with mode: 0644]
runtime/dyninst/runtime.h
This page took 0.027512 seconds and 5 git commands to generate.