Ensure sort on rocprof input (#304)

Signed-off-by: colramos-amd <colramos@amd.com>


[ROCm/rocprofiler-compute commit: e538d3ea16]
이 커밋은 다음에 포함됨:
colramos-amd가 2024-03-06 17:05:24 -06:00를 커밋했습니다
1 부모 4585750893
커밋 f2c8a35887
1 파일이 변경됨
+3 -1
+3 -1
파일 보기
@@ -325,8 +325,10 @@ class OmniProfiler_Base:
else:
logging.info("KernelName verbose: " + str(self.__args.kernel_verbose))
input_files = glob.glob(self.get_args().path + "/perfmon/*.txt")
input_files.sort()
# Run profiling on each input file
for fname in glob.glob(self.get_args().path + "/perfmon/*.txt"):
for fname in input_files:
# Kernel filtering (in-place replacement)
if not self.__args.kernel == None:
success, output = capture_subprocess_output(