public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Trying to get an embedded C function to use file I/O
@ 2013-08-16 17:41 Jeff Johnston
  2013-08-16 18:17 ` Eric Wong
  2013-08-17 23:48 ` Frank Ch. Eigler
  0 siblings, 2 replies; 7+ messages in thread
From: Jeff Johnston @ 2013-08-16 17:41 UTC (permalink / raw)
  To: systemtap

I'm trying to use regular C I/O in an embedded C function for SystemTap. 
  When I try and do:

%{
#include <stdio.h>
%}

I get an error that SystemTap cannot find stdio.h.  I am using -g for 
guru mode.

Is there some form of restriction on C stdio?

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.

-- Jeff J.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-08-21 21:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16 17:41 Trying to get an embedded C function to use file I/O Jeff Johnston
2013-08-16 18:17 ` Eric Wong
2013-08-19 19:11   ` Josh Stone
2013-08-17 23:48 ` Frank Ch. Eigler
2013-08-19 16:38   ` Jeff Johnston
2013-08-19 22:02     ` Frank Ch. Eigler
2013-08-21 21:24       ` Jeff Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).