From ae24723e81327eb3b1e9e586f9be0093152aa66a Mon Sep 17 00:00:00 2001 From: fche Date: Wed, 7 Sep 2005 17:09:11 +0000 Subject: 2005-09-07 Frank Ch. Eigler * main.cxx (main): Choose getpid()-based module names. * tapsets.cxx: Make timer.jiffies' use of task_pt_regs __i386__-only. --- main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cxx') 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; -- cgit