From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22846 invoked by alias); 9 Sep 2016 13:45:21 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 22450 invoked by uid 48); 9 Sep 2016 13:44:58 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug server/20557] It seems like that switching output file doesn't work. Date: Fri, 09 Sep 2016 13:45:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: server X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q3/txt/msg00278.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20557 --- Comment #18 from David Smith --- After looking at the strace files you attached, I'm quite confused: =3D=3D=3D=3D # grep f.out strace.out.* strace.out.29045:execve("/usr/bin/staprun", ["/usr/bin/staprun", "-o", "f.o= ut", "-R", "-S", "1,3", "renamemod.ko"], [/* 20 vars */]) =3D 0 strace.out.29045:execve("/usr/lib/systemtap/stapio", ["/usr/lib/systemtap/stapio", "-o", "f.out", "-R", "-S", "1,3", "ren_29045", "-F3"], [/* 20 vars */]) =3D 0 strace.out.29045:open("/root/systemtap/examples/f.out.0", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 strace.out.29048:open("/root/systemtap/examples/f.out.1", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 strace.out.29048:open("/root/systemtap/examples/f.out.2", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 strace.out.29048:unlink("/root/systemtap/examples/f.out.0") =3D 0 strace.out.29048:open("/root/systemtap/examples/f.out.3", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 strace.out.29048:unlink("/root/systemtap/examples/f.out.1") =3D 0 strace.out.29048:open("/root/systemtap/examples/f.out.4", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 strace.out.29048:unlink("/root/systemtap/examples/f.out.2") =3D 0 strace.out.29048:open("/root/systemtap/examples/f.out.5", O_WRONLY|O_CREAT|O_TRUNC, 0666) =3D 6 =3D=3D=3D=3D That strace output clearly shows systemtap creating f.out.0, f.out.1, f.out= .2, unlinking f.out.0, creating f.out.3, unlinking f.out.1, creating f.out.4, unlinking f.out.2, and creating f.out.5. All the open() and unlink() syscal= ls succeed. At this point I'm not sure what is going on with your system. Perhaps you should try running systemtap again in an empty directory? --=20 You are receiving this mail because: You are the assignee for the bug.