diff options
author | Petri Savolainen <petri.savolainen@nokia.com> | 2020-11-04 11:40:19 +0200 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2020-11-18 15:31:08 +0200 |
commit | e86bf0ea5ed28a3d1fabc0241a5ead533983c6e2 (patch) | |
tree | 823e8a307e097bbe5c8ffa827dd061bf866367f7 | |
parent | 6e3a6e9c26107b1a0a7ebb40ec058d42036f505b (diff) |
api: system: configuration print
Added odp_sys_config_print() function which prints out
implementation specific configuration options. An implementation
may support a lot of config options defined with various
methods (files, env variables, API). This call records those
options into a log, so that developers can check later which
options were used e.g. for a test run.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com>
-rw-r--r-- | include/odp/api/spec/system_info.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/odp/api/spec/system_info.h b/include/odp/api/spec/system_info.h index 7fe6443fa..5d4e3cb87 100644 --- a/include/odp/api/spec/system_info.h +++ b/include/odp/api/spec/system_info.h @@ -242,6 +242,15 @@ int odp_sys_cache_line_size(void); void odp_sys_info_print(void); /** + * Print configuration + * + * Print out implementation defined information about selected configuration options. This + * information is intended for debugging purposes and may contain e.g. content of various + * configuration files, environment variables and configuration options of ODP API. + */ +void odp_sys_config_print(void); + +/** * @} */ |