sysinfo: replace hard coded commands and files for configurable files
This change adds flexibility to the current sysinfo implementation in
the sense that the commands to be executed and files to be collected
are no longer hard coded, but configurable.
The configuration file gains a section for that, and the files
themselves are plain text files that can be easily customized by users
to include extra commands/files.
Also, the the configuration for the profilers has been adjusted for a
uniform look, feel and experience.
Changes from v1:
* Return the default `profiler` parameter value to None, so that it
looks at the configuration value by default
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
etc/avocado/sysinfo/commands
0 → 100644
etc/avocado/sysinfo/files
0 → 100644
etc/avocado/sysinfo/profilers
0 → 100644
想要评论请 注册 或 登录