Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
[binutils-gdb.git] / gprof / gmon_io.h
1 #ifndef gmon_io_h
2 #define gmon_io_h
3
4 #include "bfd.h"
5 #include "gmon.h"
6
7 #define INPUT_HISTOGRAM (1<<0)
8 #define INPUT_CALL_GRAPH (1<<1)
9 #define INPUT_BB_COUNTS (1<<2)
10
11 extern int gmon_input; /* what input did we see? */
12 extern int gmon_file_version; /* file version are we dealing with */
13
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));
16
17 extern void gmon_out_read PARAMS((const char *filename));
18 extern void gmon_out_write PARAMS((const char *filename));
19
20 #endif /* gmon_io_h */