aboutsummaryrefslogtreecommitdiff
path: root/gprof/sym_ids.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/sym_ids.h')
-rw-r--r--gprof/sym_ids.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gprof/sym_ids.h b/gprof/sym_ids.h
new file mode 100644
index 0000000..68604de
--- /dev/null
+++ b/gprof/sym_ids.h
@@ -0,0 +1,23 @@
+#ifndef sym_ids_h
+#define sym_ids_h
+
+#include "symtab.h"
+
+typedef enum {
+ INCL_GRAPH = 0, EXCL_GRAPH,
+ INCL_ARCS, EXCL_ARCS,
+ INCL_FLAT, EXCL_FLAT,
+ INCL_TIME, EXCL_TIME,
+ INCL_ANNO, EXCL_ANNO,
+ INCL_EXEC, EXCL_EXEC,
+ NUM_TABLES
+} Table_Id;
+
+extern Sym_Table syms[NUM_TABLES];
+
+extern void sym_id_add PARAMS((const char *spec, Table_Id which_table));
+extern void sym_id_parse PARAMS((void));
+extern bool sym_id_arc_is_present PARAMS((Sym_Table *symtab,
+ Sym *from, Sym *to));
+
+#endif /* sym_ids_h */