mcexec: introduction of --profile

This commit is contained in:
Balazs Gerofi
2017-02-27 11:02:34 +09:00
parent dd6f721e03
commit e3e0f6a174
9 changed files with 60 additions and 19 deletions

View File

@@ -546,6 +546,7 @@ struct process {
#define PP_STOP 3
struct mc_perf_event *monitoring_event;
#ifdef PROFILE_ENABLE
int profile;
mcs_lock_node_t profile_lock;
struct profile_event *profile_events;
#endif // PROFILE_ENABLE