* sim-profile.h: Make like sim-trace.h.
authorDoug Evans <dje@google.com>
Thu, 28 Jan 1999 01:28:03 +0000 (01:28 +0000)
committerDoug Evans <dje@google.com>
Thu, 28 Jan 1999 01:28:03 +0000 (01:28 +0000)
commit89b1cfbbd561711a91ef963221b4cb8c492ce598
tree354c36e1eb83a4db4778456ce23409d35f6455db
parent84a9fc2748bc6bb7bfddc7095f8211ce92a8067a
* sim-profile.h: Make like sim-trace.h.
(PROFILE_USEFUL_MASK): New macro.
* sim-profile.c (profile_options): Make like trace_options, allow
optional on|off arg where applicable.
(set_profile_option_mask): New function.
(sim_profile_set_option): New function.
(profile_option_handler): Simplify.
Have -p only enable selected things, not everything.
Add missing break to OPTION_PROFILE_PC_RANGE.
* cgen-scache.c (scache_options): Allow optional on|off arg to
--profile-scache.
(scache_option_handler): Use sim_profile_set_option.
sim/common/ChangeLog