From 49fe4361b4694a524f473d2721e9cae3a9f1e1b0 Mon Sep 17 00:00:00 2001 From: Aaron Barnes <42706182+barnes88@users.noreply.github.com> Date: Sat, 10 Aug 2024 00:09:22 -0400 Subject: [PATCH] run_hw.py shouldn't overwrite DYNAMIC_KERNEL_LIMIT_END by default (#324) --- util/tracer_nvbit/run_hw_trace.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/util/tracer_nvbit/run_hw_trace.py b/util/tracer_nvbit/run_hw_trace.py index 46043bb85..47e6943e4 100755 --- a/util/tracer_nvbit/run_hw_trace.py +++ b/util/tracer_nvbit/run_hw_trace.py @@ -44,14 +44,14 @@ "--limit_kernel_number", dest="kernel_number", default=-99, - help="Sets a hard limit to the " + "number of traced limits", + help="Sets a hard limit to the number of traced kernels", ) parser.add_option( "-t", "--terminate_upon_limit", dest="terminate_upon_limit", action="store_true", - help="Once the kernel limit is " + "reached, terminate the tracing process", + help="Once the kernel limit is reached, terminate the tracing process", ) (options, args) = parser.parse_args() @@ -131,8 +131,6 @@ else: if options.kernel_number > 0: os.environ["DYNAMIC_KERNEL_LIMIT_END"] = str(options.kernel_number) - else: - os.environ["DYNAMIC_KERNEL_LIMIT_END"] = "0" # first we generate the traces (.trace and kernelslist files) # then, we do post-processing for the traces and generate (.traceg and kernelslist.g files)