The diff command streamlines the process of comparing multiple profile
reports by automating the manual comparison of events. It processes the raw profile
data, processed files, or database files to generate a markdown comparison report for
the collected profiles. The generated markdown file includes detailed function data
providing comprehensive insights into the compared profiles.
Furthermore, the diff command can also be used to generate a single profile report by specifying only the base profile path. This simplifies the generation of individual reports, making it more convenient and efficient.
During profile comparison, there is always a single base profile and multiple non-base profiles. Valid comparison results are obtained only for the functions that exist in both the base profile and non-base profiles.
By default, the comparison results are displayed in the source view. In the source view table, information, such as File, Line, Source Code, Address, Instruction, Code Byte, and Events are provided for each function. This comprehensive view enables a detailed analysis of the compared profiles.
Synopsis
AMDuProfCLI diff [--help] [<options>] AMDuProfCLI compare [--help] [<options>]
Common Usages
AMDuProfCLI diff --baseline <base session-dir path> --with <non-base session-dir path> -o
<output-dir>