otrv4 / libotr-ng

A new implementation of OTR with support for version 4. This is a mirror of https://bugs.otr.im/otrv4/libotr-ng
Other
43 stars 9 forks source link

Correctly profile with GProf #75

Closed claucece closed 6 years ago

claucece commented 6 years ago

GProf is a tool for profiling. It was tried to be introduced on the library on several occasions without any success:

https://github.com/otrv4/libotr-ng/commit/7171804449c39d878478da6bbdc148541fb6d016 https://github.com/otrv4/libotr-ng/commit/45350d19e2b9df57cf33f7efc7c421e084d07d15

We should try to use it (of course, if we want to have profiling).

olabini commented 6 years ago

What does this story mean?

claucece commented 6 years ago

This story is part of LibOTRv4 API project, for which I haven't putted the description as, as said, we are working over Full OTRv4 flow #2 project. I'll update the description right now. Thanks for notifying.

claucece commented 6 years ago

@olabini The description has been updated ;)

olabini commented 6 years ago

This works fine now. In order to try it, just do ./configure --enable-gprof and then make profile

claucece commented 6 years ago

Thanks @olabini This is just a 'won't work for MAC' ;)

claucece commented 6 years ago

So, yeah, just to add up to this: apparently, there is no way of installing gprof on MAC as right now.

olabini commented 6 years ago

=( that's sadface.