rocprofiler icon indicating copy to clipboard operation
rocprofiler copied to clipboard

rocprof behavior with both -d and -i options

Open yoann-heitz opened this issue 4 years ago • 1 comments

When running rocprof command with -d option

rocprof -d traces --hsa-trace my_script

The traces will be put in the following directory with the following architecture:

-traces
    -rpl_<date>_<time>_<id>
        -input_results_<date>_<time>
            -all the .txt traces

However when running the same command but with -i option

rocprof -i input.xml -d traces --hsa-trace my_script

Then the traces will be put in the following directory with the following architecture:

-traces
    -all the .txt traces

In the first case, we can rerun rocprof several times without the risk of overwriting/having a collision with previous traces since other directories with unique ids (based on the time) are created in the given repository and the traces are put in those directories. In the second case, we risk to overwrite previous traces in the ./traces directory. Is it expected behavior?

yoann-heitz avatar Mar 19 '21 13:03 yoann-heitz

Hi @yoann-heitz, apologies for the lack of response, I have confirmed that this behavior is still present as of ROCm 6.2.0. An internal ticket has been created to further investigate/fix this issue. Thanks!

harkgill-amd avatar Aug 07 '24 18:08 harkgill-amd