diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2009-08-21 13:29:50 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-08-21 13:29:50 -0400 |
commit | b6921d5942950cb988318c36ee0e0792311f1ccc (patch) | |
tree | c6093273bdc69fd0d617edb2d1a718a82530e313 /translate.cxx | |
parent | 73812da575ff92ea388c8bb16e42a9c5aaa6ee20 (diff) | |
download | systemtap-steved-b6921d5942950cb988318c36ee0e0792311f1ccc.tar.gz systemtap-steved-b6921d5942950cb988318c36ee0e0792311f1ccc.tar.xz systemtap-steved-b6921d5942950cb988318c36ee0e0792311f1ccc.zip |
cleanup: rename task_finder_target->pathname -> procname
The previous name made it easy to misread the purpose of this
field. It is only for matching executable names, not for
shared libraries.
* runtime/task_finder.c (task_finder_target): Rename field.
(*): Adjust.
* tapset-itrace.cxx, tapset-utrace.cxx, tapsets.cxx, translate.cxx: Ditto.
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/translate.cxx b/translate.cxx index 7e0d9d96..56d6de4c 100644 --- a/translate.cxx +++ b/translate.cxx @@ -1170,7 +1170,7 @@ c_unparser::emit_module_init () o->newline() << "if (rc) {"; o->newline(1) << "_stp_error (" << "\"couldn't initialize task-finder for %s\\n\"," - << "_stp_modules[i]->vmcb->pathname);"; + << "_stp_modules[i]->vmcb->procname);"; o->newline() << "goto out;"; o->newline(-1) << "}"; o->newline(-1) << "}"; @@ -4863,7 +4863,7 @@ dump_unwindsyms (Dwfl_Module *m, // NB: runtime/sym.c c->output << "static struct stap_task_finder_target _stp_vmcb_" << stpmod_idx << "= {\n"; c->output << "#ifdef CONFIG_UTRACE\n"; - c->output << ".pathname = " << lex_cast_qstring (mainfile) << ",\n"; + c->output << ".procname = " << lex_cast_qstring (mainfile) << ",\n"; c->output << ".mmap_callback = &_stp_tf_mmap_cb,\n"; c->output << ".munmap_callback = &_stp_tf_munmap_cb,\n"; c->output << "#endif\n"; |