gdb/
[deliverable/binutils-gdb.git] / gprof / gmon_io.h
CommitLineData
ef368dac 1/* gmon_io.h
0eee5820 2
81e80dda
AM
3 Copyright 2000, 2001, 2002, 2004, 2007, 2008
4 Free Software Foundation, Inc.
ef368dac 5
651dbc76 6 This file is part of GNU Binutils.
ef368dac 7
651dbc76
NC
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
ef368dac 12
651dbc76
NC
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
ef368dac 17
651dbc76
NC
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
ef368dac 22\f
252b5132
RH
23#ifndef gmon_io_h
24#define gmon_io_h
25
ef368dac
NC
26#define INPUT_HISTOGRAM (1 << 0)
27#define INPUT_CALL_GRAPH (1 << 1)
28#define INPUT_BB_COUNTS (1 << 2)
252b5132 29
ef368dac
NC
30extern int gmon_input; /* What input did we see? */
31extern int gmon_file_version; /* File version are we dealing with. */
252b5132 32
3e8f6abf
BE
33extern int gmon_io_read_vma (FILE *ifp, bfd_vma *valp);
34extern int gmon_io_read_32 (FILE *ifp, unsigned int *valp);
35extern int gmon_io_read (FILE *ifp, char *buf, size_t n);
36extern int gmon_io_write_vma (FILE *ifp, bfd_vma val);
37extern int gmon_io_write_32 (FILE *ifp, unsigned int val);
38extern int gmon_io_write_8 (FILE *ifp, unsigned int val);
39extern int gmon_io_write (FILE *ifp, char *buf, size_t n);
40
41extern void gmon_out_read (const char *);
42extern void gmon_out_write (const char *);
252b5132
RH
43
44#endif /* gmon_io_h */
This page took 0.630367 seconds and 4 git commands to generate.