This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Trying to get an embedded C function to use file I/O
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: systemtap at sourceware dot org
- Date: Sat, 17 Aug 2013 19:48:18 -0400
- Subject: Re: Trying to get an embedded C function to use file I/O
- References: <520E645A dot 9080305 at redhat dot com>
jjohnstn wrote:
> [...]
> Is there some form of restriction on C stdio?
There are several restrictions on embedded-C code; you ran into one
associated with the default kernel-module based backend.
> I want to use it because I ultimately need to create multiple files
> from trace data and -o does not allow me to do this.
Can you elaborate? Until systemtap grows a good native ability, could
you output into a pipe and let a userspace filter separate the items?
- FChE