summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.context
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-03-20 14:57:00 +0100
committerMark Wielaard <mjw@redhat.com>2009-03-20 14:57:00 +0100
commitc9a05b1c5a3219dcc6b9f4060b98e76a67f5795b (patch)
tree3fa2f415ff33881a7d3f2144b8103b47404db3ec /testsuite/systemtap.context
parent8813a27cd47e035806cb3d859cfd95d3e0fb76bc (diff)
downloadsystemtap-steved-c9a05b1c5a3219dcc6b9f4060b98e76a67f5795b.tar.gz
systemtap-steved-c9a05b1c5a3219dcc6b9f4060b98e76a67f5795b.tar.xz
systemtap-steved-c9a05b1c5a3219dcc6b9f4060b98e76a67f5795b.zip
Emit vma callbacks for uprobes.
* tapsets.cxx (uprobe_derived_probe_group::emit_module_decls): Emit vma callbacks. (uprobe_derived_probe_group::emit_module_init): Activate vma callbacks. * testsuite/systemtap.context/usymbols.exp: Track through uprobes, so as to make sure we have the symbols.
Diffstat (limited to 'testsuite/systemtap.context')
-rw-r--r--testsuite/systemtap.context/usymbols.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/systemtap.context/usymbols.exp b/testsuite/systemtap.context/usymbols.exp
index 6892fc21..65f0a263 100644
--- a/testsuite/systemtap.context/usymbols.exp
+++ b/testsuite/systemtap.context/usymbols.exp
@@ -37,7 +37,8 @@ set testscript {
printf("handler: %%s\n", symbolname(handler));
}
}
- probe process("%s").syscall { printf(""); /* XXX trigger tracker */ }
+ /* track through uprobes, so as to make sure we have the symbols */
+ probe process("%s").function("*") { printf(""); }
}
set output {handler: main_handler