Inserting arbitrary messages into strace output

enh enh at google.com
Fri Dec 19 03:22:02 UTC 2014


already implemented...

  write(-1, "GOT HERE", strlen("GOT HERE"));


On Thu, Dec 18, 2014 at 7:17 PM, Justin Dearing <zippy1981 at gmail.com> wrote:
> Hello,
>
> Inspired by a feature of the windows utility process monitor, Id like a
> simple elegant way to insert arbitrary streams of text into strace output.
> Basically, I want to insert "GOT HERE" messaged into strace output. The
> procmon feature is described here
> (https://github.com/Wintellect/ProcMonDebugOutput)
>
> Specifically what I propose is as follows
>
> strace by default will open the  named pipe /tmp/straceProfiling.X for
> reading, creating it if it does not exist. X will be the pid of the child
> process. any data written to that named pipe, gets immediaty flushed to the
> strace output preceded with MSG: There will be a switch to name the socket,
> a switch to disable it, and a switch to change the message prefix.
>
> Does this sound like a useful feature request?
>
> Regards,
>
> Justin Dearing
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
>



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Java i18n/JNI/NIO, or bionic questions? Mail me/drop by/add me as a reviewer.




More information about the Strace-devel mailing list