summaryrefslogtreecommitdiffstats
path: root/gprof/basic_blocks.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
committerRichard Henderson <rth@redhat.com>1999-05-03 07:29:11 +0000
commit252b5132c753830d5fd56823373aed85f2a0db63 (patch)
tree1af963bfd8d3e55167b81def4207f175eaff3a56 /gprof/basic_blocks.h
downloadppe42-binutils-252b5132c753830d5fd56823373aed85f2a0db63.tar.gz
ppe42-binutils-252b5132c753830d5fd56823373aed85f2a0db63.zip
19990502 sourceware import
Diffstat (limited to 'gprof/basic_blocks.h')
-rw-r--r--gprof/basic_blocks.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gprof/basic_blocks.h b/gprof/basic_blocks.h
new file mode 100644
index 0000000000..923eca11f7
--- /dev/null
+++ b/gprof/basic_blocks.h
@@ -0,0 +1,23 @@
+#ifndef basic_blocks_h
+#define basic_blocks_h
+
+#include <stdio.h>
+#include "gprof.h"
+#include "source.h"
+#include "symtab.h"
+
+/*
+ * Options:
+ */
+extern bool bb_annotate_all_lines; /* force annotation of all lines? */
+extern int bb_table_length; /* length of most-used bb table */
+extern unsigned long bb_min_calls; /* minimum execution count */
+
+extern void bb_read_rec PARAMS ((FILE * ifp, const char *filename));
+extern void bb_write_blocks PARAMS ((FILE * ofp, const char *filename));
+extern void bb_create_syms PARAMS ((void));
+
+extern void print_annotated_source PARAMS ((void));
+extern void print_exec_counts PARAMS ((void));
+
+#endif /* basic_blocks_h */
OpenPOWER on IntegriCloud