aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-profile.h')
-rw-r--r--sim/common/sim-profile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/common/sim-profile.h b/sim/common/sim-profile.h
index 8f8d95f..4ffe850 100644
--- a/sim/common/sim-profile.h
+++ b/sim/common/sim-profile.h
@@ -65,6 +65,10 @@ enum {
| (1 << PROFILE_MODEL_IDX) \
| (1 << PROFILE_CORE_IDX))
+/* Utility to set profile options. */
+SIM_RC set_profile_option_mask (SIM_DESC sd_, const char *name_, int mask_,
+ const char *arg_);
+
/* Utility to parse a --profile-<foo> option. */
/* ??? On the one hand all calls could be confined to sim-profile.c, but
on the other hand keeping a module's profiling option with the module's