gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gprof / gmon_io.h
CommitLineData
ef368dac 1/* gmon_io.h
0eee5820 2
b3adc24a 3 Copyright (C) 2000-2020 Free Software Foundation, Inc.
ef368dac 4
651dbc76 5 This file is part of GNU Binutils.
ef368dac 6
651dbc76
NC
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.
ef368dac 11
651dbc76
NC
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.
ef368dac 16
651dbc76
NC
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. */
ef368dac 21\f
252b5132
RH
22#ifndef gmon_io_h
23#define gmon_io_h
24
ef368dac
NC
25#define INPUT_HISTOGRAM (1 << 0)
26#define INPUT_CALL_GRAPH (1 << 1)
27#define INPUT_BB_COUNTS (1 << 2)
252b5132 28
ef368dac
NC
29extern int gmon_input; /* What input did we see? */
30extern int gmon_file_version; /* File version are we dealing with. */
252b5132 31
3e8f6abf
BE
32extern int gmon_io_read_vma (FILE *ifp, bfd_vma *valp);
33extern int gmon_io_read_32 (FILE *ifp, unsigned int *valp);
34extern int gmon_io_read (FILE *ifp, char *buf, size_t n);
35extern int gmon_io_write_vma (FILE *ifp, bfd_vma val);
36extern int gmon_io_write_32 (FILE *ifp, unsigned int val);
37extern int gmon_io_write_8 (FILE *ifp, unsigned int val);
38extern int gmon_io_write (FILE *ifp, char *buf, size_t n);
39
40extern void gmon_out_read (const char *);
41extern void gmon_out_write (const char *);
252b5132
RH
42
43#endif /* gmon_io_h */
This page took 0.839777 seconds and 4 git commands to generate.