2010-09-03 Rafael Espindola <espindola@google.com>
[binutils.git] / gprof / sym_ids.h
blob731de5c2ab54fcedd1a0cef93b65ab68ca5f5efc
1 /* sym_ids.h
3 Copyright 2000, 2001, 2002, 2004, 2007 Free Software Foundation, Inc.
5 This file is part of GNU Binutils.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 #ifndef sym_ids_h
23 #define sym_ids_h
25 typedef enum
27 INCL_GRAPH = 0, EXCL_GRAPH,
28 INCL_ARCS, EXCL_ARCS,
29 INCL_FLAT, EXCL_FLAT,
30 INCL_TIME, EXCL_TIME,
31 INCL_ANNO, EXCL_ANNO,
32 INCL_EXEC, EXCL_EXEC,
33 NUM_TABLES
35 Table_Id;
37 extern Sym_Table syms[NUM_TABLES];
39 extern void sym_id_add (const char *, Table_Id);
40 extern void sym_id_parse (void);
41 extern bfd_boolean sym_id_arc_is_present (Sym_Table *, Sym *, Sym *);
43 #endif /* sym_ids_h */