summaryrefslogtreecommitdiffstats
path: root/tapset-utrace.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-08-21 13:29:50 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-08-21 13:29:50 -0400
commitb6921d5942950cb988318c36ee0e0792311f1ccc (patch)
treec6093273bdc69fd0d617edb2d1a718a82530e313 /tapset-utrace.cxx
parent73812da575ff92ea388c8bb16e42a9c5aaa6ee20 (diff)
downloadsystemtap-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 'tapset-utrace.cxx')
-rw-r--r--tapset-utrace.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset-utrace.cxx b/tapset-utrace.cxx
index 5de62835..0fc02d6e 100644
--- a/tapset-utrace.cxx
+++ b/tapset-utrace.cxx
@@ -652,12 +652,12 @@ utrace_derived_probe_group::emit_probe_decl (systemtap_session& s,
if (p->has_path)
{
- s.op->line() << " .pathname=\"" << p->path << "\",";
+ s.op->line() << " .procname=\"" << p->path << "\",";
s.op->line() << " .pid=0,";
}
else
{
- s.op->line() << " .pathname=NULL,";
+ s.op->line() << " .procname=NULL,";
s.op->line() << " .pid=" << p->pid << ",";
}