diff options
author | Stan Cox <scox@redhat.com> | 2009-04-01 15:48:24 -0400 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2009-04-01 15:48:24 -0400 |
commit | 952ce18c9672046c052fc77d5da8f98e8ae75735 (patch) | |
tree | 2b817cebd7db30900b90251acab8ad5cd3979c73 /tapsets.cxx | |
parent | f34b7eea333adc0bc9dc8e51445c2bbc39e9bc82 (diff) | |
download | systemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.tar.gz systemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.tar.xz systemtap-steved-952ce18c9672046c052fc77d5da8f98e8ae75735.zip |
Use alloca trick to keep argN active on GCC 4.1.
* includes/sys/sdt.h (STAP_UNINLINE): New.
(STAP_UNINLINE_LABEL): New.
static_uprobes.exp: Match using charset instead of .*
Diffstat (limited to 'tapsets.cxx')
-rw-r--r-- | tapsets.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tapsets.cxx b/tapsets.cxx index 50ee563a..449d7cc0 100644 --- a/tapsets.cxx +++ b/tapsets.cxx @@ -5812,7 +5812,8 @@ dwarf_builder::build(systemtap_session & sess, && dw->function_name_matches_pattern (probe_name.c_str(), location->components[1]->arg->tok->content.c_str()))) - ; + { + } else continue; const token* sv_tok = location->components[1]->arg->tok; @@ -5833,7 +5834,7 @@ dwarf_builder::build(systemtap_session & sess, return; } - if (probe_type == dwarf_no_probes) + else if (probe_type == dwarf_no_probes) { location->components[1]->functor = TOK_FUNCTION; location->components[1]->arg = new literal_string("*"); |