Trying to get an embedded C function to use file I/O

Jeff Johnston jjohnstn@redhat.com
Fri Aug 16 17:41:00 GMT 2013


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.



More information about the Systemtap mailing list