Add config struct

This commit is contained in:
Patrick Lipka 2025-08-07 16:09:25 +02:00
parent 632d423764
commit add6bd5fc8
1 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,14 @@ DECLARE_DYNAMIC_ARRAY(function_stats_t, function_stats);
DECLARE_DYNAMIC_ARRAY(symbol_entry_t, symbol);
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
}
#endif