Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/sys
File: gmon_out.h
/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
Contributed by David Mosberger <davidm@cs.arizona.edu>.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
/* This file specifies the format of gmon.out files. It should have
[18] Fix | Delete
as few external dependencies as possible as it is going to be included
[19] Fix | Delete
in many different programs. That is, minimize the number of #include's.
[20] Fix | Delete
[21] Fix | Delete
A gmon.out file consists of a header (defined by gmon_hdr) followed by
[22] Fix | Delete
a sequence of records. Each record starts with a one-byte tag
[23] Fix | Delete
identifying the type of records, followed by records specific data. */
[24] Fix | Delete
[25] Fix | Delete
#ifndef _SYS_GMON_OUT_H
[26] Fix | Delete
#define _SYS_GMON_OUT_H 1
[27] Fix | Delete
[28] Fix | Delete
#include <features.h>
[29] Fix | Delete
[30] Fix | Delete
#define GMON_MAGIC "gmon" /* magic cookie */
[31] Fix | Delete
#define GMON_VERSION 1 /* version number */
[32] Fix | Delete
[33] Fix | Delete
/* For profiling shared object we need a new format. */
[34] Fix | Delete
#define GMON_SHOBJ_VERSION 0x1ffff
[35] Fix | Delete
[36] Fix | Delete
__BEGIN_DECLS
[37] Fix | Delete
[38] Fix | Delete
/*
[39] Fix | Delete
* Raw header as it appears on file (without padding). This header
[40] Fix | Delete
* always comes first in gmon.out and is then followed by a series
[41] Fix | Delete
* records defined below.
[42] Fix | Delete
*/
[43] Fix | Delete
struct gmon_hdr
[44] Fix | Delete
{
[45] Fix | Delete
char cookie[4];
[46] Fix | Delete
char version[4];
[47] Fix | Delete
char spare[3 * 4];
[48] Fix | Delete
};
[49] Fix | Delete
[50] Fix | Delete
/* types of records in this file: */
[51] Fix | Delete
typedef enum
[52] Fix | Delete
{
[53] Fix | Delete
GMON_TAG_TIME_HIST = 0,
[54] Fix | Delete
GMON_TAG_CG_ARC = 1,
[55] Fix | Delete
GMON_TAG_BB_COUNT = 2
[56] Fix | Delete
} GMON_Record_Tag;
[57] Fix | Delete
[58] Fix | Delete
struct gmon_hist_hdr
[59] Fix | Delete
{
[60] Fix | Delete
char low_pc[sizeof (char *)]; /* base pc address of sample buffer */
[61] Fix | Delete
char high_pc[sizeof (char *)]; /* max pc address of sampled buffer */
[62] Fix | Delete
char hist_size[4]; /* size of sample buffer */
[63] Fix | Delete
char prof_rate[4]; /* profiling clock rate */
[64] Fix | Delete
char dimen[15]; /* phys. dim., usually "seconds" */
[65] Fix | Delete
char dimen_abbrev; /* usually 's' for "seconds" */
[66] Fix | Delete
};
[67] Fix | Delete
[68] Fix | Delete
struct gmon_cg_arc_record
[69] Fix | Delete
{
[70] Fix | Delete
char from_pc[sizeof (char *)]; /* address within caller's body */
[71] Fix | Delete
char self_pc[sizeof (char *)]; /* address within callee's body */
[72] Fix | Delete
char count[4]; /* number of arc traversals */
[73] Fix | Delete
};
[74] Fix | Delete
[75] Fix | Delete
__END_DECLS
[76] Fix | Delete
[77] Fix | Delete
#endif /* sys/gmon_out.h */
[78] Fix | Delete
[79] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function