summaryrefslogtreecommitdiff
path: root/gprof/sym_ids.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/sym_ids.h')
-rw-r--r--gprof/sym_ids.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/gprof/sym_ids.h b/gprof/sym_ids.h
new file mode 100644
index 0000000..192666e
--- /dev/null
+++ b/gprof/sym_ids.h
@@ -0,0 +1,43 @@
+/* sym_ids.h
+
+ Copyright (C) 2000-2014 Free Software Foundation, Inc.
+
+ This file is part of GNU Binutils.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+#ifndef sym_ids_h
+#define sym_ids_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 (const char *, Table_Id);
+extern void sym_id_parse (void);
+extern bfd_boolean sym_id_arc_is_present (Sym_Table *, Sym *, Sym *);
+
+#endif /* sym_ids_h */