Bug 11206 - support stdin script input
Summary: support stdin script input
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 21:40 UTC by Josh Stone
Modified: 2017-08-02 16:19 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Stone 2010-01-21 21:40:50 UTC
As suggested by fche, it may be convenient for some scripts to be able to accept
input from stdin.

A simple way to implement this might be to generate a procfs.write probe, and
then have stapio splice its stdin to that procfs path.

We also need to consider whether to close stdin on -c apps, so we don't race for
the data.
Comment 1 Aaron Merey 2017-08-02 16:19:35 UTC
fixed in commit 835b1bfa69e