aboutsummaryrefslogtreecommitdiff
path: root/gprof/call_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/call_graph.h')
-rw-r--r--gprof/call_graph.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gprof/call_graph.h b/gprof/call_graph.h
new file mode 100644
index 0000000..be5139b
--- /dev/null
+++ b/gprof/call_graph.h
@@ -0,0 +1,13 @@
+#ifndef call_graph_h
+#define call_graph_h
+
+#include <stdio.h>
+#include "gprof.h"
+#include "symtab.h"
+
+extern void cg_tally PARAMS ((bfd_vma from_pc, bfd_vma self_pc,
+ unsigned long count));
+extern void cg_read_rec PARAMS ((FILE * ifp, const char *filename));
+extern void cg_write_arcs PARAMS ((FILE * ofp, const char *filename));
+
+#endif /* call_graph_h */