mcexec: introduction of --profile
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -197,6 +197,7 @@ struct program_load_desc {
|
||||
int nr_processes;
|
||||
char shell_path[SHELL_PATH_MAX_LEN];
|
||||
__cpu_set_unit cpu_set[PLD_CPU_SET_SIZE];
|
||||
int profile;
|
||||
struct program_image_section sections[0];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user