diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-03-27 11:54:42 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-03-27 11:55:02 -0400 |
commit | 432f054fc20511d487d18234b6408b5df89a8c4d (patch) | |
tree | d2cd351411510383056b42dafbf266bd270e4c04 /testsuite/buildok/seventeen.stp | |
parent | 0977ab1f283c48918c483a73d96b1345286419ca (diff) | |
download | systemtap-steved-432f054fc20511d487d18234b6408b5df89a8c4d.tar.gz systemtap-steved-432f054fc20511d487d18234b6408b5df89a8c4d.tar.xz systemtap-steved-432f054fc20511d487d18234b6408b5df89a8c4d.zip |
PR10000: emit _stp_relocate* calculations correctly for kernel/module global $data
* translate.cxx (dump_unwindsyms): Also emit STT_OBJECT symbols,
therefore .data etc. sections into stap-symbols.h.
* tapsets.cxx (iterate_over_modules): Omit a dwfl_getmodules()
RC-checking assertion that blocked meaningful $context var
error messages.
(dwflpp::emit_address): Bypass dwfl_module_relocate_address()
for kernel symbols as it has been unreliable; subtract sess.sym_stext
manually.
* testsuite/buildok/seventeen.stp: Extend test with module $global.
Diffstat (limited to 'testsuite/buildok/seventeen.stp')
-rwxr-xr-x | testsuite/buildok/seventeen.stp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/buildok/seventeen.stp b/testsuite/buildok/seventeen.stp index 126db1fb..4e0b07c4 100755 --- a/testsuite/buildok/seventeen.stp +++ b/testsuite/buildok/seventeen.stp @@ -11,3 +11,12 @@ probe kernel.function("pipe_write") printf("0x%x\n", $write_fifo_fops->llseek) %) } + +# PR10000: We're looking for *some* module function that has a nearby global variable in scope +# XXX: See PR4096 +probe module("nfs").function("nfs_create_client") !, module("nfs").function("nfs_init_client") !, + kernel.function("nfs_fsync_dir") { + println(kernel_string($nfs_program->name)) +} + +probe timer.s(5) { exit() } |