diff --git a/tracetools_analysis/tracetools_analysis/processor/__init__.py b/tracetools_analysis/tracetools_analysis/processor/__init__.py index 556b10d..cef2e23 100644 --- a/tracetools_analysis/tracetools_analysis/processor/__init__.py +++ b/tracetools_analysis/tracetools_analysis/processor/__init__.py @@ -424,9 +424,9 @@ class AutoProcessor(): :param events: the list of events to process :param kwargs: the kwargs to provide when instanciating EventHandler subclasses """ - handlers = self.get_applicable_event_handlers(events) + self.handlers = self.get_applicable_event_handlers(events) Processor( - *handlers, + *self.handlers, **kwargs, ).process(events)