intel / pti-gpu

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily
MIT License
198 stars 52 forks source link

prof_options.h: add the pid and rank at the position of last "." in f… #31

Closed guoyejun closed 1 year ago

guoyejun commented 1 year ago

…ilename

the current method of first "." in filename will crash when we give a filename with path, for example: -o ./prof.log or -o /your.path/prof.log

guoyejun commented 1 year ago

@zma2 could you help to review this PR? thanks.

guoyejun commented 1 year ago

any comment? thanks.