7 /* Some platforms need to put stdin into binary mode, to read
13 #define O_BINARY _O_BINARY
14 #define setmode _setmode
21 #define SET_BINARY(f) do { if (!isatty(f)) setmode(f,O_BINARY); } while (0)
25 #define INPUT_HISTOGRAM (1<<0)
26 #define INPUT_CALL_GRAPH (1<<1)
27 #define INPUT_BB_COUNTS (1<<2)
29 extern int gmon_input; /* what input did we see? */
30 extern int gmon_file_version; /* file version are we dealing with */
32 extern bfd_vma get_vma PARAMS ((bfd * abfd, bfd_byte * addr));
33 extern void put_vma PARAMS ((bfd * abfd, bfd_vma val, bfd_byte * addr));
35 extern void gmon_out_read PARAMS ((const char *filename));
36 extern void gmon_out_write PARAMS ((const char *filename));
38 #endif /* gmon_io_h */