A simple profiller that automatically instruments all the Odin functions of a diretory and sub diretories or a specific file name that is part of the source code path.
- The major feature of the ota_profiller over the ot_profiller is that it automatically attaches to all the running functions of the program code that have a sub string in the path that is given and that are not from the ota_profiller lib file.
- Both profiller can have sub regions os profilling inside each function, but those have to be manually added.
- This small lib is to be embedded on a program and stay there enabled or disabled.
- It can be enabled or disabled with a very small hit on the overal performance.
- It generates 2 reports:
- profiller_report.txt
- profiller_report.html ( this one has also a kind of flame graph in it )
- It was developed and tested on Linux.
- Note: There is a small multithreaded test example of its usage.
make
./ota_prof
MIT Open Source license
Best regards,
Joao Carvalho
