curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Fewer mallocs is better, episode #47

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 3 Feb 2022 17:52:40 -0800

On Thu, Feb 03, 2022 at 08:35:13PM -0500, Timothe Litt via curl-library wrote:
> On 03-Feb-22 20:09, Henrik Holst via curl-library wrote:
>> the traces only shows that strlen was called, not on which string it was
>> called so the digging is a bit time consuming).
> Set on-the-fly breakpoints where strlen is called, and display the arguments. 

Also, ltrace can be compiled to enable the --where N option that shows a
backtrace N levels deep for each traced function.
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-02-04