]> sourceware.org Git - systemtap.git/commit
(PR14571 partial fix) Correctly handle maps with limited entries.
authorDavid Smith <dsmith@redhat.com>
Tue, 2 Oct 2012 14:56:42 +0000 (09:56 -0500)
committerDavid Smith <dsmith@redhat.com>
Tue, 2 Oct 2012 14:56:42 +0000 (09:56 -0500)
commitdb0a4028a9f3eb0c3dc23118ac7bfd85c68106a4
tree3ae373301d67fb027d5378f2b71b6881cd058c15
parentea15e536789fd3c06efc88e3e068b69732376be7
(PR14571 partial fix) Correctly handle maps with limited entries.

* translate.cxx (mapvar::init): Remove hardcoded 'wrap' initialization and
  let _stp_map_new() initialize 'wrap'.
* runtime/map.c (_stp_map_init): Set new 'wrap' parameter in map itself.
  (_stp_map_new): Pass new 'wrap' parameter down to _stp_map_init().
  (_stp_map_tls_object_init): Pass cached 'wrap' field to _stp_map_init().
  (_stp_pmap_new): Pass new 'wrap' parameter down to _stp_map_init().
* runtime/map.h: Update function prototypes with new 'wrap' parameter.
* runtime/map-gen.c (KEYSYM(_stp_map_new)): Pass new 'wrap' parameter down
  to the correct _stp_map_new* function.
* runtime/pmap-gen.c (KEYSYM(_stp_pmap_new)): Pass new 'wrap' parameter
  down to the correct _stp_pmap_new* function
* runtime/map-stat.c (_stp_map_new_hstat_log): Pass new 'wrap' parameter
  down to _stp_map_new().
  (_stp_map_new_hstat_linear): Ditto.
  (_stp_pmap_new_hstat_linear): Ditto.
  (_stp_pmap_new_hstat_log): Ditto.
runtime/map-gen.c
runtime/map-stat.c
runtime/map.c
runtime/map.h
runtime/pmap-gen.c
translate.cxx
This page took 0.024882 seconds and 5 git commands to generate.