diff options
author | Dave Brolley <brolley@redhat.com> | 2009-11-10 14:26:34 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-11-10 14:26:34 -0500 |
commit | b513cd75dac185ac258dc8260a01891c30be6251 (patch) | |
tree | b8e44de21178425a34e3b0d2f749b730f20d9610 /tapset-utrace.cxx | |
parent | fd212bd5d99abc3518cf523eb7af2fea5ae206ba (diff) | |
parent | f94baaeed17aba11aa46e9b46f0564217fc9978c (diff) | |
download | systemtap-steved-b513cd75dac185ac258dc8260a01891c30be6251.tar.gz systemtap-steved-b513cd75dac185ac258dc8260a01891c30be6251.tar.xz systemtap-steved-b513cd75dac185ac258dc8260a01891c30be6251.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'tapset-utrace.cxx')
-rw-r--r-- | tapset-utrace.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tapset-utrace.cxx b/tapset-utrace.cxx index 4bd4ecc1..795d88b7 100644 --- a/tapset-utrace.cxx +++ b/tapset-utrace.cxx @@ -379,7 +379,6 @@ utrace_var_expanding_visitor::visit_target_symbol_cached (target_symbol* e) else pp->components.push_back(base_loc->components[c]); } - pp->tok = e->tok; pp->optional = base_loc->optional; add_probe->locations.push_back(pp); @@ -644,7 +643,7 @@ struct utrace_builder: public derived_probe_builder // We can't probe 'init' (pid 1). XXX: where does this limitation come from? if (pid < 2) throw semantic_error ("process pid must be greater than 1", - location->tok); + location->components.front()->tok); // XXX: could we use /proc/$pid/exe in unwindsym_modules and elsewhere? } |