aboutsummaryrefslogtreecommitdiff
path: root/gprofng/common/hwcentry.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprofng/common/hwcentry.h')
-rw-r--r--gprofng/common/hwcentry.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gprofng/common/hwcentry.h b/gprofng/common/hwcentry.h
index 739bc4e..a35a363 100644
--- a/gprofng/common/hwcentry.h
+++ b/gprofng/common/hwcentry.h
@@ -112,11 +112,12 @@ extern "C"
int timecvt; /* multiplier to convert metric to time, 0 if N/A */
ABST_type memop; /* type of backtracking allowed */
char *short_desc; /* optional one-liner description, or NULL */
- int type; /* Type of perf_event_attr */
- long long config; /* perf_event_type -specific configuration */
/* the fields above this line are expected, in order, by the tables in hwctable.c */
/* ================================================== */
/* the fields below this line are more flexible */
+ unsigned int use_perf_event_type : 16; /* Set 1 to use two fields below */
+ unsigned int type : 16; /* Type of perf_event_attr */
+ long long config; /* perf_event_type -specific configuration */
int sort_order; /* "tag" to associate experiment record with HWC def */
regno_t *reg_list; /* if not NULL, legal values for <reg_num> field above */
/* Note: reg_list will be terminated by REGNO_ANY */