aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arc/gmon/sys/gmon_out.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/arc/gmon/sys/gmon_out.h')
-rw-r--r--gcc/config/arc/gmon/sys/gmon_out.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/config/arc/gmon/sys/gmon_out.h b/gcc/config/arc/gmon/sys/gmon_out.h
new file mode 100644
index 00000000000..180eb12bb89
--- /dev/null
+++ b/gcc/config/arc/gmon/sys/gmon_out.h
@@ -0,0 +1,30 @@
+#define GMON_TAG_TIME_HIST 0
+#define GMON_TAG_CG_ARC 1
+#define GMON_TAG_BB_COUNT 2
+
+#define GMON_MAGIC "gmon"
+#define GMON_VERSION 1
+
+struct arc_gmon_hist_hdr
+{
+ char low_pc[4];
+ char high_pc[4];
+ char hist_size[4];
+ char prof_rate[4];
+ char dimen[15];
+ char dimen_abbrev;
+};
+
+struct gmon_cg_arc_record
+{
+ char afrompc[4];
+ char selfpc[4];
+ char count[4];
+};
+
+struct gmon_hdr
+{
+ char cookie[4];
+ char version[4];
+ char c[12];
+};