trace-cmd: Add trace_util_find_plugin_files()

Add function helper trace_util_find_plugin_files() and
trace_util_free_plugin_files() to allow other parts of the code to
search if a plugin exists. This is mainly to have the python
plugin loader only load the python code if python modules
exist.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2 files changed