ROCm / rocprofiler

ROC profiler library. Profiling with perf-counters and derived metrics.
https://rocm.docs.amd.com/projects/rocprofiler/en/latest/
Other
116 stars 44 forks source link

Interface proposal : pull request 1 #53

Open yoann-heitz opened 2 years ago

yoann-heitz commented 2 years ago

This is the first pull request for the proposal for a plugin interface for the rocprof command. It allows fine-grained control to work on several APIs at a time.

Warning : When using fine-grained control, only some functions (those specified by the user) will be traced. It may lead to crashes at the post-processing step (conversion from text to JSON/SQLITE) since the conversion scripts require data from the payloads of events triggered by specific functions and users may disable the callbacks for these functions. However, the text files obtained with the -d option will not be corrupted and contain only the events specified by the user.