diff --git a/user_tools/src/spark_rapids_tools/cmdli/tools_cli.py b/user_tools/src/spark_rapids_tools/cmdli/tools_cli.py index a81dbff41..5a63aebe5 100644 --- a/user_tools/src/spark_rapids_tools/cmdli/tools_cli.py +++ b/user_tools/src/spark_rapids_tools/cmdli/tools_cli.py @@ -164,7 +164,7 @@ def profiling(self, For more details on Profiling tool options, please visit https://docs.nvidia.com/spark-rapids/user-guide/latest/spark-profiling-tool.html#profiling-tool-options """ - eventlogs = Utils.get_value_or_pop(platform, rapids_options, 'e') + eventlogs = Utils.get_value_or_pop(eventlogs, rapids_options, 'e') cluster = Utils.get_value_or_pop(cluster, rapids_options, 'c') platform = Utils.get_value_or_pop(platform, rapids_options, 'p') output_folder = Utils.get_value_or_pop(output_folder, rapids_options, 'o')