aboutsummaryrefslogtreecommitdiff
path: root/gmon/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
committerUlrich Drepper <drepper@redhat.com>1996-10-02 01:40:17 +0000
commita68b0d31a37a86785b3dbeeee3fad96ee71fadcd (patch)
tree61537b1f028002a9e6e0f5354fced6128bda8b9c /gmon/sys
parent2d07133b507b13d4a5ed6dc250f4345c8a26942a (diff)
downloadglibc-a68b0d31a37a86785b3dbeeee3fad96ee71fadcd.zip
glibc-a68b0d31a37a86785b3dbeeee3fad96ee71fadcd.tar.gz
glibc-a68b0d31a37a86785b3dbeeee3fad96ee71fadcd.tar.bz2
update from main archive 961001
Diffstat (limited to 'gmon/sys')
-rw-r--r--gmon/sys/gmon_out.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gmon/sys/gmon_out.h b/gmon/sys/gmon_out.h
index 4224936..ef5b191 100644
--- a/gmon/sys/gmon_out.h
+++ b/gmon/sys/gmon_out.h
@@ -39,8 +39,8 @@ identifying the type of records, followed by records specific data. */
*/
struct gmon_hdr {
char cookie[4];
- char version[4];
- char spare[3 * 4];
+ int version;
+ int spare[3];
};
/* types of records in this file: */
@@ -49,18 +49,18 @@ typedef enum {
} GMON_Record_Tag;
struct gmon_hist_hdr {
- char low_pc[sizeof (char *)]; /* base pc address of sample buffer */
- char high_pc[sizeof (char *)]; /* max pc address of sampled buffer */
- char hist_size[4]; /* size of sample buffer */
- char prof_rate[4]; /* profiling clock rate */
+ unsigned long low_pc; /* base pc address of sample buffer */
+ unsigned long high_pc; /* max pc address of sampled buffer */
+ int hist_size; /* size of sample buffer */
+ int prof_rate; /* profiling clock rate */
char dimen[15]; /* phys. dim., usually "seconds" */
char dimen_abbrev; /* usually 's' for "seconds" */
};
struct gmon_cg_arc_record {
- char from_pc[sizeof (char *)]; /* address within caller's body */
- char self_pc[sizeof (char *)]; /* address within callee's body */
- char count[4]; /* number of arc traversals */
+ unsigned long from_pc; /* address within caller's body */
+ unsigned long self_pc; /* address within callee's body */
+ int count; /* number of arc traversals */
};
#endif /* !_SYS_GMON_OUT_H_ */