lundi 20 avril 2020

profiling dynamic library in linux using perf

I have decision tree classifer class implemented in C++ and I want to profile only C++ shared library of my decision tree class. I am using linux perf tool but I do not want to profile the whole application just the shared library which I have created for decision tree class.

is it possible to generate perf.data for shared library and then get a flame graph?

any help will be highly appreciated in this regards,

Arslan

Aucun commentaire:

Enregistrer un commentaire