This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/12877] task_finder doesn't get non-standard exec's right


http://sourceware.org/bugzilla/show_bug.cgi?id=12877

--- Comment #3 from David Smith <dsmith at redhat dot com> 2011-06-10 20:47:45 UTC ---
To see this behavior, run stap on the test script in one terminal, then start
the test program in another terminal.  The output will look something like
this:

1307738373 - process 12877_test (0xffff88003a148000) begin: 6380, 6380
1307738373 - process sleep (0xffff88003a148000) begin: 6380, 6380
1307738378 - process 12877_test (0xffff88003a148000) end: 6380, 6380
1307738378 - process sleep (0xffff88003a148000) end: 6380, 6380

12877_test starts, so the program("12877_test").begin probe fires.  The test
program immediately does an exec, so the task_finder should have caused the
program("12877_test").end probe to fire, but it didn't.  Instead "sleep 5" runs
to completion (as you can see by the 5 second time lapse), then both
program.end probes fire.

Instead, the output should have looked like:

1307738373 - process 12877_test (0xffff88003a148000) begin: 6380, 6380
1307738373 - process 12877_test (0xffff88003a148000) end: 6380, 6380
1307738373 - process sleep (0xffff88003a148000) begin: 6380, 6380
1307738378 - process sleep (0xffff88003a148000) end: 6380, 6380

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]