Add config struct
This commit is contained in:
parent
632d423764
commit
add6bd5fc8
|
@ -90,6 +90,14 @@ DECLARE_DYNAMIC_ARRAY(function_stats_t, function_stats);
|
||||||
DECLARE_DYNAMIC_ARRAY(symbol_entry_t, symbol);
|
DECLARE_DYNAMIC_ARRAY(symbol_entry_t, symbol);
|
||||||
DECLARE_DYNAMIC_ARRAY(stack_info_t, stack_info);
|
DECLARE_DYNAMIC_ARRAY(stack_info_t, stack_info);
|
||||||
|
|
||||||
|
// config structure
|
||||||
|
typedef struct {
|
||||||
|
int enable_hooks;
|
||||||
|
int merge_regions;
|
||||||
|
char* output_filename;
|
||||||
|
char* program_name;
|
||||||
|
} rvprof_config_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue