diff --git a/tracetools_analysis/test/__init__.py b/tracetools_analysis/test/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tracetools_analysis/test/utils.py b/tracetools_analysis/test/utils.py deleted file mode 100644 index 8b1bb96..0000000 --- a/tracetools_analysis/test/utils.py +++ /dev/null @@ -1,20 +0,0 @@ -# Utils for tracetools testing - -import subprocess -import babeltrace - -def get_trace_event_names(trace_directory): - """ - Get a set of event names in a trace - :param trace_directory (str): the path to the main/top trace directory - :return: event names (set(str)) - """ - tc = babeltrace.TraceCollection() - tc.add_traces_recursive(trace_directory, 'ctf') - - event_names = set() - - for event in tc.events: - event_names.add(event.name) - - return event_names