diff options
author | hunt <hunt> | 2005-12-14 21:06:57 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-12-14 21:06:57 +0000 |
commit | c5a2dde1672adc9e326fda6533e9dd90f69dc2f1 (patch) | |
tree | 69db3e637edec2e4ffcc1aec241e4cd53be4e50b /testsuite/buildok/pmap_foreach.stp | |
parent | 51566dc440ab46954f4bfc96048ca1576867297d (diff) | |
download | systemtap-steved-c5a2dde1672adc9e326fda6533e9dd90f69dc2f1.tar.gz systemtap-steved-c5a2dde1672adc9e326fda6533e9dd90f69dc2f1.tar.xz systemtap-steved-c5a2dde1672adc9e326fda6533e9dd90f69dc2f1.zip |
2005-12-14 Martin Hunt <hunt@redhat.com>
* pmap-gen.c (_stp_pmap_new_*): Initialize lock.
(_stp_pmap_set_*): Lock map while in use.
(_stp_pmap_add_*): Lock map while in use.
(_stp_pmap_get_cpu): Ditto.
(_stp_pmap_get): Lock each per-cpu map.
* map-gen.c: Define and use NULLRET for a NULL return value.
* map.c (_stp_pmap_clear): New function.
(_stp_pmap_agg): Lock each per-cpu map as
it gets aggregated.
Diffstat (limited to 'testsuite/buildok/pmap_foreach.stp')
0 files changed, 0 insertions, 0 deletions