This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Trying to get an embedded C function to use file I/O
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: systemtap at sourceware dot org
- Date: Fri, 16 Aug 2013 13:41:46 -0400
- Subject: Trying to get an embedded C function to use file I/O
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.