Initial revision
[binutils.git] / gprof / gmon_io.h
blobbf257a49df6f936aa4249a109d9476c7fe779f78
1 #ifndef gmon_io_h
2 #define gmon_io_h
4 #include "bfd.h"
5 #include "gmon.h"
7 #define INPUT_HISTOGRAM (1<<0)
8 #define INPUT_CALL_GRAPH (1<<1)
9 #define INPUT_BB_COUNTS (1<<2)
11 extern int gmon_input; /* what input did we see? */
12 extern int gmon_file_version; /* file version are we dealing with */
14 extern bfd_vma get_vma PARAMS ((bfd * abfd, bfd_byte * addr));
15 extern void put_vma PARAMS ((bfd * abfd, bfd_vma val, bfd_byte * addr));
17 extern void gmon_out_read PARAMS ((const char *filename));
18 extern void gmon_out_write PARAMS ((const char *filename));
20 #endif /* gmon_io_h */