summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authorfche <fche>2005-09-07 17:09:11 +0000
committerfche <fche>2005-09-07 17:09:11 +0000
commitae24723e81327eb3b1e9e586f9be0093152aa66a (patch)
tree66348bd13903ab6f8b565217846c2aca37dff91c /main.cxx
parent57f26971a680c747bc6ac09a2785dc7038724fa7 (diff)
downloadsystemtap-steved-ae24723e81327eb3b1e9e586f9be0093152aa66a.tar.gz
systemtap-steved-ae24723e81327eb3b1e9e586f9be0093152aa66a.tar.xz
systemtap-steved-ae24723e81327eb3b1e9e586f9be0093152aa66a.zip
2005-09-07 Frank Ch. Eigler <fche@redhat.com>
* main.cxx (main): Choose getpid()-based module names. * tapsets.cxx: Make timer.jiffies' use of task_pt_regs __i386__-only.
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index c6663655..dcdf67f5 100644
--- a/main.cxx
+++ b/main.cxx
@@ -116,7 +116,7 @@ main (int argc, char * const argv [])
s.test_mode = false;
s.guru_mode = false;
s.last_pass = 5;
- s.module_name = "stap_" + stringify(getuid()) + "_" + stringify(time(0));
+ s.module_name = "stap_" + stringify(getpid());
s.keep_tmpdir = false;
s.cmd = "";
s.target_pid = 0;