aboutsummaryrefslogtreecommitdiff
path: root/gprof/basic_blocks.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-02-07 22:34:18 +0000
committerKen Raeburn <raeburn@cygnus>1995-02-07 22:34:18 +0000
commit5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7 (patch)
tree1a79cfffd92f2afb67780dd7372c1759c49791aa /gprof/basic_blocks.h
parent2559e01429d193b7957c106a6a8b0598476f9845 (diff)
downloadgdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.zip
gdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.tar.gz
gdb-5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7.tar.bz2
Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
Alpha support. Long options. New file format to support more information; backwards compatibility. Line-level profiling, on systems where bfd_find_nearest_line works. Selective display of data.
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 0000000..0e7070c
--- /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 int 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 */