diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-08-18 20:12:57 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-08-18 20:15:19 -0400 |
commit | 2531fc1e953b32d7d327da8a9b39ba540789f795 (patch) | |
tree | 687c3ca8a5813f25713f49a3c3a3796d516faf76 /elaborate.h | |
parent | eb3072d5cc7df78de48a9b0e62c7355082ca1dac (diff) | |
download | systemtap-steved-2531fc1e953b32d7d327da8a9b39ba540789f795.tar.gz systemtap-steved-2531fc1e953b32d7d327da8a9b39ba540789f795.tar.xz systemtap-steved-2531fc1e953b32d7d327da8a9b39ba540789f795.zip |
PR10495: allow multiple probe aliases with same name
* elaborate.cxx (match_node::bind): Change ->end to ->ends[] vector.
(find_and_build,build_no_more): Iterate over ends[].
* elaborate.h: Corresponding changes.
* testsuite/semok/thirtyfour.stp: New test.
* NEWS, doc/langref.tex: Note this.
Diffstat (limited to 'elaborate.h')
-rw-r--r-- | elaborate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elaborate.h b/elaborate.h index 36439c4f..cd60b8bb 100644 --- a/elaborate.h +++ b/elaborate.h @@ -235,7 +235,7 @@ match_node typedef std::map<match_key, match_node*> sub_map_t; typedef std::map<match_key, match_node*>::iterator sub_map_iterator_t; sub_map_t sub; - derived_probe_builder* end; + std::vector<derived_probe_builder*> ends; bool unprivileged_ok; public: |