]> sourceware.org Git - systemtap.git/commit
Remove manual pointer casts from map-gen and pmap-gen
authorJosh Stone <jistone@redhat.com>
Wed, 7 Nov 2012 21:46:37 +0000 (13:46 -0800)
committerJosh Stone <jistone@redhat.com>
Wed, 7 Nov 2012 23:49:10 +0000 (15:49 -0800)
commitf4b122ad83e037c09f8dd359dcbedb3d9577fa98
tree3fc9f56a4ebaeb09b11f6931ab5c1d537467ae91
parent2f29445de5deaa99bd319d0a7ac649ed6bfcac2f
Remove manual pointer casts from map-gen and pmap-gen

There were a lot of manual conversions from generic map_node* to the
KEYSYM variants (which had a duplicate of map_node at their heads).

Now there's a genuine map_node in each KEYSYM node, and we use the
trustworthy container_of and hlist_for_each_entry to go back and forth.
runtime/dyninst/linux_defs.h
runtime/map-gen.c
runtime/pmap-gen.c
This page took 0.025992 seconds and 5 git commands to generate.