From 617a53e196fb3961409114f80cf9c16451a85a2b Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Wed, 7 Aug 2019 10:25:27 +0200 Subject: [PATCH] Update Trace action __repr__ --- tracetools_launch/tracetools_launch/action.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tracetools_launch/tracetools_launch/action.py b/tracetools_launch/tracetools_launch/action.py index b103d93..315d457 100644 --- a/tracetools_launch/tracetools_launch/action.py +++ b/tracetools_launch/tracetools_launch/action.py @@ -69,6 +69,7 @@ class Trace(Action): self.__base_path = base_path self.__events_ust = events_ust self.__events_kernel = events_kernel + self.__profile_fast = profile_fast self.__ld_preload_action = None if self.has_profiling_events(events_ust): profile_lib_name = self.PROFILE_LIB_FAST if profile_fast else self.PROFILE_LIB_NORMAL @@ -127,5 +128,7 @@ class Trace(Action): f'session_name={self.__session_name}, ' f'base_path={self.__base_path}, ' f'num_events_ust={len(self.__events_ust)}, ' - f'num_events_kernel={len(self.__events_kernel)})' + f'num_events_kernel={len(self.__events_kernel)}), ' + f'profiling={self.__ld_preload_action is not None}, ' + f'profile_fast={self.__profile_fast}' )