diff options
| author | Frank Ch. Eigler <fche@elastic.org> | 2008-10-23 16:33:11 -0400 |
|---|---|---|
| committer | Frank Ch. Eigler <fche@elastic.org> | 2008-10-23 16:33:11 -0400 |
| commit | 34f2e0b9b69ddbc2f2e7503e887f16fca9fdfee2 (patch) | |
| tree | 16bbf243101b66d34853f060eda98c3eb9abc2c0 /NEWS | |
| parent | b5223457bca23f214fb35f3ffdc372bf67cfe190 (diff) | |
| download | systemtap-steved-34f2e0b9b69ddbc2f2e7503e887f16fca9fdfee2.tar.gz systemtap-steved-34f2e0b9b69ddbc2f2e7503e887f16fca9fdfee2.tar.xz systemtap-steved-34f2e0b9b69ddbc2f2e7503e887f16fca9fdfee2.zip | |
BZ467652: support old-style stap -c "FOO > BAR" usage by backing down to sh -c if needed.
Diffstat (limited to 'NEWS')
| -rw-r--r-- | NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -29,8 +29,11 @@ - Target process mode (stap -c CMD or -x PID) now implicitly restricts all "process.*" probes to the given child process. (It does not affect - kernel.* or other probe types.) The CMD string is now executed directly, - rather than via a /bin/sh -c subshell. + kernel.* or other probe types.) The CMD string is normally run directly, + rather than via a /bin/sh -c subshell, since then utrace/uprobe probes + receive a fairly "clean" event stream. If metacharacters like + redirection operators were present in CMD, then "sh -c CMD" is still + used, and utrace/uprobe probes will receive events from the shell. % stap -e 'probe process.syscall, process.end { printf("%s %d %s\n", execname(), pid(), pp())}'\ |
